DBI MySQL Win returns nil for TINYINT(1) values

K

Kyle

Hello! I'm using Ruby on Windows to access a local MS SQL database
and update a remote MySQL database. I'm able to connect to the remote
database using DBI, and it pulls most of the data as expected;
however, any TINYINT(1) field is returned as nil, not true/false or
1/0. This doesn't happen when I run the same script in linux. Any
ideas? I'd be happy to give any info that could be helpful.

Thanks!

-Kyle
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,276
Latest member
Sawatmakal

Latest Threads

Top