
SQL 2000 User Defined Function with Dynamic SQL
I continue to get an error "Incorrect Syntax near the keyword Execute" on
the command of this Create Function command. I have tried many ways to get
around the error and have had no success. Can anyone enlighten me on the
problem?
My Thanks,
Chris
varchar(50) )
RETURNS
varchar(8000) AS
BEGIN
'ID = ''' +
END