日期:2014-05-17 浏览次数:20509 次
----------------------------
-- Author :DBA_Huangzj(發糞塗牆)
-- Date :2013-05-13 09:52:30
-- Version:
-- Microsoft SQL Server 2008 R2 (SP1) - 10.50.2500.0 (X64)
-- Jun 17 2011 00:54:03
-- Copyright (c) Microsoft Corporation
-- Enterprise Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1, v.721)
--
----------------------------
--> 测试数据:[table2]
if object_id('[table2]') is not null drop table [table2]
go
create table [table2]([bh] int,[khdate] datetime,[age] int)
insert [table2]