The most common way of defining an ODBC-based server is to base it on an ODBC data source. To do this, you can create a data source using the ODBC Administrator.
For more information, see Creating ODBC data sources.
Once you have defined the data source, the USING clause in the CREATE SERVER statement should match the ODBC data source name.
For example, to configure a IBM DB2 server named mydb2 whose data source name is also mydb2, use:
CREATE SERVER mydb2 CLASS 'db2odbc' USING 'mydb2'; |
For more information, see CREATE SERVER statement.
Discuss this page in DocCommentXchange.
|
Copyright © 2010, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.0 |