Change the default schema/database.

From SQLZOO
Revision as of 13:17, 17 July 2012 by Connor (Talk | contribs) (Created page with "Change the default schema/database. <div class='ht'> <div class=params>schema:gisq</div> <div> In many engines several independant databases may exist. Often each user has his...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Change the default schema/database.

schema:gisq

In many engines several independant databases may exist. Often each user has his or her own database. This allows different users to use the same names for tables.

 
 
 
 
 
N/A. Access IS a single USER system.
\CONNECT template1 - scott
ALTER SESSION SET CURRENT_SCHEMA = haggis
<SOURCE lang='sql' class='def e-sqlserver'>USE master
USE scott