.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Interview Question >> Sql Server >> Post New Question Subscribe to Interview Questions

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

Posted By :shah268     Posted Date :November 26, 2009    Points :10   Category :Sql Server 
The output will be - NULL
Justification : nullif returns NULl if given two arguments are same else returns the first specified argument. So, for the given SQL, output will be NULL.

You can also find related Interview Question to Write and justify output of - select nullif(''test'',''test'')  below: 

What's the difference between Response.Write() andResponse.Output.Write()?

  
Response.Output.Write() allows you to write formatted output but Response.Write doesnt allow.

Example:Response.Output.Write("{0:d}", "Current Date Time: ", DateTime.Now) (More...)

Write a query to Select top 2 Highest salaries?

  
select Top(2) salary from Tablename order by Salary desc.... (More...)

What are three test cases you should go through in unit testing? 

  
Positive test cases (correct data, correct output), negative test cases (broken or missing data, proper handling), exception test cases (exceptions are thrown and caught properly). (More...)

What is the utility name to test WCF services?

  
WcfTestClient.exe

It resides in the folder
drive:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE (More...)

What are three test cases you should go through in unit testing?

  
Positive test cases (correct data, correct output), negative test cases (broken or missing data, proper handling), exception test cases (exceptions are thrown and caught properly). (More...)

difference between Response.Output.Write() and Response.Write?

  
Response.Output.Write() is used to display formatted output while

Response.Write() can only display single character line. (More...)

What's the difference between Response.Write() andResponse.Output.Write()?

  
Response.Output.Write() allows you to write formatted output. (More...)

Quick Links For Interview Questions Categories:
ASP.Net Windows Application   .NET Framework   C#   VB.Net   ADO.Net  
Sql Server   SharePoint   Silverlight   OOPs   JQuery   JavaScript/VBScript
Biztalk Patten/Practices .IIS WCF WPF WWF
Networking Aptitude Others   All      

Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

 
Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.


Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend