How to use IF ELSE in an SQL Select query
In MSSQL IF ELSE is not supported inside the SQL-Query. For a similiar behaviour you should use CASE WHEN keyword. Sample Query
All the Code Snippets and Samples you need
In MSSQL IF ELSE is not supported inside the SQL-Query. For a similiar behaviour you should use CASE WHEN keyword. Sample Query
The best Datatype for money in C# and VB.NET is Decimal. What is the MSDN saying about Decimal. The Decimal value type represents decimal numbers ranging from positive 79,228,162,514,264,337,593,543,950,335 to…