摘要:
if exists (select * from tempdb.dbo.sysobjects where id = object_id(N'tempdb..#table') and type='U') DROP TABLE #table CREATE TABLE #table ( [RECNUM] [decimal](28, 0) IDENTITY(1, 1) NOT NULL , ModuleCode NVARCHAR(30) COLLATE SQL_Latin1_General_CP1_CI_AS NULL , FunctionCode NVARCHAR(3 阅读全文