Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning .T. or .F. from a Remote View on and Oracle db
Message
From
10/09/2004 10:52:47
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00941042
Message ID:
00941052
Views:
7
>Hi, I have some remote views on an oracle db. Oracle does not support boolean types in it's tables so all the boolean data in those tables is encoded with a CHAR(1) containing either 'T' or 'F'.
>
>Is there anyway to have the remote views return .T. or .F. depending on the content of the field ?
>
>I first tried adding an expression with the view builder : iif(boolField, true, false) as boolField but it added this with " in the sql code so it did not work.
>
>I tried to create a view with such expressions by hands but the creation process does not work.
>
>TIA

Try an expression like :

myField = 'T'

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform