SQL::Connection::GenerateCreateDatabaseStatement()
Syntax
SQL_Statement as C = SQL::Connection::GenerateCreateDatabaseStatement( Name as C )
|
Argument |
Description |
|
SQL_Statement |
An add user group statement appropriate for the database. |
|
Name |
The name of the database to create. |
Description
The .GenerateCreateDatabaseStatement() method returns the SQL statement that create a database.
Supported By
Alpha Five Version 8 Enterprise Edition
Limitations
Desktop applications only.
Example
|
dim conn as SQL::Connection conn.open("{A5API=Access,FileName='C:\Program Files\A5V8\MDBFiles\Alphasports.mdb',UserName='Admin'}") ? conn.GenerateCreateDatabaseStatement("Albany") = "" |
See Also