Using Type Indicators in Consumers
Consumers use type indicators when creating and altering tables and when getting and setting data. To determine which data types are supported by the provider, the consumer calls IDBSchemaRowset::GetRowset, passing DBSCHEMA_PROVIDER_TYPES as a parameter. This method returns the provider's predefined PROVIDER_TYPES schema rowset, which contains detailed information about the data types that are supported by the provider. For more information about the PROVIDER_TYPES schema rowset, see PROVIDER_TYPES Rowset in Appendix B: Schema Rowsets.