OLEDB Stage Table Creation on SQLServer 2000 target

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
danjm
Participant
Posts: 34
Joined: Tue Sep 09, 2003 8:44 am
Location: Canada
Contact:

OLEDB Stage Table Creation on SQLServer 2000 target

Post by danjm »

Good day everyone,
Is there any way to have an OLEDB stage CREATE a table in the target database where you wish to store info?
I've looked in the documenation and found nothing and the stage properties all seem to be describing update actions only.
Thanks in advance for any assistance/information you can offer...
Have a good day all.
Dan Marshall
Alberta Education
Edmonton, AB
roy
Participant
Posts: 2598
Joined: Wed Jul 30, 2003 2:05 am
Location: Israel

Post by roy »

Hi,
If I'm not mistaken with OLEDB you have the before/after sql.
in the before section you need to perform your sql.
consult you SQL Server DBA as to the manor in which you'll create the table, since there are some issues about the file group you place the table in and more.
this might also include some syntax that checks for table existance as well, prior to the create table.

IHTH
Roy R.
Time is money but when you don't have money time is all you can afford.

Search before posting:)

Join the DataStagers team effort at:
http://www.worldcommunitygrid.org
Image
Post Reply