You are here: Re: How to make it shorter and better? « PHP Programming Language « IT news, forums, messages
Re: How to make it shorter and better?

Posted by Colin McKinnon on 10/12/30 11:46

Sandman wrote:

> In article <e2vf80$cn7$1@news.tiscali.fr>, "AlGorr" <a@a.com> wrote:
>
>> Sandman thanks a lot !!!!!!!!!!!!!!!!!!!
>> That's much better! I will use your exemple.
>>
>> Only look:
>> we have to ask 4 times the server for these 4 queries. It's a SQL
>> question. Is it possible to put for ex. 2 queries in one big and make
>> work the server more faster?
>
> Nah, not more efficient. It's still four queries with four different
> rules. They all need to be executed separately.
>

Actually you could do strange things with cartesian products but it may be
messy depending on how the database is set up. Presumably if AlGorr needs
to look at it it's because there is a performance issue. First place to
start with performance issues in database queries is.....the database. Not
the application language.

C.

 

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

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