You are here: Re: Redefining an auto-generated primary key constraint name « MsSQL Server « IT news, forums, messages
Re: Redefining an auto-generated primary key constraint name

Posted by othellomy on 01/10/07 06:59

I think the query fails but for some reason it returns all rows instead
of nothing. Because when I tried to run a similar query (to test) on
another server (sql Anywhere) it just did not return any rows. However,
in SQL anywhere sysobjects is implemented as a view and id is numeric
instead of int...

othell...@yahoo.com wrote:
> When I execute the following query:
> select name
> from sysobjects
> where object_id('sysobjects') = 1
> Why do I get all the rows instead of only one?
>

 

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

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