📜  创建函数语法 sql server - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:06.554000             🧑  作者: Mango

代码示例1
CREATE FUNCTION Fact (@parameter datatype)
RETURNS returndatatype
AS
BEGIN
--sql statements
    RETURN --whatever you want to return but of returndatatype from above
END