Tags

, , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,


TSQL 3.<SQLServer 2008 R2>

Can you provide output for following queries

SELECT ‘NO I am not in T-SQL’ WHERE 1=1 HAVING 1=2

SELECT  ‘Yes I am in T-SQL’ WHERE 1=HAVING  1=1

Note:  Please note that the above queries will work differently when used withTables

Keep

Learning

Pawankkmr@hotmail.com

Advertisements