nerdexam
GIAC

GCIH · Question #345

Which symbol is used to properly terminate a SQL query?

The correct answer is D. semi-colon (;). Some database systems require a semicolon at the end of each SQL statement. Semicolon is the standard way to separate each SQL statement in database systems that allow more than one SQL statement to be executed in the same call to the server.

Web Application Attacks & Post-Exploitation

Question

Which symbol is used to properly terminate a SQL query?

Options

  • Aasterisk (*)
  • Bdouble-dash (--)
  • Cpercent sign (%)
  • Dsemi-colon (;)

How the community answered

(48 responses)
  • A
    4% (2)
  • B
    2% (1)
  • D
    94% (45)

Explanation

Some database systems require a semicolon at the end of each SQL statement. Semicolon is the standard way to separate each SQL statement in database systems that allow more than one SQL statement to be executed in the same call to the server.

Topics

#SQL injection#query syntax#statement termination#semicolon

Community Discussion

No community discussion yet for this question.

Full GCIH Practice