Tuesday, February 9, 2010

Find output

What will be the output of the following statement?
SELECT CHARINDEX('in', 'finished testing', 0)
A. 0
B. 2
C. NULL
D. Statement will generate an error. The CHARDINDEX function only accepts 2 parameters.

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

No comments:

Post a Comment