triggers

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
vijaykumar
Participant
Posts: 228
Joined: Tue Oct 03, 2006 7:08 pm

triggers

Post by vijaykumar »

Hi,
I want to dump triggers from oracle to MYSQL.I dumped data from oracle to MYSQL.Can we dump triggers from my source database(oracle) to target database(MYSQL).

I know that datastage is not used for that, but just curious to know.

cheers;
vijay
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

'dump'? Trigger != data so you really can't just export from one database and import into another. I would think some manual 'translation' would be in order to get from the Oracle PL/SQL code to whatever MySQL uses for their triggers.
-craig

"You can never have too many knives" -- Logan Nine Fingers
narasimha
Charter Member
Charter Member
Posts: 1236
Joined: Fri Oct 22, 2004 8:59 am
Location: Staten Island, NY

Post by narasimha »

You are right, you should not be using Datastage for this.

Also you cannot dump triggers like you dump data.
You need to extract the DML, from Oracle for creating the triggers,
modify if required to match with MYSQL standards and run it there.
Narasimha Kade

Finding answers is simple, all you need to do is come up with the correct questions.
Post Reply