Viewing 2 posts - 1 through 2 (of 2 total)
sorry, the value of @@error is 0, my mistake
September 3, 2009 at 1:56 am
#1048559
The correct answer is 11.
EXECUTE sp_rename N'fakename', N'fakename2', 'OBJECT'
"Msg 15248, Level 11, State 1, Procedure sp_rename, Line 321
Either the parameter @objname is ambiguous or the claimed @objtype (OBJECT) is wrong."
September 3, 2009 at 1:53 am
#1048557