Hi,
I searched in DSXchange posts and didn't find matching posts, so I'm writing new topic.
I designed an job in DataStage 8.7. This job has sequential file -> transformer -> Oracle connector. While loading to target stage I'm able to write user defined SQL or SQL built thru the SQL builder option. I feel that the SQL Builder is not handy.
I like old style auto generated SQL method based on columns. In the enterprise stage there is an option to auto generate SQL. Do we get similar kind of stuff in connector stage? In one click we would get insert/update statements based on columns.
Thanks in advance.
Auto-generate SQL in a Connector stage
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 45
- Joined: Sat May 08, 2010 11:07 pm
- Location: banglore
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Yes there is, and yes you do. The very first property on the link (Usage grid) in a Connector stage type is Generate SQL, and it takes Yes or No as its value.
If you set it to Yes you must provide the Table Name (of course).
If you set it to No you must provide an SQL statement.
If you set it to Yes you must provide the Table Name (of course).
If you set it to No you must provide an SQL statement.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 45
- Joined: Sat May 08, 2010 11:07 pm
- Location: banglore