USE-Anweisung
Die USE-Anweisung wählt eine Datenbank und optional ein Schema oder nur ein Schema als Standard aus.
Beispiele
--- Sets the 'memory' database as the default. Will use 'main' schema implicitly or error--- if it does not exist.USE memory;--- Sets the 'duck.main' database and schema as the defaultUSE duck.main;-- Sets the `main` schema of the currently selected database as the default, in this case 'duck.main'USE main;Syntax
Die USE-Anweisung setzt eine Standarddatenbank, ein Standardschema oder eine Kombination aus Datenbank und Schema
für zukünftige Operationen. Tabellen, die ohne vollständig qualifizierten
Tabellennamen angelegt werden, werden beispielsweise in der Standarddatenbank erstellt.