In this lesson, you create a consolidated database named SIS_CarDealer_LP_DBLSN_CONDB with the scripts required for synchronization using the dbinit utility.
Create the SQL Anywhere consolidated database.
At the command prompt, use the dbinit utility and specify a file name and path for the database. For example, run the command:
dbinit c:\MLsis\SIS_CarDealer_LP_DBLSN_CONDB.db |
Start the consolidated database.
dbeng11 c:\MLsis\SIS_CarDealer_LP_DBLSN_CONDB.db |
Use the SQL Anywhere 11 driver to define an ODBC data source for the database.
Choose Start » Programs » SQL Anywhere 11 » ODBC Administrator.
Click the User DSN tab, and click Add.
On the Name list, click SQL Anywhere 11. Click Finish.
In the ODBC Configuration For SQL Anywhere 11 window, do the following:
Click the ODBC tab.
In the Data Source Name field, type SIS_CarDealer_LP_DBLSN_CONDB.
Click the Login tab.
In the User ID field, type DBA.
In the Password field, type sql.
Click the Database tab.
In the Server Name field, type SIS_CarDealer_LP_DBLSN_CONDB.
In the Database File field, type c:\MLsis\SIS_CarDealer_LP_DBLSN_CONDB.db.
Click OK.
Click OK.
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |