Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 12.0.0 (Français) » SQL Anywhere Server - Database Administration » Starting and connecting to your database » Working with database files » Creating a SQL Anywhere database


Create a database (SQL)

In Interactive SQL, use the CREATE DATABASE statement to create databases. You need to connect to an existing database before you can use this statement.

 ♦  To create a new database (SQL)
  1. Start a database server named sample.

    dbeng12 -n sample
  2. Start Interactive SQL.

  3. Connect to an existing database. If you don't have a database, you can connect to the utility database utility_db. See Connecting to the utility database.

  4. Execute a CREATE DATABASE statement.

See CREATE DATABASE statement.