Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Problem Inserting into Sql Server Database

by trs80 (Priest)
on Aug 22, 2002 at 22:56 UTC ( #192206=note: print w/replies, xml ) Need Help??


in reply to Problem Inserting into Sql Server Database

Two questions:
1. Are you sending real values in place of the ones you have in the execute? If not it is most likely a type mismatch between the fields and the data you are supplying.

2. Where does the $SQL->execute come from? If that is connected with the above insert, I would imagine it would be something like:
my $rowCount = $insertHandle->commit();
getting rid of the $SQL->execute all together, unless it is a separate command that isn't included in the sample you provided. Regardless if you have to commit a change you need to do it on the correct database handle at some point I would assume.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://192206]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2020-07-08 15:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?