如题,不修改数据库的数据类型的话,有没有解决办法?
------解决方案--------------------
用ODBC接口连.
------解决方案--------------------
没有遇到这种情况
把你的sqlca的连接语句贴出来
------解决方案--------------------
用 casT 在SQL 中转换下。试试看。
------解决方案--------------------
sql server中bit是个布尔型,你先转换一下.
case when col = 1 then 1 else 0 end
case when col = 1 then 'true' else 'false' end