为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。
【DM版本】:dm8
【操作系统】:
【CPU】:
【问题描述】*:
CREATE TABLE t100
(
id INT IDENTITY(1, 1) NOT NULL,
name varchar(255)
) STORAGE(ON "MAIN", CLUSTERBTR) ;
我创建了一张自增的表,有什么系统表可以查询的那些表上是不是有自增
回答 0
暂无回答
cfx
select
s.name ,
c.name ,
c.type$,
c.info2
from
sysobjects s,
syscolumns c
where
s.id =c.id
and c.info2 =1
and s.name in
(
select table_name from dba_tables where owner='模式名'
) ;
select
s.name ,
c.name ,
c.type$,
c.info2
from
sysobjects s,
syscolumns c
where
s.id =c.id
and c.info2 =1
and s.name in
(
select table_name from dba_tables where owner='模式名'
) ;