Show Keys

The show keys command returns a result set listing any tables that have primary keys defined.

Syntax

show keys;

Return Type

Table result set

Details

Connect allows developers to create primary keys on custom tables. Refer to CREATE TABLE.

Examples

show keys;

showkeys_01

select *
from (show keys)
where schema_name = 'delta';

showkeys_02

Related Functions

CREATE TABLE

SHOW TABLES