惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
Schneier on Security
A
Arctic Wolf
S
Security Affairs
O
OpenAI News
SecWiki News
SecWiki News
TaoSecurity Blog
TaoSecurity Blog
H
Heimdal Security Blog
T
Threat Research - Cisco Blogs
Hacker News: Ask HN
Hacker News: Ask HN
N
News | PayPal Newsroom
Google Online Security Blog
Google Online Security Blog
C
Cisco Blogs
The Hacker News
The Hacker News
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
C
CXSECURITY Database RSS Feed - CXSecurity.com
P
Privacy International News Feed
V
Vulnerabilities – Threatpost
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
酷 壳 – CoolShell
酷 壳 – CoolShell
H
Hacker News: Front Page
T
Tenable Blog
T
The Exploit Database - CXSecurity.com
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Spread Privacy
Spread Privacy
人人都是产品经理
人人都是产品经理
www.infosecurity-magazine.com
www.infosecurity-magazine.com
V2EX - 技术
V2EX - 技术
L
LINUX DO - 最新话题
The GitHub Blog
The GitHub Blog
博客园 - 三生石上(FineUI控件)
T
The Blog of Author Tim Ferriss
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
V
Visual Studio Blog
The Cloudflare Blog
N
News and Events Feed by Topic
量子位
Google DeepMind News
Google DeepMind News
Application and Cybersecurity Blog
Application and Cybersecurity Blog
L
LINUX DO - 热门话题
P
Palo Alto Networks Blog
Stack Overflow Blog
Stack Overflow Blog
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
Attack and Defense Labs
Attack and Defense Labs
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Hacker News - Newest:
Hacker News - Newest: "LLM"
Apple Machine Learning Research
Apple Machine Learning Research
The Register - Security
The Register - Security
Microsoft Security Blog
Microsoft Security Blog
Know Your Adversary
Know Your Adversary
Webroot Blog
Webroot Blog

博客园 - WinkSky

索引 This is a test post by Windows Live Writer [提问]SQL2005关于点对点事务型映射 李开复:21世纪7种人才最抢手 SQL2000中奇怪的NULL值记录问题[求助] SQL2005常见性能问题排错演示代码[收藏] 上海Oracle高峰会感悟 Microsoft® Visual Studio® .NET™ 2003 Service Pack 1 存储过程编写小工具[收藏] ASP.NET(C#) 編碼規範[整理讨论] 颜色代码表[转] Gmail的图片签名[收藏] 精妙SQL语句收集[转载] [转载]61条面向对象设计的经验原则 需求工程16字方针 SQL各种写法的效率问题-转载自邹建专栏 SQL2000视图问题[请教] 讨论String与string的区别. 一道终身受用的测试题
[提问]升级至SQL2005后续问题讨论.
WinkSky · 2006-12-05 · via 博客园 - WinkSky

遇到2个比较困惑的问题,第一个是关于DTS资料源的问题

DTS中有一个步骤为执行SQL工作(跑一个存储过程)DB升级至SQL2005后出现溢位错误,无法跑这个步骤,

但在SQL Query Analyzer中直接跑存储过程确实可以的,后把数据源从OLE DB改成ODBC后就好了,是不是OLE DBSQL2005上的处理有所变更?

第二个是关于Linked Server的问题:原本一个段类似于一下的SQL语句在升级到SQL2005后就变得异常缓慢。

Update [IAC-HR.IEC2.IAC].[IACT_HR_DATA].dbo.tAttendanceDay 

Set StartHour=a.StartHour,StartMinute=a.StartMinute,StartTimeFlag=''

--select *

From AttendanceProveItem a,[IAC-HR.IEC2.IAC].[IACT_HR_DATA].dbo.tAttendanceDay  b 

Where a.EFormNo='ADP200612050003' and a.StartHour <> '' and StateID=1

and a.EmployeeNo = b.EmployeeNo and a.AttendanceDate=b.AttendanceDate

[IAC-HR.IEC2.IAC] 不变 还是SQL2000

AttendanceProveItem所在资料库从2000升级至2005

[IAC-HR.IEC2.IAC].[IACT_HR_DATA].dbo.tAttendanceDay 资料量100W条左右

AttendanceProveItem资料量10条左右

AttendanceProveItem所在资料库为2000的时候,执行需要4秒左右

AttendanceProveItem所在资料库为2005的时候,执行需要21分钟左右,看了一下执行计划,好像所有的时间都花在

远端扫描上,这是20052000的区别么?

  但是不做Update只做Select的还是很快的,只需要几秒。。。