Sql Like Clause in DataStage EE

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
pimmit22043
Participant
Posts: 38
Joined: Thu Jul 26, 2007 6:11 am

Sql Like Clause in DataStage EE

Post by pimmit22043 »

Hi

I have job which i need to find values for a column like '%range%'
how do i get all the values like '%range%'

Thanks alot for your time.
-RK
Minhajuddin
Participant
Posts: 467
Joined: Tue Mar 20, 2007 6:36 am
Location: Chennai
Contact:

Post by Minhajuddin »

A simple search would have given you many posts which discuss about this......

you can use Index, Count or Dcount to implement this..
Minhajuddin

<a href="http://feeds.feedburner.com/~r/MyExperi ... ~6/2"><img src="http://feeds.feedburner.com/MyExperienc ... lrow.3.gif" alt="My experiences with this DLROW" border="0"></a>
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

What's the source of data? If the source is accessed via SQL, all you need to do is to incorporate an appropriate restriction in a WHERE clause.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
pimmit22043
Participant
Posts: 38
Joined: Thu Jul 26, 2007 6:11 am

how do i use the dcount or count or index to

Post by pimmit22043 »

Hi

this is the values i need like '%range%'

how do i use the count or dcount or index to look for the above values.


Thanks for your reply.
-RK
bgs_vb
Premium Member
Premium Member
Posts: 79
Joined: Mon Jan 02, 2006 5:51 am

Post by bgs_vb »

Hi RK,

If you are using DRS Stage then you have a where tab in which you can write your conditions.

Thanks,
bgs_vb
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

Use a constraint, a simple < or > will bring the range effect.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
Post Reply