To create a SQL Anywhere database, you first define the tables it will have (entities), the columns in each table (attributes), and the relationships between tables (keys and constraints).
It is recommended that you create a Conceptual Database Model (CDM) for your new database. You can use CDM applications such as Sybase PowerDesigner to create and validate your database design. These tools construct SQL statements that are submitted to the database server, typically through its ODBC interface. If you are using one of these tools, you do not need to construct SQL statements to create tables, assign permissions, and so on.
For more information about designing databases and creating a CDM, see the Sybase PowerDesigner documentation at http://infocenter.sybase.com/help/index.jsp.
For more information about database objects such as tables and views, see Tables, views, and indexes.
You can also use Sybase Central, Interactive SQL, or the command line to create or initialize a SQL Anywhere database. After creating the database, you can connect to it and add tables and other objects.
Object name considerations
Column data type considerations
Column compression considerations
Create a database (Sybase Central)
Creating a database (SQL)
Creating a database (command line)
Databases with transaction log mirrors
Discuss this page in DocCommentXchange.
|Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1|