返回首页

gbase数据、南大通用产品文档:GBase8aUPDATE INDEX 句法更新全文索引

更新日期:2024年09月11日

语法
UPDATE INDEX index_name ON table_name;

GBase UP 产品手册 5 数据库管理指南
文档版本04(2021-04-21) 南大通用数据技术股份有限公司 932
参数说明

index_name:索引名(索引名全局唯一, 索引名将不区分大小写)。

table_name:表名。
示例
gbase> UPDATE INDEX idx_t ON sms;
Query OK, 0 rows affected

调用存储过程错误定位
.................................
183

功能说明
查看创建或修改后的存储过程或函数的状态。
语法格式
SHOW {PROCEDURE | FUNCTION} STATUS;
示例
示例1:显示已经创建成功的函数的状态。
gbase> SHOW FUNCTION STATUS\G
*************************** 1. row ***************************
Vc: vc1
Db: demo
Name: hello
Type: FUNCTION
Definer: root@%
Modified: 2020-07-15 19:26:08
Created: 2020-07-15 19:26:08
Security_type: DEFINER
Comment:
character_set_client: utf8

GBase 8a MPP Cluster 产品手册
5 数据库管理指南
文档版本953(2022-09-15)
南大通用数据技术股份有限公司
1346
collation_connection: utf8_general_ci
Database Collation: utf8_general_ci
1 row in set (Elapsed: 00:00:00.00)
示例2:显示vc1 的demo 库下已经创建成功的存储过程的状态。
gbase>
SHOW PROCEDURE STATUS where vc='vc1' and db='demo'\G
*************************** 1. row ***************************
Vc: vc1
Db: demo
Name: proc_1
Type: PROCEDURE
Definer: root@%
Modified: 2020-07-15 19:25:14
Created: 2020-07-15 19:25:14
Security_type: DEFINER
Comment:
character_set_client: utf8
collation_connection: utf8_general_ci
Database Collation: utf8_general_ci
1 row in set (Elapsed: 00:00:00.00)