How to "Change column name" in Sql server 2008


Ans :

1. sp_rename 'Tbl_Enquiry.[old_column_name]','New_column_name' (select this line and run (f5))

2. sp_RENAME 'Table_First.Name', 'NameChange' , 'COLUMN'.

Comments

Popular posts from this blog

Calculate Mortgage in c# using console application

Tree view in winforms using c#