PREMIUM
Join our WhatsApp Channel
Daily MCQs, Past Papers & Jobs for PPSC, FPSC, CSS
Daily MCQs • Past Papers • Jobs for PPSC, FPSC, CSS
Join Channel

In MS Access, which pattern is used to search for a word that is exactly 5 characters long and starts with ‘S’?

A. S
B. S?
C. S#
D. S????
Correct Answer: D. S????

Correct answer: S????. In Access, S???? matches a word exactly five characters long starting with S.

Background: The ? wildcard stands for exactly one character, so S plus four ? marks is five.

  • S: S alone matches only the single letter S.
  • S?: S? matches only two characters, S plus one more, far too short.
  • S#: The # wildcard matches a single digit, not a letter, so S# is S plus a digit.

Did you know? In Access, ? matches one character and * matches any number.

Memory trick: Count the question marks: S plus four ? marks is five.

0 comments

Leave a Reply

Join Our WhatsApp Channel ×