I browsed ISO/IEC 9075:1992, and ISO/IEC 9075-4:2011, I found that the term "database" is not discussed. Such as the definition of "database", There is also no standard syntax specified for operations such as create database
, use database
, etc.
The documentation for CREATE DATABASE
here explains
The ANSI/ISO standard for the SQL language does not specify any syntax for construction of a database, the process by which a database comes into existence and has its name declared.
I do not understand this omission from the standard, could any one explain it?
The term "database" is an invention of different RDBMS implementors, and they use the term in nonstandard ways. Don't expect the term database to be used the same between vendors.
The ANSI/ISO SQL standard defines catalogs and schemas. Not all vendors implement these according to the SQL standard, and some have changed their implementation over time.
https://mariadb.com/kb/en/library/sql-99/catalog/ says in part:
https://mariadb.com/kb/en/library/sql-99/17-sql-schemas-schema/ says in part: