易截截图软件、单文件、免安装、纯绿色、仅160KB

SQL Server Version

I'm continually trying to track down what service packs are installed on various SQL Servers I support. I can never find the right support page on Microsoft's site. So here's an article with all the SQL Server version information I can track down. If you know of any older versions or can help me fill out any missing data, please post in the comments and I'll update the article.
The versions of SQL Server are listed in the following table. Below the table are instructions to determine what build you are running.
SQL Server 2008
10.00.27.57
SQL Server 2008 SP1 CU6
18 Jan 2010
10.00.2746
SQL Server 2008 SP1 CU5
24 Nov 2009
10.00.2734
SQL Server 2008 SP1 CU4
22 Sept 2009
10.00.2723
SQL Server 2008 SP1 CU3
21 July 2009
10.00.2714
SQL Server 2008 SP1 CU2
18 May 2009
10.00.2710
SQL Server 2008 SP1 CU1
16 Apr 2009
10.00.2531
SQL Server 2008 SP1
7 Apr 2009
10.00.1828
SQL Server 2008 RTM CU9
18 Jan 2009
10.00.1823
SQL Server 2008 RTM CU8
16 Nov 2009
10.00.1818
SQL Server 2008 RTM CU7
21 Sept 2009
10.00.1812
SQL Server 2008 RTM CU6
21 July 2009
10.00.1806
SQL Server 2008 RTM CU5
18 May 2009
10.00.1798
SQL Server 2008 RTM CU4
17 Mar 2009
10.00.1787
SQL Server 2008 RTM CU3
19 Jan 2009
10.00.1779
SQL Server 2008 RTM CU2
17 Nov 2008
10.00.1763
SQL Server 2008 RTM CU1
22 Sept 2008
10.00.1600
SQL Server 2008 RTM
6 Aug 2008
SQL Server 2005
9.00.4273
SQL Server 2005 SP3 CU7
21 Dec 2009
9.00.4266
SQL Server 2005 SP3 CU6
19 Oct 2009
9.00.4230
SQL Server 2005 SP3 CU5
17 Aug 2009
9.00.4226
SQL Server 2005 SP3 CU4
16 June 2009
9.00.4220
SQL Server 2005 SP3 CU3
21 Apr 2009
9.00.4211
SQL Server 2005 SP3 CU2
17 Feb 2009
9.00.4207
SQL Server 2005 SP3 CU1
20 Dec 2008
9.00.4035
SQL Server 2005 SP3
16 Dec 2008
9.00.3356
SQL Server 2005 SP2 CU17
21 Dec 2009
9.00.3355
SQL Server 2005 SP2 CU16
19 Oct 2009
9.00.3330
SQL Server 2005 SP2 CU15
18 Aug 2009
9.00.3328
SQL Server 2005 SP2 CU14
16 June 2009
9.00.3225


相关文档:

SQL 大全 心雨之家

1.按姓氏笔画排序:
Select * from TableName Order By CustomerName Collate Chinese_PRC_Stroke_ci_as
2.数据库加密:
select encrypt('原始密码')
select pwdencrypt('原始密码')
select pwdcompare('原始密码','加密后密码') = 1--相同;否则不相同 encrypt('原始密码')
select pwdencrypt('原始密码')
select pw ......

SQL随机查询

SQL Server:
Select TOP N * from TABLE Order By NewID()  
Select TOP N * from TABLE Order By NewID()
NewID()函数将创建一个 uniqueidentifier 类型的唯一值。上面的语句实现效果是从Table中随机读取N条记录。
Access:
Select TOP N *&n ......

动态SQL(Dynamic SQL)

----start
    动态SQL是在程序运行时构造的,要执行单条SQL,使用EXECUTE IMMEDATE 语句;当批量执行SQL时,先使用PREPARE 语句构造SQL,然后使用EXECUTE 语句执行。
一:Prepare语句:用来构造批量SQL
语法:
PREPARE <sql-statement> [OUTPUT] INTO <result> [INPUT INTO] <input> ......

SQL之七——数据类型,流控

SQL2000的数据类型及长度
==============================
bigint 8
binary 8000
bit 1
char 8000
datetime 8
decimal 17
float 8
image 16
int 4
money 8
nchar 8000
ntext 16
numeric 17
nvarchar 8000
real 4
smalldatetime 4
smallint 2
smallmoney 4
sql_variant 8016
sysname 256
text 16
tim ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号