日期:2014-05-17 浏览次数:20681 次
CREATE TABLE [dbo].[ZTest](
[ID] [uniqueidentifier] NOT NULL ,
[WatchObjID] [int] NOT NULL,
[SensorID] [int] NOT NULL,
[CollectDateTime] [datetime] NOT NULL,
[WatchValue] [numeric](20, 4) NULL
) ON [PRIMARY]
insert into ZTest(
ID, WatchObjID, SensorID, CollectDateTime, WatchValue
)
values(
'{01454A37-5E65-4929-BAF7-60BE6D588515}', 5, 1, '2013-06-03 14:59:42', 4.1100
)
insert into ZTest(
ID, WatchObjID, SensorID, CollectDateTime, WatchValue
)
values(
'{02FBB8E8-CDC2-4EAB-8866-70D9FF6D42A3}', 5, 2, '2013-06-03 14:59:42', 4.2200
)
insert into ZTest(
ID, WatchObjID, SensorID, CollectDateTime, WatchValue
)
values(
'{DDCF40D7-05CA-456E-8980-BFE28E801499}', 5, 3, '2013-06-03 14:59:42', 4.3300
)
insert into ZTest(
ID, WatchObjID, SensorID, CollectDateTime, WatchValue
)
values(
'{F38006A6-8934-49C1-BB6C-BEF9CAA3A25E}', 5, 4, '2013-06-03 14:59:42', 4.4400
)
insert into ZTest(
ID, WatchObjID, SensorID, CollectDateTime, WatchValue
)
values(
'{B87E08A0-BF71-485F-84F9-EA41FBDC1314}', 5, 5, '2013-06-03 14:59:42', 4.5500
)
insert into ZTest(
ID, WatchObjID, SensorID, CollectDateTime, WatchValue
)
values(
'{93AFCF38-B7A9-4711-9BA2-CB28354D6310}', 5, 1, '2013-06-03 14:59:45', 3.1000
)
insert into ZTest(
ID, WatchObjID, SensorID, CollectDateTime, WatchValue
)
values(
'{EBE9BAD1-381B-4916-AA05-30681942361D}', 5, 2, '2013-06-03 14:59:45', 3.2000
)
insert into ZTest(
ID, WatchObjID, SensorID, CollectDateTime, WatchValue
)
values(
'{1C660463-2D1F-45A7-A4F9-60870E2EACC3}', 5, 3, '2013-06-03 14:59:45', 3.3000
)
insert into ZTest(
ID, WatchObjID, SensorID, CollectDateTime, WatchValue
)
values(
'{CA71B2EF-1CE6-4683-8904-72DA67A890B0}', 5, 4, '2013-06-03 14:59:45', 3.4000
)
insert into ZTest(
ID, WatchObjID, SensorID, CollectDateTime, WatchValue
)
values(