Updating System Catalog Objects

The system catalog is used only for query operations—even when being used by the database administrator. Updates to the system catalog are accomplished automatically by the database server. For example, a table is created in the database when a CREATE TABLE statement is issued by a database user. The database server then places the DDL that was used to create the table in the system catalog under the appropriate system catalog table. There is never a need to manually update any table in the system catalog. The database server for each implementation performs these updates according to actions that occur within the database, as shown in Figure 21.2.

Figure 21.2. Updates to the system catalog.

Caution

Never ...

Get Sams Teach Yourself SQL in 24 Hours, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.