Thursday, February 11, 2010

DATETIME Conversion

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.

No comments:

Post a Comment

Oracle Query