Enterprise Edition Home | Express Edition Home | Previous Page | Next Page   Database Access > Working with XA-Compliant External Data Sources > Managing XA Data Sources and Data Source Types > 3 3 3

Creating an XA Data Source

3

To 3create an XA data source, use the CREATE XADATASOURCE statement, 3as follows:

3
CREATE XADATASOURCE datasourcename USING datasourcetypename;
3

The datasourcename and datasourcetypename optionally 3include the owner name separated from the data source type name 3by a period.

3

For example: 3

3
CREATE XADATASOURCE informix.NewYork USING informix.MQSeries;
3

ANSI database and non-ANSI database namespace rules apply for 3the XA data source type, XA data source names, and user-defined 3function names.

3

Each new XA data source will have a unique ID in the sysxadatasources system catalog 3table.

3

For syntax details, see the IBM Informix: Guide to SQL Syntax.

Enterprise Edition Home | Express Edition Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]