SQL SERVER 临时表

create procedure Proc_TestTempTable
as
begin

create table #t20170413
(
col_1 varchar(100) ,
col_2 varchar(100)
)

insert into #t20170413 values ('aaa','bbb');

select * from #t20170413
--select * from tempdb.sys.tables where name like '#t20170413%'
end

posted @ 2021-04-22 09:31  男人要爽  阅读(49)  评论(0编辑  收藏  举报