当前位置: 代码迷 >> SQL >> MSSQL剔除表及快速创建表(临时表)
  详细解决方案

MSSQL剔除表及快速创建表(临时表)

热度:52   发布时间:2016-05-05 15:11:17.0
MSSQL删除表及快速创建表(临时表)
一、临时表
if object_id('tempdb.dbo.#otc_otherdeliverline') is not null drop table dbo.#otc_otherdeliverlineSelect * into #otc_otherdeliverline from v_utis_CRMOtherDeliverLine


二、真实表
if object_id(N'#otc_otherdeliverline', N'u') is not null drop table #otc_otherdeliverlineSelect * into #otc_otherdeliverline from v_utis_CRMOtherDeliverLine
  相关解决方案