Catalog changes

The catalog has undergone major changes in version 10.0.0. The most significant change is that system tables have been renamed to include an I at the beginning of their name. If you attempt to access the system tables, you will receive a permission denied error. Information in the system tables is made available through system views. There is one system view per system table, and, for backward compatibility, the system view names coincide with the table names from previous versions of SQL Anywhere. For example, in 9.0.2, there was a system table called SYS.SYSARTICLE. In version 10.0.0 that system table is now called SYS.ISYSARTICLE, and a corresponding system view, SYS.SYSARTICLE.

The catalog now also contains consolidated views. These are views which provide commonly needed joins from two or more tables or views. Most of the consolidated views were present as system views in previous releases.

Some system tables and views have been deprecated or removed from the catalog. However, most compatibility views are provided.

The following table provides a complete mapping of the catalog from Adaptive Server Anywhere 9.0.2 to SQL Anywhere 10.0.0. The first column, 9.0.2 system table/view, shows names of the 9.0.2 system tables, followed by a forward slash ('/'), and then the name of the 9.0.2 associated view(s). The middle column, 10.0.0 system table, contains the 10.0.0 table name. The final column, 10.0.0 system view, contains the associated 10.0.0 view name(s), as well as compatibility notes.

Note

A dash (-) in any of the columns indicates that there is no equivalent object. For example, a new table in the catalog for the 10.0.0 release results in a dash for the table in the 9.0.2 column.

9.0.2 system table/view 10.0.0 system table 10.0.0 system view
DUMMY / - DUMMY -
RowGenerator / - RowGenerator -
SYSARTICLE / SYSARTICLES ISYSARTICLE

SYSARTICLE system view

For pre-10.0.0 compatibility:SYSARTICLES consolidated view.

SYSARTICLECOL / SYSARTICLECOL ISYSARTICLECOL

SYSARTICLECOL system view

For pre-10.0.0 compatibility: SYSARTICLECOLS consolidated view.

SYSATTRIBUTE / - ISYSATTRIBUTE -
SYSATTRIBUTENAME / - ISYSATTRIBUTENAME -
SYSCAPABILITY / SYSCAPABILITIES ISYSCAPABILITY

SYSCAPABILITY system view

SYSCAPABILITIES consolidated view

SYSCAPABILITYNAME / - ISYSCAPABILITYNAME SYSCAPABILITYNAME system view
- / SYSCATALOG SYSCATALOG consolidated view
SYSCHECK / - ISYSCHECK SYSCHECK system view
- / SYSCOLAUTH - SYSCOLAUTH consolidated view
SYSCOLLATION / - - SYSCOLLATION compatibility view (deprecated)
SYSCOLLATIONMAPPINGS / - - SYSCOLLATIONMAPPINGS compatibility view (deprecated)
SYSCOLPERM / - ISYSCOLPERM SYSCOLPERM system view
SYSCOLSTAT / SYSCOLSTATS ISYSCOLSTAT SYSCOLSTAT system view and SYSCOLSTATS consolidated view
SYSCOLUMN / SYSCOLUMNS ISYSTABCOL

SYSTABCOL system view and SYSCOLUMNS consolidated view

For pre-10.0.0 compatibility: SYSCOLUMN compatibility view (deprecated)

SYSCONSTRAINT / - ISYSCONSTRAINT SYSCONSTRAINT system view
- / - ISYSDEPENDENCY SYSDEPENDENCY system view
SYSDOMAIN / - ISYSDOMAIN SYSDOMAIN system view
SYSEVENT / - ISYSEVENT SYSEVENT system view
SYSEVENTTYPE / - ISYSEVENTTYPE SYSEVENTTYPE system view
SYSEXTENT / - - -
SYSEXTERNLOGINS / - ISYSEXTERNLOGIN

SYSEXTERNLOGIN system view

SYSFILE / - ISYSFILE SYSFILE compatibility view (deprecated)
SYSFKCOL / - ISYSIDXCOL

SYSIDXCOL system view

For pre-10.0.0 compatibility: SYSFKCOL compatibility view (deprecated)

SYSFOREIGNKEY / SYSFOREIGNKEYS ISYSFKEY

SYSFKEY system view and SYSFOREIGNKEYS consolidated view.

For pre-10.0.0 compatibility: SYSFOREIGNKEY compatibility view (deprecated)

- / SYSGROUPS ISYSGROUP

SYSGROUP system view and SYSGROUPS consolidated view

SYSHISTORY / - ISYSHISTORY SYSHISTORY system view
SYSINDEX / SYSINDEXES ISYSIDX

SYSIDX system view and SYSINDEXES consolidated view

For pre-10.0.0 compatibility: SYSINDEX compatibility view (deprecated)

SYSINFO / - - SYSINFO compatibility view (deprecated)
SYSIXCOL / - ISYSIDXCOL

SYSIDXCOL system view

For pre-10.0.0 compatibility: SYSIXCOL compatibility view (deprecated)

