I want create a Function as follow,
[code language="sql"]
CREATE function [dbo].[GetSmsId]()
returns INT as
BEGIN
---- Create the variables for the random number generation
[code language="sql"]
CREATE function [dbo].[GetSmsId]()
returns INT as
BEGIN
---- Create the variables for the random number generation