How can i change the column name.

Answer Posted / naren

update tablename set newcolumn name where old column name

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the security model used in sql server 2005?

514


What are constraints?

592


What is open database communication (odbc)?

573


How is sql used in sql server?

505


In my application I have a process which picks the scanned files (tif format) from a shared location and it links to application and shown on it.The actuall issue is that my process picks the file before it is completly written or scanned which results in displaying few parts of the image or incomplete image.I need to check if the file is not completly scanned or written then do not link it to application.Please help if any body tell me that how can i check that file is in written phase or locked through DTS.thanking you in advance

1561






How to use order by with union operators in ms sql server?

577


When do you think a developer should use sql server-based cursors?

524


How to return the date part only from a sql server datetime datatype?

583


What is openxml in sql server?

622


Explain the commands in sql server?

554


What is a mixed extent?

595


How to change the system date and time from SQL Plus Terminal ?

689


Can you give me some DBCC command options?(Database consistency check) - DBCC CHECKDB - Ensures that tables in the db and the indexes are correctly linked.and DBCC CHECKALLOC - To check that all pages in a db are correctly allocated. DBCC SQLPERF - It gives report on current usage of transaction log in percentage. DBCC CHECKFILEGROUP - Checks all tables file group for any damage.

2035


What are the different sql server versions?

523


How to rebuild all indexes on a single table?

593