processing rows

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
just4u_sharath
Premium Member
Premium Member
Posts: 236
Joined: Sun Apr 01, 2007 7:41 am
Location: Michigan

processing rows

Post by just4u_sharath »

I have some number of rows. I dont know how many rows i will get from the table. But on the available data i should make some changes leaving the first and last record. I should transform the data which is between the 1st row and last row. How can i accomplish this.
keshav0307
Premium Member
Premium Member
Posts: 783
Joined: Mon Jan 16, 2006 10:17 pm
Location: Sydney, Australia

Post by keshav0307 »

write user defined query for not selecting the 1st and last row in the table
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

What precisely do you mean by "first" and "last" in this context? The order in which rows are stored in database tables is under control of the database engine, not of the user, and therefore the terms "first" and "last" don't really have any meaning.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply