You are here: Re: SQL 2000 dies on JOIN query « MsSQL Server « IT news, forums, messages
Re: SQL 2000 dies on JOIN query

Posted by Alexander Kuznetsov on 08/22/06 14:32

Martini,

why do you want to do things like this? UDFs in WHERE clause are
usually performance killers. Isn't it simpler and faster to do just as
follows:

SELECT
a.person, v.code AS formula
FROM rows1 AS a
INNER JOIN rows2 v ON a.type=v.type
AND isnull(a.col1,'')=isnull(v.col2,'')

 

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

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