Has anyone else seen this?
MSSQL 7 with sp3
We tried to pull off a stored procedure from one database and reload it on another (the stored procedure uses aliases in some update/select statements).
The procedure compiles fine on the normal database but it will not compile on any other database without this error.
Server: Msg 1032, Level 15, State 1, Line 4
Cannot use the column prefix 'CH'. This must match the object in the UPDATE clause 'Table1'.
I've hunted through the different database options and they're all exactly the same but why won't it allow me to use aliases in one database but will in another?
Regards,
JJayUK
MSSQL 7 with sp3
We tried to pull off a stored procedure from one database and reload it on another (the stored procedure uses aliases in some update/select statements).
The procedure compiles fine on the normal database but it will not compile on any other database without this error.
Server: Msg 1032, Level 15, State 1, Line 4
Cannot use the column prefix 'CH'. This must match the object in the UPDATE clause 'Table1'.
I've hunted through the different database options and they're all exactly the same but why won't it allow me to use aliases in one database but will in another?
Regards,
JJayUK