DennisTheMenace
IS-IT--Management
Does anyone know how to use an IF/THEN in a SQL View (or can you)?
I want to compare a field and return a NEW field (for example: return a 'Y' if the shoe size is greater than 11?)
The syntax must look similar to something like this in Enterprise Manager:
IIf((tblName.ShoeSize > '11'), "Y", "N") AS SPECIAL_ORDER
Thanks in advance for any input!
-Dennis
=====================
Remember - YOU ARE UNIQUE!!!... Just like EVERYONE ELSE! ;o)
I want to compare a field and return a NEW field (for example: return a 'Y' if the shoe size is greater than 11?)
The syntax must look similar to something like this in Enterprise Manager:
IIf((tblName.ShoeSize > '11'), "Y", "N") AS SPECIAL_ORDER
Thanks in advance for any input!
-Dennis
=====================
Remember - YOU ARE UNIQUE!!!... Just like EVERYONE ELSE! ;o)