Oracle Connector: Generated SQL + Where clause

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
MrBlack
Participant
Posts: 125
Joined: Wed Aug 08, 2012 8:57 am

Oracle Connector: Generated SQL + Where clause

Post by MrBlack »

So this might be a stupid question, but I'm checking out the new Oracle Connector after a datstage stage version upgrade. In the old Oracle OCI stage you could chose generate SQL and also specify a WHERE clause. This new oracle stage doesn't seem to have the same functionality?!? There's a lot that is different so either they've hidden it or it's not there anymore.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

It's not there, but you can append it to the Table Name field. The content of the Table Name field becomes the FROM clause of the generated SQL. Just make sure that the WHERE clause (and GROUP BY, HAVING and ORDER BY if you wish) occur in the correct order and after anything that needs to end up in the FROM 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.
Post Reply