rename a table
From: TJS (nospam_at_here.com)
Date: 06/08/04
- Next message: Aaron [SQL Server MVP]: "Re: Writing good formatted SQL"
- Previous message: Mingqing Cheng [MSFT]: "Re: Proper procedure to update live db with mods made to dev db"
- Next in thread: Aaron [SQL Server MVP]: "Re: rename a table"
- Reply: Aaron [SQL Server MVP]: "Re: rename a table"
- Reply: Hari: "Re: rename a table"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 7 Jun 2004 20:54:04 -0700
I am trying to rename a table from a query by this statement
Execute sp_rename 'SubMenuItem', 'Portal_MenuSubItems'
but it gives me an error message :
The following error occured while executing the query:
Server: Msg 15225, Level 11, State 1, Line 273
No item by the name of 'SubMenuItem' could be found in the current database
'Portal', given that @itemtype was input as '(null)'.
The name is correct...
what @itemtype is it looking for ????????
- Next message: Aaron [SQL Server MVP]: "Re: Writing good formatted SQL"
- Previous message: Mingqing Cheng [MSFT]: "Re: Proper procedure to update live db with mods made to dev db"
- Next in thread: Aaron [SQL Server MVP]: "Re: rename a table"
- Reply: Aaron [SQL Server MVP]: "Re: rename a table"
- Reply: Hari: "Re: rename a table"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|