What will be the value of @Today in the following script?
DECLARE @Today VARCHAR(10)
SET @Today = '02/02/2010'
SET @Today = @Today + 8
A. 02/10/2010
B. 10/02/2010
C. 02/02/2018
D. An error is generated.
Answer:[D]
Highlight to find out the answer.
Thursday, February 11, 2010
DATETIME Conversion
at 8:30 PM
Labels: SQL Server, SQL Server Test, SQL Server Tip, T-SQL
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment