Saturday, February 20, 2010

ISNUMERIC function

Do you remember ISNUMERIC() built-in function?
What would be the output of the following script?

DECLARE @Year VARCHAR(10)
SET @Year = '2,010.'
SELECT ISNUMERIC(@Year)

A. 0
B. 1
C. True
D. False
E. An error will be generated.

Answer:[B]
Highlight to find out the answer.

No comments:

Post a Comment