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...

In my table having 100 Rec. How can I delete the 7th row??
(we don't know what is data inside the table)

Answer Posted / tim v

Are we talking the 7th row as sorted by key or 7th physical row?   Since the rows aren't normally physically stored in order, I'd have to go with the latter.  

Everyone seems to assume there is a PK on the table, but yet we don't know anything about the data...  Again, this points to 7th physical row.

I'd go with the delete where RID(table) = 7 option since this assumes the 7th row inserted based on position and not value.

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 retrieve rows from a db2 table in embedded sql?

1444


Following a db2 update statement, what is the quickest way to compute the total number of updated rows?

1136


What is the function of logging in the db2 database?

1172


List out the buffer pools in db2

1128


What are the full forms of spufi and dclgen and why are they used?

1136


How can record locking be achieved in those DB2 versions which do not support it?

1128


What is a plan and package in db2?

1153


When do you specify the isolation level?

1072


What is meant by union and union all?

1051


What is the purpose of rollback and commit?

1281


How do I connect my db2 database to ibm?

1085


What is null in db2?

1068


What is multi row fetch in db2?

1102


Suppose pgm A calling Pgm B .Pgm B has some Db2 program. at the time of compilation should plan and package will be created for both A and B or only B? What is the concept?

8380


What are packages in db2?

1074