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

How will fetch last 5 rows from table in db2

Answer Posted / vaneesh khurana

Hi Harsha,

There is nothing to do with multiple of 5.
Simply declare the array of occours of 5 keep on filling
it when 6th record comes start over writing it from 1st.

At last we only left with the last 5 fetched rows.

Vaneesh Khurana

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 various data types available in db2?

1145


What is difference between alias and synonym in db2?

1196


What is a db2 cursor?

1108


Is it possible using max on a char column?

1192


Which command is used to connect to a database in DB2 ? Give the Syntax.

1150


How do I delete a table in database?

1077


What is with ur in db2?

1384


Where can you declare a cursor in a cobol-db2 program?

1141


What is blu acceleration in db2?

1128


What are the different types of base tables?

1163


Define sqlca.

1172


What are catalog tables in db2?

1106


What is the physical storage length of time data type?

1176


What is collection in db2 bind?

1061


What is meant by explain?

1194