|
|
| Perl: the Markov chain saw | |
| PerlMonks |
Re^3: how to import sql file into oracle database.by agianni (Hermit) |
| on Nov 13, 2007 at 21:07 UTC ( #650600=note: print w/ replies, xml ) | Need Help?? |
|
Here's your problem:
There are a couple of things wrong. First, your code is trying to execute the SQL one line at a time. So the first SQL command you are running is:
which generates the error you're seeing. jZed's advice on splitting on semi-colons and re-joining should work. Also, you're naming your variable for the loop but then you are referencing $_, which may or may not work correctly.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||