【sqlserver】基础知识

一、存储过程详解

二、变量使用

  

判断临时表是否存在

if exists (select * from tempdb.dbo.sysobjects where id = object_id(N'tempdb..#tempcitys') and type='U')
   drop table #tempcitys


 

后续待更新...


版权声明:本文为qq_44065303原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。