No, this is a SQL plus command and not an SQL command.  You will have to
open the file yourself from the script and parse it while processing it with
DBI.

Another way to do it, is just open a pipe to sqlplus and run it from there.

Ilya

-----Original Message-----
From: Jones Robert Contr TTMS Keesler
To: [EMAIL PROTECTED]
Sent: 1/11/02 10:54 AM
Subject: Oracle @name.sql Statements



     Is there a way in DBI/DBD to handle and deal with @name.sql
statements?

     $xth=$dbh->do("@name.sql"); does not work.

     We're on an extremely tight deadline of today and I just got this.

Robert E. Jones, BSCS, BSP
81 CS/SCK, Keesler AFB

Reply via email to