You are here: Re: Execution Plan Hinting « MsSQL Server « IT news, forums, messages
Re: Execution Plan Hinting

Posted by Erland Sommarskog on 03/10/06 00:46

Dan Guzman (guzmanda@nospam-online.sbcglobal.net) writes:
>> BEGIN TRANSACTION
>> DELETE * FROM Whatever
>> BULK INSERT INTO Whatever...(etc)
>> COMMIT TRANSACTION
>
> These statements run consecutively and not in parallel. You shouldn't
> get a PK violation unless the file contains duplicate data so it looks
> to me like you found a bug. I can repro this under SQL 2000 but no
> problem under SQL 2005.

Would mind sharing that repro? It sounds like a pretty wild bug to me;
one of the kind that make you ask "how do they do it?"

--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация