Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Can STDIN data be passed to the DBI

by Ronnie (Scribe)
on Apr 17, 2008 at 11:13 UTC ( [id://681113]=perlquestion: print w/replies, xml ) Need Help??

Ronnie has asked for the wisdom of the Perl Monks concerning the following question:

Thanks to everyone who helped with my initial Perl/Oracle cloning script problem but I'm afraid I've got one more. I'm at the final stage of the clone and need to run the following command via the DBI -
RECOVER DATABASE USING BACKUP CONTROLFILE UNTIL CANCEL

Unfortunately this command requires a response (cancel). It's not something I am able to test at the moment due to system constraints (shortage of disc space and the database owners don't want any of their systems cloned just yet) Is it just a case of supplying "cancel" to the DBI prepare/execute phases of a DBI connection? I'm guessing that it's not that simple!
Thanks

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://681113]
Approved by moritz
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (7)
As of 2024-04-19 08:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found