Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

stored procedure sql

-- without parameters; create
CREATE [OR ALTER] PROCEDURE <pname>
AS
BEGIN
<PROCEDURE BODY/ STATEMENTS>
END

-- call procedure
EXECUTE / EXEC <pname>;
(OR)
EXECUTE / EXEC <pname> VALUE / (S)
 
PREVIOUS NEXT
Tagged: #stored #procedure #sql
ADD COMMENT
Topic
Name
2+8 =