You are here: Re: Temp Table Faster? « MsSQL Server « IT news, forums, messages
Re: Temp Table Faster?

Posted by Alexander Kuznetsov on 10/07/75 11:35

Erland Sommarskog wrote:
>
> An alternative is to use a permanent table, that would have some session
> key and an IDENTITY column (in SQL 2000). When the user makes his first
> search, you get all data into that table. Then as he pages on, you retrieve
> the rows from this table. This means you don't have to redo the query for
> subsequent pages, but can get it from the table. This is likely to give

Depending on the actual practical needs, yet another variation of this
technique is to save only the primary keys into the permanent table.
Requires less disk space and displays changes made after the PK set was
materialized.

 

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

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