Top "Stored-procedures" questions

A subroutine available to applications accessing a relational database system.

Programmatically retrieve SQL Server stored procedure source that is identical to the source returned by the SQL Server Management Studio gui?

Any pointers on how I can programmatically get exactly the identical stored procedure source from SQL Server 2005, as when I …

sql-server stored-procedures smo
How to debug a stored procedure in Toad?

I have Oracle 10g installed and there is a package which has a number of cursors and procedures, how do …

oracle debugging stored-procedures toad
Stored Procedure parameter default value - is this a constant or a variable

Here is my code: USE [xxx] GO SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE PROCEDURE [dbo].[…

sql stored-procedures sql-server-2008-r2
MySQL stored procedure vs function, which would I use when?

I'm looking at MySQL stored procedures and function. What is the real difference? They seem to be similar, but a …

mysql stored-procedures sql-function
Mysql - How to quit/exit from stored procedure

I have very simple question but i did't get any simple code to exit from SP using Mysql. Can anyone …

mysql sql stored-procedures
Is it possible to have a default parameter for a mysql stored procedure?

I have googled this and keep coming up with "No it is not possible" but these posts were dated 2005-2007 …

sql mysql stored-procedures default-value
MySQL : transaction within a stored procedure

The basic structure of my stored procedure is, BEGIN .. Declare statements .. START TRANSACTION; .. Query 1 .. .. Query 2 .. .. Query 3 .. COMMIT; END MySQL version: 5.1.61…

mysql sql stored-procedures transactions
How to compare values which may both be null in T-SQL

I want to make sure I'm not inserting a duplicate row into my table (e.g. only primary key different). …

sql sql-server tsql stored-procedures
How do you call a Stored Procedure in SSIS?

I am trying to create an SSIS package that queries data from a table, and calls a stored procedure in …

sql-server sql-server-2005 stored-procedures ssis parameters
How to generate a new Guid in stored procedure?

I currently have a stored procedure in which I want to insert new rows into a table. insert into cars (…

sql sql-server stored-procedures