Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What are the aggregate and scalar functions?

1137


What is similarity and difference between truncate and delete in sql?

1162


How does stuff differ from the replace function?

1064


after migrating the dts packg to ssis by using migrtn wizrd in 2005. iam not able to open ssis pack and getting error. what r those errors? how to resolve?

2142


explain different levels of normalization? : Sql server database administration

1051


explain declarative management framework (dmf) in sql server 2008?

1044


What is a group function explain with an example?

1040


What languages bi uses to achieve the goal?

1052


What is RAID? What are the different types of RAID configurations?

1184


What is an identity?

1079


What is data compression? : sql server database administration

1018


Retrieve the unique rows from table without using UNIQUE and DISTINCT keywords.

1052


What are the basic functions for master, msdb, model, tempdb and resource databases?

1037


which table keeps the locking information? : Sql server administration

1140


What are secondary xml indexes?

1077