Write and justify output of - select nullif('test','test')

 Posted by Bhakti on 11/24/2009 | Category: Sql Server Interview questions | Views: 3492
Answer:

The output will be – NULL
Justificatio n : nullif returns NULl if given two arguments are same else returns the first specified argument. So, for the given SQL, output will be NULL.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response