Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

function in sql

CREATE [OR ALTER] FUNCTION <FNAME> (@<PARAMETER NAME1><DATATYPE>[SIZE]
RETURNS <return PARAMETER / ATTRIBUTE /VARIABLE DATATYPE>
AS
BEGIN
<FUNCTION BODY / STATEMENTS>
RETURN <return PARAMETER/ATTRIBUTE/VARIABLE NAME>
END
 
PREVIOUS NEXT
Tagged: #function #sql
ADD COMMENT
Topic
Name
4+7 =