Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Select expression for both VFP and SQL DB
Message
From
29/03/2019 15:06:08
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
29/03/2019 13:44:27
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01667660
Message ID:
01667730
Views:
37
>I found another alternative:
>
>
>PRIVATE plValue
>plValue= .F.
>
>Select  ?plValue AS MYFIELD
>
Check that in a profiler. I guess you get something like

exec sp_executesql 'select @p1 as myfield', '@p1', 0

sent to the SQL. IOW I'm not sure it gets cast as bit when sending like this. Perhaps there's a declaration of '@p1 bit'... better check.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform