Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

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)
Replies are listed 'Best First'.
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?

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2015-10-09 19:06 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (250 votes), past polls