Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Re: Sql problem in Win32::ODBC

by fletcher_the_dog (Friar)
on Aug 07, 2003 at 18:05 UTC ( [id://281981]=note: print w/replies, xml ) Need Help??


in reply to Re: Sql problem in Win32::ODBC
in thread Sql problem in Win32::ODBC

Well, it turns out it was a permissions problem. It seems to work fine now. Thanks!

Replies are listed 'Best First'.
Re: Re: Re: Sql problem in Win32::ODBC
by monktim (Friar) on Aug 07, 2003 at 18:33 UTC
    Great! Database object permissions are highly overlooked problems when used with Perl. OBDC's error messages are painted with a pretty broad stroke so they're not easy to detect.

    If you print the sql code out from the script then cut and paste it to sql and it runs you can be sure the problem isn't in Perl. Chances are it is permissions on the dB object, the ODBC data source is set up incorrectly or you are connected to the wrong database. The problem can also be that the sql server is disconnected. ODBC does give you a good error message when the connection doesn't exist.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2024-04-19 08:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found