Question Locked What is the proper syntax for using an if statement in a t-sql where clause 0 helpful 6 replies After Hours RH by rhardy · Jun 4, 2010 · last reply Jun 7, 2010 Mod