Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Oracle 9i and SQL 7

Status
Not open for further replies.

BlurredVision

Technical User
Aug 6, 2001
326
GB
I have to create a couple reports that are compatible in both Oracle 9i and SQL 7. The only issue I've come upon is how boolean's are stored. Oracle will store them as 1/0, and SQL will store them as True/False.

I could convert them to one or another using a formula, but I was hoping there was a way of converting all boolean’s to one or another from within crystal setup (v10/XI)

Many Thanks, Brian
 
Never mind.. It just clicked that booleans within oracle are stored as a number...

I just created this simple formula to handle it

BooleanVar Boo := CBool(ToNumber({BooleanField}));
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top