Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: dbix::simple & varbinary(MAX)

by Juerd (Abbot)
on May 29, 2008 at 12:32 UTC ( #689002=note: print w/ replies, xml ) Need Help??


in reply to dbix::simple & varbinary(MAX)

As DBIx::Simple is just a wrapper for DBI, the issue is very probably burried somewhere in the DBD, ODBC, or MS SQL. Unfortunately, I'm not familiar with those so I can't help you with that.

However, I should note that you should probably not call your DBIx::Simple object "$dbh", because people will expect that a variable named $dbh isa DBI handle. Also, you shouldn't use the DBIx::Simple object as a hash reference, contrary to DBI's object. That is, write $db->dbh instead of $dbh->{'dbh'}. This has nothing to do with the problem at hand, but changing your style will prevent mistakes later.


Comment on Re: dbix::simple & varbinary(MAX)
Re^2: dbix::simple & varbinary(MAX)
by Lyndley (Novice) on May 29, 2008 at 12:54 UTC

    Thanks, hadn't spotted that dbh method.

    Yep have been through DBD::ODBC, DBI and DBIx::Simple pages and not found anything besides "RaisEerror", "LongTruncOk" & "longReadLen" which I've tried.

    I guess I can look again.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (10)
As of 2015-07-06 09:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (70 votes), past polls