logoalt Hacker News

randomNumber7today at 9:18 AM2 repliesview on HN

SQL is not an imperative programming language.


Replies

adrian_btoday at 10:23 AM

DROP TABLE ?

Most of SQL is not imperative, but it certainly also includes some imperative commands.

Inserting a new row into an existing table is an imperative command, which may be the most frequently used of the SQL features, in certain applications concerned with recording transactions.

Only the subset of SQL that is used for queries can be said to not be an imperative programming language.

show 1 reply
thesztoday at 3:58 PM

For all practical purposes, it very much is, consider random number generation.

show 1 reply