Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Converting VFP IsNull() to SQL Server
Message
 
 
To
28/01/2009 19:03:14
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2005
Application:
Web
Miscellaneous
Thread ID:
01377933
Message ID:
01377957
Views:
12
>If I have a IsNull() syntax in my SQL command, how can I convert that into a SQL command that will work under SQL Server?

In SQL statement it would be

CASE WHEN Field IS NULL then something else end

In T-SQL

IF @Var IS NULL
...
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform