You are here: Re: Select with aliases, please help « MsSQL Server « IT news, forums, messages
Re: Select with aliases, please help

Posted by Hugo Kornelis on 08/10/05 18:18

On 10 Aug 2005 08:12:17 -0700, --CELKO-- wrote:

(snip)
>This statement will error out when Bloob has more than one qualifying
>store. The UPDATE FROM syntax will give you a random result.

Hi Joe,

You forgot to tell the OP that the statement you posted will also set
the column to NULL in all rows that have no qualifying store. Something
the OP didn't want, judging by the EXISTS clause in the query he posted.

Best, Hugo
--

(Remove _NO_ and _SPAM_ to get my e-mail address)

 

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

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