Re: Automation For Oracle DDL scripts (90 Views)
Reply
Occasional Contributor
Patni INOC
Posts: 12
Registered: ‎06-21-2004
Message 1 of 2 (118 Views)

Automation For Oracle DDL scripts

Hi All,

 

We are working on one of the flows which says read the script and work accordingly and wait to see if we get any exceptions. In that client have ask us to read the script and find out if drop and truncate, if it exist then it would fail and also if we get any exception it should fail .

Can u suggest which operation can help us in reading the script,

and also how can we define conditions to read executions?
 
Thanks to all in advance.
 
KB.

Trusted Contributor
SB_RRK
Posts: 351
Registered: ‎11-23-2011
Message 2 of 2 (90 Views)

Re: Automation For Oracle DDL scripts

You requirement is confusing.......

 

Do you want to read the content of a file & match a command/word in that file.

If yes, then you have to write a script to read the content of the file, once the expected word (DROP, TRUNCATE, etc.) is matched then output "success" else "fail".

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.