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

How to add the custom code in Report?

99


Difference between LEN() and DATALENGTH() in sql server ?

592


What does normalization do to data?

540


explain databases and sql server databases architecture? : Sql server database administration

517


Write a sql query to delete duplicate records from a table called table1

582






How optimize sql query with multiple joins in sql server?

413


What are data regions?

90


Once setting replication, is it potential to own a publisher as sixty four bit sql server and distributor or subscribers as a thirty two bit sql server?

543


Explain different types of self contained sub query?

543


SQL Server Architecture ?

1923


Can group by be used without aggregate functions?

477


Can sub report data source be different from that of the parent report?

105


What are the differences between clustered and non-clustered index?

532


Tell me what is de-normalization and what are some of the examples of it?

565


What is the difference between DataRow.Delete() and DataRow.Remove()?

729