Microsoft.NET 2.0 Question:
Explain How to rename a table using sql queries?
Answer:
exec sp_rename 'oldTableName' , 'newTableName'
Use server side for secure validation. Use client side for fast,user friendly validations.
Execute sp_rename 'oldtablename', 'newtableaname'
sp_rename OldTableName, NewTableName
Use server side for secure validation. Use client side for fast,user friendly validations.
Execute sp_rename 'oldtablename', 'newtableaname'
sp_rename OldTableName, NewTableName