常用系统表相关的操作 1:判断某个临时表是否存在 if object_id('tempdb..#tempTable') is not null Begin DROP TABLE #tempTable End