all groups > sql server programming > october 2003 >
You're in the

sql server programming

group:

Unique Constraints in SQL-DMO


Re: Unique Constraints in SQL-DMO oj
10/7/2003 1:40:15 PM
sql server programming:
http://msdn.microsoft.com/library/en-us/sqldmo/dmoref_cnst04_5td1.asp?frame=true

--
-oj
RAC v2.2 & QALite!
http://www.rac4sql.net


"Carles Beltran Vazquez" <Carles.Beltran-Vazquez@estudiant.upc.es> wrote in
message news:ehVfxARjDHA.2232@TK2MSFTNGP09.phx.gbl...
[quoted text, click to view]

Re: Unique Constraints in SQL-DMO Allan Mitchell
10/7/2003 9:23:51 PM
What about

index.Type = SQLDMOIndex_DRIUniqueKey



--
--

Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org

"Carles Beltran Vazquez" <Carles.Beltran-Vazquez@estudiant.upc.es> wrote in
message news:ehVfxARjDHA.2232@TK2MSFTNGP09.phx.gbl...
[quoted text, click to view]

Unique Constraints in SQL-DMO Carles Beltran Vazquez
10/7/2003 10:18:44 PM
Hi,

Do anyone knows how can i get the Unique constraints of a table from
SQL-DMO?

I know how to get tables, views, PK's, FK's, ... but i can't find the UNIQUE
constraint anywhere from the database, table or column object ...

Thanks in advance...



Carlos Beltrán Vázquez
antiCODE@telefonica.net
cbeltran@mss.es

AddThis Social Bookmark Button