Machine-translated by Google. Questions are authored in English.
Top

Discussion

SQL is a programming language.

  • A.True
  • B.False

Answer: B

Correct answer: False

SQL is a data sublanguage, not a general-purpose programming language. It has no loops, no branching and no way to build an interface, so it cannot express a complete program on its own and is embedded in a host language that supplies those.

It is also declarative: a query states what data is wanted and leaves the optimiser to decide how to get it, where a programming language specifies the steps. Procedural extensions such as PL/SQL and T-SQL add control flow, but those are dialect additions built on top of SQL rather than SQL itself.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.