can we give the identity for existing column of the table?
(already table contains 10(1-10) unique randam records)

Answer Posted / pravati

ALTER TABLE Tablename
ADD oldcolumnname newcolumnname

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 dml command?

711


Do you know what is normalization of database? What are its benefits?

730


What does null mean?

755


What are the basic features of a trigger in ms sql server?

791


What is logon trigger?

714






Mention the differences between local and global temporary tables.

736


What are date and time data types in ms sql server?

727


What is recompile sql server?

750


What are cursors? Explain different types of cursors. What are the disadvantages of cursors? How can you avoid cursors?

845


What are points to remember while using the fillfactor argument?

712


what stored procedure would you use to view lock information? : Sql server administration

743


Explain system scalar functions?

745


What are the differences between substr and charindex in sql server.

690


What is PROJECTION Operation?

764


How to set database to be read_only in ms sql server?

720