日期:2014-05-16 浏览次数:20494 次
USE [TEST]
GO
/****** Object: Table [dbo].[#TEMP] Script Date: 04/20/2014 11:11:40 ******/
IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[#TEMP]') AND type in (N'U'))
DROP TABLE [dbo].[#TEMP]
GO
DROP TABLE #TEMP
CREATE TABLE [dbo].[LIAN7]([TDD] [int],[NOTEXT] [varchar](200))
Insert [LIAN7]
SELECT 14001 ,'03 09 22 24 25 02 05 09 29 32 06 07 08 09 13 06 07 14 18 22 02 13 21 27 30 09 12 14 18 19 04 05 16 17 30' union all
SELECT 14002 ,'02 05 09 29 32 06 07 08 09 13 06 07 14 18 22 02 13 21 27 30 09 12 14 18 19 04 05 16 17 30 05 13 20 23 29' union all
SELECT 14003 ,'06 07 08 09 13 06 07 14 18 22 02 13 21 27 30 09 12 14 18 19 04 05 16 17 30 05 13 20 23 29 01 12 21 24 29' union all
SELECT 14004 ,'06 07 14 18 22 02 13 21 27 30 09 12 14 18 19 04 05 16 17 30 05 13 20 23 29 01 12 21 24 29 07 11 13 21 33' union all
SELECT 14005 ,'02 13 21 27 30 09 12 14 18 19 04 05 16 17 30 05 13 20 23 29 01 12 21 24 29 07 11 13 21 33 07 10 19 27 28' union all
SELECT 14006 ,'09 12 14 18 19 04 05 16 17 30 05 13 20 23 29 01 12 21 24 29 07 11 13 21 33 07 10 19 27 28 15 17 18 29 33' union all
SELECT 14007 ,'04 05 16 17 30 05 13 20 23 29 01 12 21 24 29 07 11 13 21 33 07 10 19 27 28 15 17 18 29 33 01 04 07 16 35' union all
SELECT 14008 ,'05 13 20 23 29 01 12 21 24 29 07 11 13 21 33 07 10 19 27 28 15 17 18 29 33 01 04 07 16 35 08 11 14 21 32' union all
SELECT 14009 ,'01 12 21 24 29 07 11 13 21 33 07 10 19 27 28 15 17 18 29 33 01 04 07 16 35 08 11 14 21 32 11 13 20 28 35' union all
SELECT 14010 ,'07 11 13 21