What is the output of below query?

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

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

select nullif(@str1,@str2);

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

Show Correct Answer

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response