ALTER PROCEDURE [dbo].[ServerRefUpdate]
@str varchar(999),@server varchar(50)
AS
BEGIN
set @str = 'Update [dbo].[Lists] SET ASREFSER='' + @server + '' where isnull(ASREFSER,'')='+''''
exec ( @str )
Please help me resolve the following error message
Msg 102, Level 15, State 1, Line 1
Incorrect syntax near ')='.
@str varchar(999),@server varchar(50)
AS
BEGIN
set @str = 'Update [dbo].[Lists] SET ASREFSER='' + @server + '' where isnull(ASREFSER,'')='+''''
exec ( @str )
Please help me resolve the following error message
Msg 102, Level 15, State 1, Line 1
Incorrect syntax near ')='.
Last edited: