Go to Top

Tag Archives

Tag Archives: IF ELSE

Using IF and ELSE in MSSQL

This guide explains how to use IF and ELSE in MSSQL. IF and ELSE statements can be very usefull in MSSQL in alot of situations especially when you need to verify something prior to deleting or changing the record. It works in a very similar way to php. In PHP it is: In SQL you use it with the same structure in mind. For example: The above query selects a …Read More