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

Dropping an XA Data Source

3

Use 3the DROP XADATASOURCE statement to drop an XA data source type.

3

DROP XADATASOURCE datasourcename RESTRICT;

3

For example: 3

3
DROP XADATASOURCE informix.NewYork RESTRICT;
3

The XA data source type must already exist in the system because 3it was previously created with a CREATE XADATASOURCE TYPE statement. 3Information on the data source type is stored in the sysxasourcetypes system 3catalog table.

3

If an XA data source has been registered with a transaction that 3is not complete, the data source can be dropped only if the database 3is closed or the database session exits.

3

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

Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]