Is the SQL language object-oriented?


Is the SQL language object-oriented? If yes, could you show an example?


SQL stands for Structured Query Language , that is, it is a structured language, specific for manipulation in relational databases (either SQL Server, MySQL, etc).

Therefore, object orientation is not supported in it.

There is also NoSQL , which some call Not Only Structured Query Language and others the Non Structured Query Language , which uses other data models such as Documents and Charts.

NoSQL databases use a variety of data models, including documents, graphs, key-values, and columnars.

Source: Amazon NoSQL .

Still, I don't consider it as a language that offers object orientation, because for that, it would need to support inheritance, encapsulation and polymorphism, which are concepts of Object Orientation.

Scroll to Top