当前位置:网站首页>Gbase 8C annotation information function
Gbase 8C annotation information function
2022-07-28 01:54:00 【Dazhuang twelve】
col_description(table_oid, column_number)
describe : Get the comment of a table field
Return type :text
remarks :col_description Return the comment of a field in the table , Through the table OID And field number to declare .
obj_description(object_oid, catalog_name)
describe : Get the comment of a database object
Return type :text
remarks : With two parameters obj_description Return the comment of a database object , The object is through its OID And the name of the system table to which it belongs . such as ,obj_description(123456,'pg_class') Will return OID by 123456 Comments on the table . With only one parameter obj_description Only objects are required OID.
obj_description Cannot be used for table fields , Because the field does not have its own OID.
obj_description(object_oid)
describe : Get the comment of a database object
Return type :text
shobj_description(object_oid, catalog_name)
describe : Get the comment of a shared database object
Return type :text
remarks :shobj_description and obj_description almost , The only difference is that the former is used to share objects . Some system tables are common to GBase 8c Global tables for all databases in , Therefore, the comments of these tables are also stored globally .
边栏推荐
猜你喜欢
随机推荐
【样式集合1】tab 栏
Mark's story
The storage cost is reduced by 80%. How does the cost management of youzan data middle office do?
自定义类型:结构体,枚举,联合
HCIP第十二天笔记
LeetCode高频题128. 最长连续序列,经常被互联网大厂面试考到
Summary: Prometheus storage
Interview question 01.09. string rotation
If you are still using WiFi, you will be out: li-fi is better!!!
GBase 8c 备份控制函数(三)
Tencent cloud hiflow scene connector
Machine learning how to achieve epidemic visualization -- epidemic data analysis and prediction practice
C#学习笔记----C#连接MySQL数据库
写给去不图床用户的一封信
MPLS 隧道实验
阿门的故事
[style set 1] tab
GBase 8c 备份控制函数(二)
[add pictures to dice roller app]
Modify the request path using the streaming API of gateway









