Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Performing an IF statement in a SQL Statement.
Message
 
To
25/02/2005 12:02:24
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
General information
Forum:
ASP.NET
Category:
Databases
Environment versions
Database:
MS SQL Server
Miscellaneous
Thread ID:
00990593
Message ID:
00990634
Views:
25
You could create a SQL Server User Defined function to do this as well as Jon's solution.

The UDF approach makes the SQL a little more readable and doesnt perform too bad IMO.

Rodman
Rod Paddock
Editor in Chief CoDe Magazine
President Dash Point Software, Inc.
VP Red Matrix Technologies,Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform