Microsoft KB Archive/217757

From BetaArchive Wiki
Knowledge Base


INF: Default Schema to be Used with ODBC Driver for DB2 and OLE DB Provider for DB2

Article ID: 217757

Article Last Modified on 3/8/2005



APPLIES TO

  • Microsoft OLE DB Provider for DB2
  • Microsoft ODBC Driver for DB2 4.0 SP2



This article was previously published under Q217757

SUMMARY

Default Schema is the name of the DB2 collection where the driver or the provider looks for catalog information. This is an optional parameter that can be specified while configuring ODBC and OLE DB Data Sources for DB2 to restrict results sets for popular operations, such as enumerating a list of tables in a target collection (for example, ODBC Catalog SQLTables).

If this paramater is not specified (left blank), the driver or the provider uses the default values depending on the platform that DB2 is running on. For DB2 (on Mainframe), it defaults to SYSIBM, for DB2/400 it defaults to QSYS2, and for UDB the default value is SYSCAT.

Retrieving all the tables within these global defaults could be time consuming for the driver and the provider, therefore, it is recommended that you specify the name of the target collection whenever possible.


Additional query words: AS/400 MVS OS/390

Keywords: kbinfo KB217757