Reputation:
Since SQL Server 2005, schemas are acting as root namespaces for objects (tables, views, etc).
My question is: are there equivalents in other DBMS'? I'm particularly interested in:
create schema ...
is a synonym for create database ...
.create schema ...
causes an error.Edit: I used OMG Ponies' answer to update above.
Upvotes: 2
Views: 460
Reputation: 332571
Yes, PostgreSQL supports schemas though I don't know when support started. Oracle supports schemas as well.
MySQL does not -- CREATE SCHEMA is an alias for CREATE DATABASE. I don't know about SQLite, but given its limited support I wouldn't think so.
Upvotes: 4
Reputation:
Other DBMS that support schemas
DBMS that do not support schemas:
Upvotes: 4