0
点赞
收藏
分享

微信扫一扫

openGauss中获取关键字及排查表中哪些字段使用了关键字

获取 openGauss中所有关键字:

select * from pg_get_keywords;

获取哪些字段使用了关键字(不让作为字段名的关键字)

select table_name,column_name from information_schema.columns where table_schema='sdp' and column_name in (select word from pg_get_keywords() where catdesc like '%cannot be function or type name%');


举报

相关推荐

0 条评论