Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How 2 do this in TSQL?
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
How 2 do this in TSQL?
Environment versions
Visual FoxPro:
VFP 9
Database:
MS SQL Server
Miscellaneous
Thread ID:
01042027
Message ID:
01042027
Views:
78
How would I best do something like this in T-SQL?

SELECT IIF(ISNULL(int_field),0,1) AS lSelected FROM MyTable

Do I use a SQL CASE statement, or is there an easier in-line way?

TIA
Kogo Michael Hogan

"Pinky, are you pondering what I'm pondering?"
I think so Brain, but "Snowball for Windows"?

Ideate Web Site
Next
Reply
Map
View

Click here to load this message in the networking platform