Close command in OCI Oracle

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
bart12872
Participant
Posts: 82
Joined: Fri Jan 19, 2007 5:38 pm

Close command in OCI Oracle

Post by bart12872 »

Hi,

I have a stage Oracle witch create a table in replace mode. I want to create 2 index on this table after it was created.

I succeed in create one index in Close command but no more.

Is it possible to do that.
Remark : I don't want to write the Create table SQL statement, just index statements.

thanks,
Martin.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Do you want to do this many times or just once?

If many times, why not assemble the CREATE INDEX statements into a stored procedure and execute that?

Otherwise, how have you attempted to execute multiple statements? Have you tried terminating the first one with a double semi-colon (";;")?
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