Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
Lincolnburrows
Yak Posting Veteran
52 Posts |
Posted - 2014-09-12 : 05:56:10
|
I am trying to execute the following to call a DB2 stored procedure from SQL Server 2000.DECLARE @ICVR_CLAIM_NBR VARCHAR(19) SET @ICVR_CLAIM_NBR= 'XXXXXXXXXXX' EXEC('call PPSPCOL.X2COVSEL (?)', @ICVR_CLAIM_NBR) AT [EXCEEDPP]and I get the following errorIncorrect syntax near ','.The above code works comfortably in SQL Server 2008. Why? |
|
gbritton
Master Smack Fu Yak Hacker
2780 Posts |
Posted - 2014-09-12 : 08:06:04
|
"The above code works comfortably in SQL Server 2008. Why?"SQL SERVER 2008 is light-years ahead of SQL Server 2000. That's why |
|
|
|
|
|