In this example, we will evaluate the values of two variables and return the result of a variable which is bigger in value. |
DECLARE @M INT=40 DECLARE @V INT=30 SELECT IIF(@M > @V, M IS GREATER THAN V', 'V IS GREATER THAN M') GO; Executing the above T-SQL will return the following result: ------------------- M IS GREATER THAN V (1 row(s) affected) |
Book Review: Big Red - Voyage of a Trident Submarine
I've grown up reading Tom Clancy and probably most of you have at least seen Red October, so this book caught my eye when browsing used books for a recent trip. It's a fairly human look at what's involved in sailing on a Trident missile submarine...
2009-03-10
1,439 reads