Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)

  • RE: @@Error and sp_rename

    sorry, the value of @@error is 0, my mistake

  • RE: @@Error and sp_rename

    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."

Viewing 2 posts - 1 through 2 (of 2 total)