You are here: Re: Help convert an Oracle select on indexes to MSSQL...? « MsSQL Server « IT news, forums, messages
Re: Help convert an Oracle select on indexes to MSSQL...?

Posted by Roy Harvey on 07/12/07 18:16

On Thu, 12 Jul 2007 11:02:52 -0700, amonotod@netscape.net wrote:

> Thanks much for the help, I appreciate it! I was wondering... Can
>you tell me why the query only shows Primary Key indexes? For the
>databases I tested on, there are many additional indices that were
>created with "create index..." that do not show up.

I have no idea, as it shows all indexes in my testing.

>Also, which field
>would I query for the uniqueness attribute?

indexproperty(o.id, i.name, 'IsUnique')

Roy Harvey
Beacon Falls, CT

 

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

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