1

Closed

Multi-part names with Server or Database specifier Error

description

In a stored procedure that I'm trying to migrate there is some sample code in a comments block (no idea why) but it's giving me the Multi-part names error.
 
It's happening because the sample code has something like this:
"cmd.Parameters.Append"
I think anything inside a comment block should be ignored.
Closed Oct 13, 2010 at 10:14 PM by ghuey
Fixed code to ignore comments in TSQL

comments