How can i change the column name.

Answers were Sorted based on User's Feedback



How can i change the column name...

Answer / vikneswaran

cannot change column name

but can change size of the data type

Is This Answer Correct ?    1 Yes 4 No

How can i change the column name...

Answer / desh deepak

sp_rename 'tablename.oldcolumnname',tablenamename.newcolumnn
ame

Is This Answer Correct ?    0 Yes 4 No

How can i change the column name...

Answer / kshirsagar sambhaji

ALTER TABLE table_name
RENAME COLUMN old_name to new_name;

Is This Answer Correct ?    3 Yes 11 No

Post New Answer

More SQL Server Interview Questions

What is normalization? Explain different forms of normalization?

0 Answers  


What are user defined datatypes and when you should go for them?

1 Answers  


Can two tables share the same primary key?

0 Answers  


Can we rollback records deleted by a truncate statement?

3 Answers   CarrizalSoft Technologies, United Healthcare,


what is nonclustered index

0 Answers  






What is the most common type of join?

0 Answers  


How to create a Master database in SQL server ?

0 Answers   MCN Solutions,


What is the use of sign function?

0 Answers  


What are a database and a data warehouse?

0 Answers  


Can a stored procedure call itself or recursive stored procedure? How much level sp nesting is possible?

0 Answers  


Where the sql logs gets stored? : sql server database administration

0 Answers  


Do you know what are various aggregate functions that are available?

0 Answers  


Categories