- 
                Notifications
    You must be signed in to change notification settings 
- Fork 689
Use Database
        Mathias Rangel Wulff edited this page Jun 11, 2015 
        ·
        4 revisions
      
    Syntax:
    USE [DATABASE] databaseid    alasql('CREATE DATABASE geo');
    alasql('USE geo');To select current database:
	alasql.use('test01');
	// or
	alasql('USE test01');    
	// or
	alasql('USE DATABASE test01');    You can check current database name in alasql.useid property:
    console.log('Current database:', alasql.useid);See also: [CREATE DATABASE](Create Database), [ATTACH DATABASE](Attach Database)
© 2014-2024, Andrey Gershun & Mathias Rangel Wulff
Please help improve the documentation by opening a PR on the wiki repo