Re: faster count(*) or alternative
- From: "Russ Rose" <russrose@xxxxxxxxxxx>
- Date: Tue, 27 Feb 2007 23:10:35 -0600
"Erland Sommarskog" <esquel@xxxxxxxxxxxxx> wrote in message
news:Xns98E480B95D736Yazorman@xxxxxxxxxxxx
C10B (tswalton@xxxxxxxxx) 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@xxxxxxxxxxxxx
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
.
- References:
- faster count(*) or alternative
- From: C10B
- Re: faster count(*) or alternative
- From: Russ Rose
- Re: faster count(*) or alternative
- From: C10B
- Re: faster count(*) or alternative
- From: Erland Sommarskog
- faster count(*) or alternative
- Prev by Date: Re: Help required!
- Next by Date: Re: Reading a directory
- Previous by thread: Re: faster count(*) or alternative
- Next by thread: faster count(*) or alternative
- Index(es):