here id col have primary key and identity
id name
1 a
2 b
3 c
4 d
delete 2nd row then o/p will be
id name
1 a
3 c
4 d
next inssert 2nd row and i want o/p will be
id name
1 a
2 e
3 c
4 d
Answer Posted / boby
insert into <table_name>(id,name) values(2,'e')ORDER BY ID
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the purpose of grouping data in a report?
Explain syntax for disabling triggers?
Does a full backup include transaction log?
Can a database be shrunk with users active?
What is user defined datatypes and when you should go for them?
What is SubQuery in SQL Server 2008
How will you make an attribute not process? : sql server analysis services, ssas
What are basics of policy management?
What Is Rdbms?
Please explain what is “asynchronous” communication in sql server service broker?
List some advantages and disadvantages of stored procedure?
Define inner join in sql server joins?
What is the difference between commit and rollback?
What is the default Port No on which SQL Server listens?
What's new in sql management studio for sql server? : sql server management studio