SYSJAR / - ISYSJAR SYSJAR system view
SYSJARCOMPONENT / - ISYSJARCOMPONENT SYSJARCOMPONENT system view
SYSJAVACLASS / - ISYSJAVACLASS SYSJAVACLASS system view
SYSLOGIN / - ISYSLOGINMAP SYSLOGINMAP system view
SYSOPTBLOCK / - - system use only
- / - ISYSMVOPTION SYSMVOPTION system view
- / - ISYSMVOPTIONNAME SYSMVOPTIONNAME system view
- / - ISYSOBJECT SYSOBJECT system view
SYSOPTION / SYSOPTIONS ISYSOPTION SYSOPTION system view and SYSOPTIONS consolidated view
SYSOPTJOINSTRATEGY / SYSOPTJOINSTRATEGIES - system use only
SYSOPTORDER / SYSOPTORDERS - system use only
SYSOPTQUANTIFIER / - - system use only
SYSOPTREQUEST / - - system use only
SYSOPTREWRITE / - - system use only
SYSOPTSTAT / - ISYSOPTSTAT SYSOPTSTAT system view
- ISYSPHYSIDX SYSPHYSIDX system view
- / SYSPROCAUTH - SYSPROCAUTH consolidated view
SYSPROCEDURE / SYSPROCEDURES ISYSPROCEDURE

SYSPROCEDURE system view

The SYSPROCEDURES view has been renamed to SYSPROCS. See SYSPROCS consolidated view.

SYSPROCPARM / SYSPROCPARMS ISYSPROCPARM SYSPROCPARM system view and SYSPROCPARMS consolidated view
SYSPROCPERM / - ISYSPROCPERM SYSPROCPERM system view
- ISYSPROXYTAB SYSPROXYTAB system view
SYSPUBLICATION / SYSPUBLICATIONS ISYSPUBLICATION SYSPUBLICATION system view and SYSPUBLICATIONS consolidated view
- / - ISYSREMARK SYSREMARK system view
SYSREMOTEOPTION / SYSREMOTEOPTIONS, SYSREMOTEOPTION2 ISYSREMOTEOPTION SYSREMOTEOPTION system view, SYSREMOTEOPTION2 consolidated view, and SYSREMOTEOPTIONS consolidated view
SYSREMOTEOPTIONTYPE / - ISYSREMOTEOPTIONTYPE SYSREMOTEOPTIONTYPE system view
SYSREMOTETYPE / SYSREMOTETYPES ISYSREMOTETYPE SYSREMOTETYPE system view and SYSREMOTETYPES consolidated view
SYSREMOTEUSER / SYSREMOTEUSERS ISYSREMOTEUSER SYSREMOTEUSER system view and SYSREMOTEUSERS consolidated view
SYSSCHEDULE / - ISYSSCHEDULE SYSSCHEDULE system view
SYSSERVERS / - ISYSSERVER

SYSSERVER system view

- / - ISYSSOURCE SYSSOURCE system view
SYSSQLSERVERTYPE / - ISYSSQLSERVERTYPE SYSSQLSERVERTYPE system view
SYSSUBSCRIPTION / SYSSUBSCRIPTIONS ISYSSUBSCRIPTION SYSSUBSCRIPTION system view and SYSSUBSCRIPTIONS consolidated view
SYSSYNC / SYSSYNCS, SYSSYNC2 ISYSSYNC SYSSYNC system view, SYSSYNC2 consolidated view, and SYSSYNC2 consolidated view
- ISYSSYNCSCRIPT SYSSYNCSCRIPT system view and SYSSYNCSCRIPTS consolidated view
- / SYSSYNCSUBSCRIPTIONS - SYSSYNCSUBSCRIPTIONS consolidated view
- / SYSSYNCUSERS - SYSSYNCUSERS consolidated view
- / SYSTABAUTH - SYSTABAUTH consolidated view
SYSTABLE / - ISYSTAB

SYSTAB system view

For pre-10.0.0 compatibility: SYSTABLE compatibility view (deprecated)

- ISYSTABCOL SYSTABCOL system view
SYSTABLEPERM / - ISYSTABLEPERM SYSTABLEPERM system view
SYSTRIGGER / SYSTRIGGERS ISYSTRIGGER SYSTRIGGER system view and SYSTRIGGERS consolidated view
SYSTYPEMAP / - ISYSTYPEMAP SYSTYPEMAP system view
- ISYSUSER SYSUSER system view
- / SYSUSERAUTH ISYSUSERAUTHORITY SYSUSERAUTHORITY system view and SYSUSERAUTH compatibility view (deprecated)
- / SYSUSERLIST SYSUSERAUTHORITY system view and SYSUSERLIST compatibility view (deprecated)
SYSUSERMESSAGES / - ISYSUSERMESSAGE SYSUSERMESSAGE system view
- / SYSUSEROPTIONS - SYSUSEROPTIONS consolidated view
SYSUSERPERM / SYSUSERPERMS -

Data now located in the ISYSUSER and ISYSUSERAUTHORITY system tables. See: SYSUSER system view and SYSUSERAUTHORITY system view

For pre-10.0.0 compatibility: SYSUSERPERM compatibility view (deprecated) and SYSUSERPERMS compatibility view (deprecated)

SYSUSERTYPE / - ISYSUSERTYPE SYSUSERTYPE system view
- / SYSVIEWS ISYSVIEW SYSVIEW system view and SYSVIEWS consolidated view
SYSWEBSERVICE / - ISYSWEBSERVICE SYSWEBSERVICE system view
 Summary of new views
 Summary of deprecated tables or views
 Summary of removed or renamed tables or views
 Change to columns in system tables and system views