- 0
- 0
- 约7.62千字
- 约 37页
- 2018-03-09 发布于河南
- 举报
SQL_Server_2005新特性
SQL Server 2005新特性
王为
微软认证讲师 微软ESS护航工程师
wangwei@
Summary New Feature
Tools and Utilities Enhancements
Database Engine Enhancements
New Notification Services
New Reporting Services
New Service Broker
Analysis Services Enhancements
Data Transformation Services Enhancements
Replication Enhancements
Data Access Interfaces Enhancements
Overview of SQL Server 2005
What is SQL Server 2005?
The Database Engine
Analysis Services
SQL Server Integration Services
Notification Services
Reporting Services
Service Broker
The Common Language Runtime
Native HTTP Support
Replication
Full-Text Search
SQL Server 2005
What Is SQL Server 2005?
Relational Database Engine
.NET CLR
Analysis Services
Native HTTP Support
Service Broker
Replication
Reporting Services
Full-Text Search
Notification Services
SQL Server Integration Services
Enhanced Data Types
Large value data types:
varchar(max)
nvarchar(max)
varbinary(max)
8K—2G
Max关键字指明最大值
xml – stores XML data with optional schema
What Is a Partitioned Table?
Table data distributed across multiple file groups
Improved performance on multiprocessor/multidrive systems
Easier management of large tables
How to Partition a Table
Enhanced Indexing Features
The ALTER INDEX statement allows:
Disabling
Rebuilding
Reorganizing
Setting of options
ALTER INDEX PK_CustId ON Sales.Customer REBUILD
ALTER INDEX IX_CustDOB ON Sales.Customer DISABLE
ALTER INDEX PK_CustId ON Sales.Customer REORGANIZE
ALTER INDEX PK_CustId ON Sales.Customer SET(...)
Use the OUTPUT Keyword
DECLARE @InsertDetails TABLE
(ProductID int,
InsertedBy sysname)
INSERT INTO Stock.ProductList
OUTPUT inserted.ProductID, suser_name() INTO @InsertDetails
VALUES
(Racing Bike, 412.99)
SELECT * FROM @InsertDetails
Cust
Bike
Chain
Mike
8
2
Lisa
3
7
PIVOT and UNPIVOT Operators
PIVOT – converts values to columns
Cust
Prod
Qty
Mike
Bike
8
Mike
Chain
2
Lisa
Bike
3
Lisa
Chain
7
SELECT * FROM Sales.Order
PIVOT (SUM(Qty) FOR Prod IN ([Bike],[Chain])) PVT
SELECT Cust, Prod, Qty
FROM Sales.Pivot
您可能关注的文档
最近下载
- 解读冠状窦解剖与静脉造影课件.pdf
- 陈士铎《洞穴奥旨》论治疮疡的学术经验.docx VIP
- 职场必备的64种思维模式.pdf VIP
- 广西通志·机构编制志.doc VIP
- DB13T 5687-2023 负压封闭引流术护理规范.pdf VIP
- 儿科雾化护理中的沟通技巧.pptx VIP
- 海外经济与大类资产:周期、流动性和地缘下的黄金-250628-中信建投-11页.pdf VIP
- 小学数学课程与教学(第二版):小学数学课程PPT教学课件.pptx
- DB32_T 5206-2025 中医护理门诊建设与服务规范.docx VIP
- (高清版)DG∕TJ 08-2266-2018 装配整体式叠合剪力墙结构技术规程.docx VIP
原创力文档

文档评论(0)