Convert Boolean problem

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
y17433
Posts: 2
Joined: Mon 12 Apr 2010 20:46

Convert Boolean problem

Post by y17433 » Mon 12 Apr 2010 20:57

I am building one prototype project for an large scope application.
The application support both Oracle and SQL Server.
Since there is no Boolean type in Oracle, the Boolean is stored as integer.
We would like using same set of code to handle both database.
Is there a way to convert them transparently?
I got incompatible error while try to convert them.
We switch between SQL server and Oracle by loading different SSDL.

y17433
Posts: 2
Joined: Mon 12 Apr 2010 20:46

never mind

Post by y17433 » Tue 13 Apr 2010 00:13

I found one early post to fix it.

Post Reply