Dave,

Many thanks for the reply. I have coded this using separate statements in
the SQL string as you suggest. The examples show multiple statements 
but it appears that this is not possible.

Regards,
Colin

-----Original Message-----
From: Dave K [mailto:[EMAIL PROTECTED]]
Sent: 07 February 2003 13:50
To: [EMAIL PROTECTED]
Subject: Re: DBD::Oracle multiple SQL statements - PL/SQL example


Colin,

When I try to test this the following error from 'plsql_errstr' indicates
that it is not possible to have multiple statements in a SQL string. The
PL/SQL statements are not being treated individually.
No. Your package spec is trying to contain a package body.

Errors for PACKAGE PLSQL_EXAMPLE:
6.6: PLS-00103: Encountered the symbol "CREATE"

Because your package specification needs to be seperate from the package
body.

Review the syntax for package creation. If you have Procedure Builder on
your system, run the script then go to procedure builder and look at the
result.
Good luck.



Visit our website at http://www.ubswarburg.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.

Reply via email to