GBase 8s
运维管理
文章
查询包含blobclob字段的表
GBase社区管理员发表于2024-01-30 16:21:13105次浏览2个评论
创建表:
create table tblob(col1 blob,col2 clob);查询库中包含clob字段的表:
select tabname,colname as clobcol from systables t,syscolumns c
where t.tabid=c.tabid
and c.coltype=41
and t.tabid>99
and c.extended_id=11 --clob
--and c.extended_id=10 --blob
;输出:
tabname tblob
clobcol col2
查询到 1 行。热门帖子
- 12025-12-01浏览数:182759
- 22023-05-09浏览数:25052
- 42023-09-25浏览数:18521
- 52020-05-11浏览数:17526