How can i change the column name.
Answer Posted / harsh v m
Sonia, clear your doubt here.
AS keyword is used for aliasing some existing column name
for our convenience.But the column name doesn't change @
database.
But incase of renaming a column the change is reflected @
database n it's usually done if we wish changing property
of a particular column.
sp_rename 'tablename.oldcolumnname','newcolumnname'->This
actually works out for Sql 2000.ALTER TABLE key doesn't
help.
Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is the difference between substr and charindex in the sql server?
What is the maximum size per database for sql server express?
What is sql server database?
What is rank function?
Can you get second highest salary from the table?
List layers of abstraction microsoft architectured to provide relational db through cloud platform ?
How adventureworkslt tables are related?
What is serializable?
Explain the concept of recursive stored procedure.
How to delete duplicate rows in sql server?
Describe the functionalities that views support.
What is acid mean in sql server?
Do you know what is sql service broker?
Do you know what is a linked server in sql server?
What is the default sql server instance name?