Friday, October 16, 2015

Using a CASE Statement/If Condition in HQL select query


SELECT name, 
CASE WHEN name = 'Name' then 'Name is Name' else 'Name is not Name' end
From Domain

No comments:

Post a Comment