Previous Topic

Next Topic

Remove Table

Valid in: SQL, ESQL

The Remove Table statement removes the registration of a security log file.

Previous Topic

Next Topic

Syntax

The Remove Table statement has the following format:

[EXEC SQL] REMOVE TABLE [schema.]table_name

               {, [schema.]table_name}C2 SECURITY;

Previous Topic

Next Topic

Description

The Remove Table statement removes the mapping of a file to a virtual table. To map files to virtual tables, use the REGISTER TABLE statement. The REMOVE TABLE statement removes security log files that were registered using the REGISTER TABLE...AS IMPORT statement.

Note: This statement is not the same as the REMOVE statement, which is described in the Ingres Star User Guide.

Previous Topic

Next Topic

Embedded Usage

No portion of an embedded Remove Table statement can be specified using host language variables.

Previous Topic

Next Topic

Permissions

You must have the security privilege. However, if the target table being removed is a security audit gateway table (that is, was registered with DBMS=SXA), you must have the maintain_audit privilege.

Previous Topic

Next Topic

Locking

The Remove Table statement locks the iirelation, iiattribute, iiqrytext, and iiregistrations catalogs.

Previous Topic

Next Topic

Related Statements

Register Table

Previous Topic

Next Topic

Example: Remove Table

The following example removes a security log registration:

remove table logfile_xyz;


© 2007 Ingres Corporation. All rights reserved.