[SQL]取得sequence 清單 (get sequence_name list)
--postgresql get sequence_name list select sequence_name from information_schema.sequences where sequence_schema='public'
參考來源:https://diego.org/2008/10/10/postgresql-sequences/
--MSSQL(MSSQP2012或以上版本) get sequence_name list SELECT name FROM sys.sequences
參考來源:http://raresql.com/2012/10/24/sql-server-2012-list-of-all-sequences-available-in-the-database/
留言
張貼留言