INSERT option in ORACLE Enterprise Stage
Moderators: chulett, rschirm, roy
INSERT option in ORACLE Enterprise Stage
was wondering if anyone can give an insight if there is an INSERT option in the ORACLE Enterprise stage as a WRITE method....
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 3593
- Joined: Thu Jan 23, 2003 5:25 pm
- Location: Australia, Melbourne
- Contact:
You need to choose the Upsert method, then copy the Update statement into the clipboard and change it to an Update Only method and then paste the Insert statement into the Update field. There is no Insert only method in this stage so you need to trick it. I guess they expected insert only streams to use the load functions rather than inserts. This is fixed in version 8.1 where you can use the Oracle Connector stage to define insert and update statements more easily and with the connector migration tool that lets you convert enterprise stages to connector stages automatically.
Certus Solutions
Blog: Tooling Around in the InfoSphere
Twitter: @vmcburney
LinkedIn:Vincent McBurney LinkedIn
Blog: Tooling Around in the InfoSphere
Twitter: @vmcburney
LinkedIn:Vincent McBurney LinkedIn
Thanks Man!!!vmcburney wrote:You need to choose the Upsert method, then copy the Update statement into the clipboard and change it to an Update Only method and then paste the Insert statement into the Update field. There is no Insert only method in this stage so you need to trick it. I guess they expected insert only streams to use the load functions rather than inserts. This is fixed in version 8.1 where you can use the Oracle Connector stage to define insert and update statements more easily and with the connector migration tool that lets you convert enterprise stages to connector stages automatically.