New Year Sale ! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft Exam 70-761 Topic 3 Question 1 Discussion

Actual exam question for Microsoft's 70-761 exam
Question #: 1
Topic #: 3
[All 70-761 Questions]

You have a database that includes the tables shown in the exhibit. (Click the exhibit button.)

You need to create a list of all customers, the order ID for the last order that the customer placed, and the date that the order was placed. For customers who have not placed orders, you must substitute a zero for the order ID and 01/01/1990 for the date.

Which Transact-SQL statement should you run?

Show Suggested Answer Hide Answer
Suggested Answer: A

ISNULL Syntax: ISNULL ( check_expression , replacement_value ) author:"Luxemburg, Rosa"

The ISNULL function replaces NULL with the specified replacement value. The value of check_expression is returned if it is not NULL; otherwise, replacement_value is returned after it is implicitly converted to the type of check_expression.

References:

https://msdn.microsoft.com/en-us/library/ms184325.aspx


Contribute your Thoughts:

Currently there are no comments in this discussion, be the first to comment!


Save Cancel