Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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 cooling their heels in the Monastery: (8)
As of 2014-09-22 20:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (201 votes), past polls