nerdexam
Microsoft

70-433 · Question #133

You have a column named TelephoneNumber that stores numbers as varchar(20). You need to write a query that returns the first three characters of a telephone number. Which expression should you use?

Sign in or unlock 70-433 to reveal the answer and full explanation for question #133. The question stem and answer options stay visible for context.

Question

You have a column named TelephoneNumber that stores numbers as varchar(20). You need to write a query that returns the first three characters of a telephone number. Which expression should you use?

Options

  • ALEFT(TelephoneNumber, 3)
  • BSUBSTRING(TelephoneNumber, 3, 3)
  • CSUBSTRING (TelephoneNumber, 3, 1)
  • DCHARINDEX('[0-9][0-9][0-9]', TelephoneNumber, 3)

Unlock 70-433 to see the answer

You've previewed enough free 70-433 questions. Unlock 70-433 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full 70-433 Practice