Answers for "create function in microsoft sql server"

SQL
0

create function in microsoft sql server

CREATE FUNCTION dbo.StripWWWandCom (@input VARCHAR(250))
RETURNS VARCHAR(250)
AS BEGIN
    DECLARE @Work VARCHAR(250)

    SET @Work = @Input

    SET @Work = REPLACE(@Work, 'www.', '')
    SET @Work = REPLACE(@Work, '.com', '')

    RETURN @work
END
Posted by: Guest on September-09-2021

Code answers related to "create function in microsoft sql server"

Code answers related to "SQL"

Browse Popular Code Answers by Language