forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: Su, Xiaomeng <suxiaomeng1@huawei.com> Co-committed-by: Su, Xiaomeng <suxiaomeng1@huawei.com>
4.9 KiB
4.9 KiB
Viewing Table Properties
Function
Check the properties of a table.
Syntax
1 | SHOW TBLPROPERTIES table_name [('property_name')]; |
Keywords
TBLPROPERTIES: This statement allows you to add a key/value property to a table.
Parameters
Parameter |
Description |
---|---|
table_name |
Table name |
property_name |
|
Precautions
property_name is case sensitive. You cannot specify multiple property_name attributes at the same time. Otherwise, an error occurs.
Example
To return the value of property_key1 in the test table, run the following statement:
1 | SHOW TBLPROPERTIES test ('property_key1'); |
Parent topic: Viewing Tables