Each network server or personal server can run more than one database. If you want to run more than one database at a time, it is recommended that you do so by attaching new databases to your existing service, rather than by creating new services.
From the Context dropdown list, choose SQL Anywhere 12.
In the right pane, click the Services tab.
Select the service and then from the File menu, choose Properties.
Click the Configuration tab.
Add the path and file name of the new database to the end of the list of options in the Parameters box.
Click OK to save the changes.
The new database starts the next time the service starts.
Databases can be started on running servers by client applications, such as Interactive SQL.
For more information about starting a database from Interactive SQL, see START DATABASE statement.
For more information about how to implement this function in an embedded SQL application, see db_start_database function.
Starting a database from an application does not attach it to the service. If the service is stopped and restarted, the additional database will not be started automatically.
Discuter à propos de cette page dans DocCommentXchange.
|Copyright © 2010, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.0|