判断虚拟表是否存在

--判断虚拟表是否存在
IF Object_ID(N'tempdb..#tmpOrderm') is not Null drop table #tmpOrderm
--判断内容是否存在
if not exists (select * from Common_ImportData_Log where RID=@log_rid)

posted @ 2017-04-28 22:52  码着码着就习惯了  阅读(119)  评论(0)    收藏  举报