Hi,
I am passing a variable to a SQL Server store procedure. I am getting a syntax error at the EX statment. What could be the reason?
The code is the following
SQL SQLMSS
-DEFAULT &SESSIONGUID = 40709297-9D5F-4D26-BF76-9159F0D664D9
EX GOA01_SQL.dbo.spgoa_GetSummaryDataA '&SESSIONGUID',0;
TABLE FILE SQLOUT
PRINT *
END
Thanks in advance
I am passing a variable to a SQL Server store procedure. I am getting a syntax error at the EX statment. What could be the reason?
The code is the following
SQL SQLMSS
-DEFAULT &SESSIONGUID = 40709297-9D5F-4D26-BF76-9159F0D664D9
EX GOA01_SQL.dbo.spgoa_GetSummaryDataA '&SESSIONGUID',0;
TABLE FILE SQLOUT
PRINT *
END
Thanks in advance