What is the output of below sql query?

declare @str1 varchar(50);
declare @str2 varchar(50);

set @str1 = 'Vishal';
set @str2= 'visHaL';

select nullif(@str1,@str2);

 Posted by vishalneeraj-24503 on 12/31/2013 | Category: Sql Server Interview questions | Views: 5424 | Points: 40
Select from following answers:
  1. Vishal
  2. Null
  3. visHaL
  4. None of These.
  5. All Above

Show Correct Answer

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response