Reply to Re: Redefining an auto-generated primary key constraint name

Your name:

Reply:


Posted by Erland Sommarskog on 01/10/07 11:24

(othellomy@yahoo.com) writes:
> Okay. Since we are on the subject, I fail to understand why SQL Server
> 2K would return more than one row. If object_id('sysobejcts')
> returns 1 then there is only one row with that id in sysobjects table.

Whatever that has to do with anything. The condition is still 1 = 1.

> I would like to look at the code of object_id() and what datatype it
> returns only if I can find it! (That's a different issue)

There is no code stored in SQL Server for tables. The easiest way to
see the column definitions is sp_help.



--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx

[Back to original 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

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