Sorry about.  I meant $dbh->do().  I am trying to get the error message
for Ron now.
 
Peter Loo
Wolters Kluwer Health
(602) 381-9553

-----Original Message-----
From: Garrett, Philip (MAN-Corporate)
[mailto:[EMAIL PROTECTED] 
Sent: Friday, June 30, 2006 12:57 PM
To: DBI-Users
Subject: RE: sth->do()

Loo, Peter # PHX wrote:
> Hi All,
> 
> I need to issue commands such as ("CREATE TABLE", "DROP TABLE", "ALTER

> TABLE", etc...), however, whenever I use sth->do($sqlString), I get an

> error.  I understand that using sth->do(), it goes through the process

> of prepare and execute.  With that, it is expecting a returned value.

You should be using $dbh->do(), not $sth->do().

Philip


This E-mail message is for the sole use of the intended recipient(s) and
may contain confidential and privileged information.  Any unauthorized
review, use, disclosure or distribution is prohibited.  If you are not
the intended recipient, please contact the sender by reply E-mail, and
destroy all copies of the original message.

Reply via email to