You are here: Re: delete particular rows in a table « MsSQL Server « IT news, forums, messages
Re: delete particular rows in a table

Posted by NiTiN on 07/27/06 04:11

> You are assuming that the rows will be returned in a particular order which
> w/o a ORDER BY statement is not guaranteed.

True, but unless there are updations and insertions occuring, the order
of the rows is usually the same as that provided by a SELECT statement
(perhaps a statistics update would cause a new execution plan to
provide rows in a different order).

When you've got duplicate entries and you don't care which ones get
deleted, you could use a modified version of the example to delete all
but one.

N.I.T.I.N.

 

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

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