摘要:insert into table from [SP]
insert into table from [SP]
create TABLE #jobs
(
table_qualifier varchar(20),
table_owner varchar(20),
table_name varchar(20),
column_name varchar(20),
key_seq varchar(2),
pk_name varchar(20)
)
--select * from #jobs
INSERT
INTO #jobs
exec sp_pkeys 公開發行基本資料
SELECT
*
FROM #jobs
drop table #jobs