Is SQL classified as a fourth generation language or as a fifth generation language?
Asked
Active
Viewed 3,279 times
0
-
3The first link (which you have provided yourself, but apparently didn't look at) lists SQL as a fourth level language - it's in the "Database query languages" section. So why are you asking? – p.marino Jul 29 '10 at 09:46
-
4Does anyone still use the "N-generation" terminology? I haven't come across it since the 80s. – Jul 29 '10 at 09:47
-
2It depends if you use 0 as a first index, or 1 ;-) – Scharron Jul 29 '10 at 09:48
3 Answers
3
SQL tries to be a 5GL, by allowing the user to express their intent at a high level of abstraction while leaving the determination of an algorithm for achieving the intent up to the engine.
Unfortunately, due to various deficiencies in the language, it falls far short of that goal.

Marcelo Cantos
- 181,030
- 38
- 327
- 365
2
Neither. It is a query language, not a general purpose programming language.

Oded
- 489,969
- 99
- 883
- 1,009
-
But it can be [turing complete](http://stackoverflow.com/questions/900055/is-sql-or-even-tsql-turing-complete/900062#900062). – Moeb Jul 29 '10 at 09:49
-
2@Primx - **Can** be. The answer you link even says that the SQL92 standard is not turing complete. – Oded Jul 29 '10 at 09:57