You are here: Re: faster count(*) or alternative « MsSQL Server « IT news, forums, messages
Re: faster count(*) or alternative

Posted by Russ Rose on 02/28/07 05:10

"Erland Sommarskog" <esquel@sommarskog.se> wrote in message
news:Xns98E480B95D736Yazorman@127.0.0.1...
> C10B (tswalton@gmail.com) writes:
>> greg - I don't know what a DDL is
>
> DDL = Data Definition Language. That is, CREATE TABLE and CREATE INDEX and
> the like.
>
> If I had had a penny for every time someone says DDL in answer, without
> the
> person asking having no idea what it means, I would be a rich man now.
>
>> russ - thanks
>
> What Russ proposed is the same idea that I proposed, but rather than
> relying
> SQL Server updating an indexed view, he suggested a separate table that
> you
> update through a trigger.
>

Indexed view is probably best, I just like having more control.

>
> --
> 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

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