Examples of Extensions from Some Implementations

Both PL/SQL and Transact-SQL are considered fourth-generation programming languages. Both are procedural languages versus SQL, which is a non-procedural language. We will also briefly discuss another implementation of SQL called MySQL, which can be downloaded from the Internet.

The non-procedural language SQL includes statements such as the following:

  • INSERT

  • UPDATE

  • DELETE

  • SELECT

  • COMMIT

  • ROLLBACK

An SQL extension considered a procedural language includes all of the preceding statements, commands, and functions of standard SQL. In addition, extensions include statements such as:

  • Variable declarations

  • Cursor declarations

  • Conditional statements

  • Loops

  • Error handling

  • Variable incrementing

  • Date conversions

  • Wildcard ...

Get Sams Teach Yourself SQL in 24 Hours, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.