Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
すべての ID 列のリストが必要です。どのシステム テーブルに情報があるか知っていますか?
ところで:私はSybase IQ 16を使用しています
次のように考え出しました:
CREATE TABLE TEST ( C1 INT IDENTITY NOT NULL ,C2 INT ) SELECT * FROM SYS.SYSCOLUMNS WHERE TNAME = 'TEST'
答えは次のとおりです。
SELECT tname, cname FROM SYS.SYSCOLUMNS WHERE default_value = 'autoincrement'