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.
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';
Discuss this page in DocCommentXchange.
|Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1|