Question 5

Answer D is correct. Dates are inclusive with the BETWEEN function. Be careful when using comparisons that might rely on the time elements of the data because improperly formulating a condition could exclude some desired data.

For more information, see the following sources:

  • Chapter 3, "Implementing Database Objects"

  • SQL Server 2005 Books Online: "SQL Server Database Engine, Accessing and Changing Database Data, Query Fundamentals, Filtering Rows by Using Where and Having, Range Search Conditions"

  • "Expressions in Queries,"

  • Within MSDN Library, go to MSDN Home, MSDN Library, Servers and Enterprise Development, SQL Server, Writing SQL Queries: Let's Start with the Basics.

MCTS 70-431(c) Implementing and Maintaining Microsoft SQL Server 2005
MCTS 70-431 Exam Cram: Implementing and Maintaining Microsoft SQL Server 2005 Exam
ISBN: 0789735881
EAN: 2147483647
Year: 2006
Pages: 200
Authors: Thomas Moore © 2008-2017.
If you may any questions please contact us: