<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: SQL SERVER &#8211; 2005 &#8211; List All The Constraint of Database &#8211; Find Primary Key and Foreign Key Constraint in Database</title>
	<atom:link href="http://blog.sqlauthority.com/2007/09/16/sql-server-2005-list-all-the-constraint-of-database-find-primary-key-and-foreign-key-constraint-in-database/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2007/09/16/sql-server-2005-list-all-the-constraint-of-database-find-primary-key-and-foreign-key-constraint-in-database/</link>
	<description>Notes of a SQL Server MVP and Database Administrator</description>
	<lastBuildDate>Sat, 21 Nov 2009 05:54:09 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Neelam Sodhi</title>
		<link>http://blog.sqlauthority.com/2007/09/16/sql-server-2005-list-all-the-constraint-of-database-find-primary-key-and-foreign-key-constraint-in-database/#comment-55049</link>
		<dc:creator>Neelam Sodhi</dc:creator>
		<pubDate>Thu, 20 Aug 2009 10:40:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/09/16/sql-server-2005-list-all-the-constraint-of-database-find-primary-key-and-foreign-key-constraint-in-database/#comment-55049</guid>
		<description>hi pinal,

how to insert/update a tables&#039;s data residing in database A(suppose) of server1 to server 2&#039;s database B&#039;s table which can have same or different table structure.

I know one solution is with the usage of linked server,but i want to do it using replication or mirroring or any other technique(if available) for sql server 2005.

Please provide me code/querry&#039;s rather than theory.

Thanks alot.</description>
		<content:encoded><![CDATA[<p>hi pinal,</p>
<p>how to insert/update a tables&#8217;s data residing in database A(suppose) of server1 to server 2&#8217;s database B&#8217;s table which can have same or different table structure.</p>
<p>I know one solution is with the usage of linked server,but i want to do it using replication or mirroring or any other technique(if available) for sql server 2005.</p>
<p>Please provide me code/querry&#8217;s rather than theory.</p>
<p>Thanks alot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Imran Mohammed</title>
		<link>http://blog.sqlauthority.com/2007/09/16/sql-server-2005-list-all-the-constraint-of-database-find-primary-key-and-foreign-key-constraint-in-database/#comment-53827</link>
		<dc:creator>Imran Mohammed</dc:creator>
		<pubDate>Sat, 18 Jul 2009 23:03:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/09/16/sql-server-2005-list-all-the-constraint-of-database-find-primary-key-and-foreign-key-constraint-in-database/#comment-53827</guid>
		<description>@Padma, 

If Schema name is Product 

And you want to create a table under schema Product, then you use this script.

Create table Product.Table1  (Eid Int, Ename Varchar(100))

Where Product is Schema Name, and Table1 is the name of the table. 

You should have DDL Permissions, Permissions to create objects in the database.


IM.</description>
		<content:encoded><![CDATA[<p>@Padma, </p>
<p>If Schema name is Product </p>
<p>And you want to create a table under schema Product, then you use this script.</p>
<p>Create table Product.Table1  (Eid Int, Ename Varchar(100))</p>
<p>Where Product is Schema Name, and Table1 is the name of the table. </p>
<p>You should have DDL Permissions, Permissions to create objects in the database.</p>
<p>IM.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: padma</title>
		<link>http://blog.sqlauthority.com/2007/09/16/sql-server-2005-list-all-the-constraint-of-database-find-primary-key-and-foreign-key-constraint-in-database/#comment-53814</link>
		<dc:creator>padma</dc:creator>
		<pubDate>Sat, 18 Jul 2009 07:50:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/09/16/sql-server-2005-list-all-the-constraint-of-database-find-primary-key-and-foreign-key-constraint-in-database/#comment-53814</guid>
		<description>hi,
 im a beginner..please tell me syntax how to create a table within a schema?..</description>
		<content:encoded><![CDATA[<p>hi,<br />
 im a beginner..please tell me syntax how to create a table within a schema?..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Imran Mohammed</title>
		<link>http://blog.sqlauthority.com/2007/09/16/sql-server-2005-list-all-the-constraint-of-database-find-primary-key-and-foreign-key-constraint-in-database/#comment-52188</link>
		<dc:creator>Imran Mohammed</dc:creator>
		<pubDate>Fri, 22 May 2009 05:51:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/09/16/sql-server-2005-list-all-the-constraint-of-database-find-primary-key-and-foreign-key-constraint-in-database/#comment-52188</guid>
		<description>@Shihab

If you see, text of Information_Schema.Constraints view you will find that it is querying from sys.objects view. where we have information about all objects in the database. 

I used the same view but modified it a little bit in order to get information for default constraints, here is the script.


select 
Object_Id
,[name] [Default_Constraint_Name]
,schema_name (schema_id) [Schema_Name]
,object_name (parent_object_id)[Table_Name]
,[Create_Date] 
,[Modify_Date]
 from sys.objects where type = &#039;D&#039;


~ IM.</description>
		<content:encoded><![CDATA[<p>@Shihab</p>
<p>If you see, text of Information_Schema.Constraints view you will find that it is querying from sys.objects view. where we have information about all objects in the database. </p>
<p>I used the same view but modified it a little bit in order to get information for default constraints, here is the script.</p>
<p>select<br />
Object_Id<br />
,[name] [Default_Constraint_Name]<br />
,schema_name (schema_id) [Schema_Name]<br />
,object_name (parent_object_id)[Table_Name]<br />
,[Create_Date]<br />
,[Modify_Date]<br />
 from sys.objects where type = &#8216;D&#8217;</p>
<p>~ IM.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shihab</title>
		<link>http://blog.sqlauthority.com/2007/09/16/sql-server-2005-list-all-the-constraint-of-database-find-primary-key-and-foreign-key-constraint-in-database/#comment-52170</link>
		<dc:creator>Shihab</dc:creator>
		<pubDate>Thu, 21 May 2009 18:32:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/09/16/sql-server-2005-list-all-the-constraint-of-database-find-primary-key-and-foreign-key-constraint-in-database/#comment-52170</guid>
		<description>Is there way to find DEFAULT_CONSTRANTS of the table from INFORMATION_SCHEMA ?</description>
		<content:encoded><![CDATA[<p>Is there way to find DEFAULT_CONSTRANTS of the table from INFORMATION_SCHEMA ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rama</title>
		<link>http://blog.sqlauthority.com/2007/09/16/sql-server-2005-list-all-the-constraint-of-database-find-primary-key-and-foreign-key-constraint-in-database/#comment-52051</link>
		<dc:creator>Rama</dc:creator>
		<pubDate>Tue, 19 May 2009 10:13:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/09/16/sql-server-2005-list-all-the-constraint-of-database-find-primary-key-and-foreign-key-constraint-in-database/#comment-52051</guid>
		<description>hey pinal

i get this error when i run ur script

&#039;SCHEMA_NAME&#039; is not a recognized function name.

ne thoughts?</description>
		<content:encoded><![CDATA[<p>hey pinal</p>
<p>i get this error when i run ur script</p>
<p>&#8216;SCHEMA_NAME&#8217; is not a recognized function name.</p>
<p>ne thoughts?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQLAuthority News - Best Articles on SQLAuthority.com Journey to SQL Authority with Pinal Dave</title>
		<link>http://blog.sqlauthority.com/2007/09/16/sql-server-2005-list-all-the-constraint-of-database-find-primary-key-and-foreign-key-constraint-in-database/#comment-47249</link>
		<dc:creator>SQLAuthority News - Best Articles on SQLAuthority.com Journey to SQL Authority with Pinal Dave</dc:creator>
		<pubDate>Tue, 24 Feb 2009 12:10:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/09/16/sql-server-2005-list-all-the-constraint-of-database-find-primary-key-and-foreign-key-constraint-in-database/#comment-47249</guid>
		<description>[...] SQL SERVER - 2005 - List All The Constraint of Database - Find Primary Key and Foreign Key Constrain... [...]</description>
		<content:encoded><![CDATA[<p>[...] SQL SERVER &#8211; 2005 &#8211; List All The Constraint of Database &#8211; Find Primary Key and Foreign Key Constrain&#8230; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sajid</title>
		<link>http://blog.sqlauthority.com/2007/09/16/sql-server-2005-list-all-the-constraint-of-database-find-primary-key-and-foreign-key-constraint-in-database/#comment-46344</link>
		<dc:creator>Sajid</dc:creator>
		<pubDate>Thu, 05 Feb 2009 02:55:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/09/16/sql-server-2005-list-all-the-constraint-of-database-find-primary-key-and-foreign-key-constraint-in-database/#comment-46344</guid>
		<description>Superb site... 

This site really provides simple solutions for complex problems

Thanks alot</description>
		<content:encoded><![CDATA[<p>Superb site&#8230; </p>
<p>This site really provides simple solutions for complex problems</p>
<p>Thanks alot</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: suresh</title>
		<link>http://blog.sqlauthority.com/2007/09/16/sql-server-2005-list-all-the-constraint-of-database-find-primary-key-and-foreign-key-constraint-in-database/#comment-43983</link>
		<dc:creator>suresh</dc:creator>
		<pubDate>Fri, 31 Oct 2008 12:04:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/09/16/sql-server-2005-list-all-the-constraint-of-database-find-primary-key-and-foreign-key-constraint-in-database/#comment-43983</guid>
		<description>i was seaching for the query regarding constraints. It was nice and thankx</description>
		<content:encoded><![CDATA[<p>i was seaching for the query regarding constraints. It was nice and thankx</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://blog.sqlauthority.com/2007/09/16/sql-server-2005-list-all-the-constraint-of-database-find-primary-key-and-foreign-key-constraint-in-database/#comment-43306</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Fri, 26 Sep 2008 22:47:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/09/16/sql-server-2005-list-all-the-constraint-of-database-find-primary-key-and-foreign-key-constraint-in-database/#comment-43306</guid>
		<description>Hi Pinal,
             I have a situation wherein I need to change a particular name in my entire database. 
            Please tell me how can i trace this particular word - it might be occuring in &#039;n&#039; number of tables in the database, in &#039;n&#039; number of column values and in &#039;n&#039; number of records throughout present in any table of that database.
            I need to write a cursor, go to each record and trace that word, likewise for others, for each table. I heard that sysobjects and syscolumns could help in this scenario, could you please generate the code if possible.

Thanks, Mark</description>
		<content:encoded><![CDATA[<p>Hi Pinal,<br />
             I have a situation wherein I need to change a particular name in my entire database.<br />
            Please tell me how can i trace this particular word &#8211; it might be occuring in &#8216;n&#8217; number of tables in the database, in &#8216;n&#8217; number of column values and in &#8216;n&#8217; number of records throughout present in any table of that database.<br />
            I need to write a cursor, go to each record and trace that word, likewise for others, for each table. I heard that sysobjects and syscolumns could help in this scenario, could you please generate the code if possible.</p>
<p>Thanks, Mark</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arthur</title>
		<link>http://blog.sqlauthority.com/2007/09/16/sql-server-2005-list-all-the-constraint-of-database-find-primary-key-and-foreign-key-constraint-in-database/#comment-42738</link>
		<dc:creator>Arthur</dc:creator>
		<pubDate>Fri, 12 Sep 2008 17:21:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/09/16/sql-server-2005-list-all-the-constraint-of-database-find-primary-key-and-foreign-key-constraint-in-database/#comment-42738</guid>
		<description>I think is easier... it&#039;s pretty much like the one publish  by szolarp and &quot;fixed&quot; by Tushar Mehere...

is this:
SELECT RO.NAME AS ParentTable, RC.NAME AS ParentColumn, FO.NAME AS ForeignTable, FC.NAME AS ForeignColumn
FROM sysforeignkeys F INNER JOIN sysobjects RO 
	ON F.rkeyid = RO.id INNER JOIN syscolumns RC 
	ON RC.id = RO.id AND RC.colid = F.rkey INNER JOIN sysobjects FO 
	ON F.fkeyid = FO.id INNER JOIN syscolumns FC 
	ON FC.id = FO.id AND FC.colid = F.fkey 
ORDER BY RO.NAME, RC.NAME, FO.NAME, FC.NAME

we don&#039;t really to know the name...</description>
		<content:encoded><![CDATA[<p>I think is easier&#8230; it&#8217;s pretty much like the one publish  by szolarp and &#8220;fixed&#8221; by Tushar Mehere&#8230;</p>
<p>is this:<br />
SELECT RO.NAME AS ParentTable, RC.NAME AS ParentColumn, FO.NAME AS ForeignTable, FC.NAME AS ForeignColumn<br />
FROM sysforeignkeys F INNER JOIN sysobjects RO<br />
	ON F.rkeyid = RO.id INNER JOIN syscolumns RC<br />
	ON RC.id = RO.id AND RC.colid = F.rkey INNER JOIN sysobjects FO<br />
	ON F.fkeyid = FO.id INNER JOIN syscolumns FC<br />
	ON FC.id = FO.id AND FC.colid = F.fkey<br />
ORDER BY RO.NAME, RC.NAME, FO.NAME, FC.NAME</p>
<p>we don&#8217;t really to know the name&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Imran Mohammed</title>
		<link>http://blog.sqlauthority.com/2007/09/16/sql-server-2005-list-all-the-constraint-of-database-find-primary-key-and-foreign-key-constraint-in-database/#comment-42178</link>
		<dc:creator>Imran Mohammed</dc:creator>
		<pubDate>Fri, 29 Aug 2008 22:14:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/09/16/sql-server-2005-list-all-the-constraint-of-database-find-primary-key-and-foreign-key-constraint-in-database/#comment-42178</guid>
		<description>@SYED,

This might help,

SELECT OBJECT_NAME(PARENT_OBJECT_ID) TABLE_NAME, 
COL_NAME (PARENT_OBJECT_ID, PARENT_COLUMN_ID)COLUMN_NAME , 
NAME DEFAULT_CONSTRAINT_NAME 
FROM SYS.DEFAULT_CONSTRAINTS ORDER BY 1

Hope this helps,
Imran.</description>
		<content:encoded><![CDATA[<p>@SYED,</p>
<p>This might help,</p>
<p>SELECT OBJECT_NAME(PARENT_OBJECT_ID) TABLE_NAME,<br />
COL_NAME (PARENT_OBJECT_ID, PARENT_COLUMN_ID)COLUMN_NAME ,<br />
NAME DEFAULT_CONSTRAINT_NAME<br />
FROM SYS.DEFAULT_CONSTRAINTS ORDER BY 1</p>
<p>Hope this helps,<br />
Imran.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Syed</title>
		<link>http://blog.sqlauthority.com/2007/09/16/sql-server-2005-list-all-the-constraint-of-database-find-primary-key-and-foreign-key-constraint-in-database/#comment-42170</link>
		<dc:creator>Syed</dc:creator>
		<pubDate>Fri, 29 Aug 2008 16:57:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/09/16/sql-server-2005-list-all-the-constraint-of-database-find-primary-key-and-foreign-key-constraint-in-database/#comment-42170</guid>
		<description>Hi,
Does any one know how to get DEFAULT Constraint along with the name of the column on which it has defined.
Nirmal query gives the table name, but not the column name, because most of the time DEFAULT is created on the column by using DEFAULT, which create the system generated name of the DEFAULT, so I would like to know how to get the column name along with the table name.

I would appreciate any suggestion.

Thanks</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Does any one know how to get DEFAULT Constraint along with the name of the column on which it has defined.<br />
Nirmal query gives the table name, but not the column name, because most of the time DEFAULT is created on the column by using DEFAULT, which create the system generated name of the DEFAULT, so I would like to know how to get the column name along with the table name.</p>
<p>I would appreciate any suggestion.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Muhammad Usman Arshad</title>
		<link>http://blog.sqlauthority.com/2007/09/16/sql-server-2005-list-all-the-constraint-of-database-find-primary-key-and-foreign-key-constraint-in-database/#comment-42038</link>
		<dc:creator>Muhammad Usman Arshad</dc:creator>
		<pubDate>Tue, 26 Aug 2008 04:34:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/09/16/sql-server-2005-list-all-the-constraint-of-database-find-primary-key-and-foreign-key-constraint-in-database/#comment-42038</guid>
		<description>Hi, 

I think using information schema is much useful than using sysobjects. To see the list of constraints you can use the query:

SELECT * FROM INFORMATION_SCHEMA.TABLE_CONSTRAINTS

or you can use database name with it:

SELECT * FROM  [SugarCMS].INFORMATION_SCHEMA.TABLE_CONSTRAINTS

Here is the complete list of information_schema views:

CHECK_CONSTRAINTS: Check Constraints
COLUMN_DOMAIN_USAGE: Every column that has a user-defined data type.
COLUMN_PRIVILEGES: Every column with a privilege granted to or by the current user in the current database.
COLUMNS:Lists every column in the system
CONSTRAINT_COLUMN_USAGE: Every column that has a constraint defined on it.
CONSTRAINT_TABLE_USAGE: Every table that has a constraint defined on it.
DOMAIN_CONSTRAINTS:	Every user-defined data type with a rule bound to it.
DOMAINS: Every user-defined data type.
KEY_COLUMN_USAGE: Every column that is constrained as a key
PARAMETERS: Every parameter for every user-defined function or stored procedure in the datbase. For functions this returns one row with return value information.
REFERENTIAL_CONSTRAINTS: 	Every foreign constraint in the system.
ROUTINE_COLUMNS: Every column returned by table-valued functions.
ROUTINES: Every stored procedure and function in the database.
SCHEMATA: Every database in the system.
TABLE_CONSTRAINTS: Every table constraint.
TABLE_PRIVILEGES: Every table privilege granted to or by the current user.
TABLES: Every table in the system.
VIEW_COLUMN_USAGE: Every column used in a view definition.
VIEW_TABLE_USAGE: Every table used in a view definition.
VIEWS: Every View</description>
		<content:encoded><![CDATA[<p>Hi, </p>
<p>I think using information schema is much useful than using sysobjects. To see the list of constraints you can use the query:</p>
<p>SELECT * FROM INFORMATION_SCHEMA.TABLE_CONSTRAINTS</p>
<p>or you can use database name with it:</p>
<p>SELECT * FROM  [SugarCMS].INFORMATION_SCHEMA.TABLE_CONSTRAINTS</p>
<p>Here is the complete list of information_schema views:</p>
<p>CHECK_CONSTRAINTS: Check Constraints<br />
COLUMN_DOMAIN_USAGE: Every column that has a user-defined data type.<br />
COLUMN_PRIVILEGES: Every column with a privilege granted to or by the current user in the current database.<br />
COLUMNS:Lists every column in the system<br />
CONSTRAINT_COLUMN_USAGE: Every column that has a constraint defined on it.<br />
CONSTRAINT_TABLE_USAGE: Every table that has a constraint defined on it.<br />
DOMAIN_CONSTRAINTS:	Every user-defined data type with a rule bound to it.<br />
DOMAINS: Every user-defined data type.<br />
KEY_COLUMN_USAGE: Every column that is constrained as a key<br />
PARAMETERS: Every parameter for every user-defined function or stored procedure in the datbase. For functions this returns one row with return value information.<br />
REFERENTIAL_CONSTRAINTS: 	Every foreign constraint in the system.<br />
ROUTINE_COLUMNS: Every column returned by table-valued functions.<br />
ROUTINES: Every stored procedure and function in the database.<br />
SCHEMATA: Every database in the system.<br />
TABLE_CONSTRAINTS: Every table constraint.<br />
TABLE_PRIVILEGES: Every table privilege granted to or by the current user.<br />
TABLES: Every table in the system.<br />
VIEW_COLUMN_USAGE: Every column used in a view definition.<br />
VIEW_TABLE_USAGE: Every table used in a view definition.<br />
VIEWS: Every View</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ankush</title>
		<link>http://blog.sqlauthority.com/2007/09/16/sql-server-2005-list-all-the-constraint-of-database-find-primary-key-and-foreign-key-constraint-in-database/#comment-41440</link>
		<dc:creator>Ankush</dc:creator>
		<pubDate>Thu, 07 Aug 2008 11:17:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/09/16/sql-server-2005-list-all-the-constraint-of-database-find-primary-key-and-foreign-key-constraint-in-database/#comment-41440</guid>
		<description>What r the differences b/w Sql Server 2005 and 2000</description>
		<content:encoded><![CDATA[<p>What r the differences b/w Sql Server 2005 and 2000</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kalyan</title>
		<link>http://blog.sqlauthority.com/2007/09/16/sql-server-2005-list-all-the-constraint-of-database-find-primary-key-and-foreign-key-constraint-in-database/#comment-41288</link>
		<dc:creator>kalyan</dc:creator>
		<pubDate>Mon, 04 Aug 2008 11:30:55 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/09/16/sql-server-2005-list-all-the-constraint-of-database-find-primary-key-and-foreign-key-constraint-in-database/#comment-41288</guid>
		<description>i’m new to sql server 2005 …
can u plz suggest ny gud book for sqlserver 2005 for a beginner and i want to do certification for d same..

plz guide!!!!!</description>
		<content:encoded><![CDATA[<p>i’m new to sql server 2005 …<br />
can u plz suggest ny gud book for sqlserver 2005 for a beginner and i want to do certification for d same..</p>
<p>plz guide!!!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim4it</title>
		<link>http://blog.sqlauthority.com/2007/09/16/sql-server-2005-list-all-the-constraint-of-database-find-primary-key-and-foreign-key-constraint-in-database/#comment-39438</link>
		<dc:creator>Tim4it</dc:creator>
		<pubDate>Mon, 23 Jun 2008 09:11:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/09/16/sql-server-2005-list-all-the-constraint-of-database-find-primary-key-and-foreign-key-constraint-in-database/#comment-39438</guid>
		<description>szolarp &amp;  Tushar 

Many thanks .. you really helped me ..</description>
		<content:encoded><![CDATA[<p>szolarp &amp;  Tushar </p>
<p>Many thanks .. you really helped me ..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Niraimathi</title>
		<link>http://blog.sqlauthority.com/2007/09/16/sql-server-2005-list-all-the-constraint-of-database-find-primary-key-and-foreign-key-constraint-in-database/#comment-38780</link>
		<dc:creator>Niraimathi</dc:creator>
		<pubDate>Sat, 24 May 2008 12:46:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/09/16/sql-server-2005-list-all-the-constraint-of-database-find-primary-key-and-foreign-key-constraint-in-database/#comment-38780</guid>
		<description>Msg 547, Level 16, State 0, Line 1
The UPDATE statement conflicted with the REFERENCE constraint &quot;hrpyprc_ps_auth_r01_fk&quot;. The conflict occurred in database &quot;HRMS40_CBI&quot;, table &quot;dbo.hrpyprc_payset_auth_cnt&quot;.
The statement has been terminated.</description>
		<content:encoded><![CDATA[<p>Msg 547, Level 16, State 0, Line 1<br />
The UPDATE statement conflicted with the REFERENCE constraint &#8220;hrpyprc_ps_auth_r01_fk&#8221;. The conflict occurred in database &#8220;HRMS40_CBI&#8221;, table &#8220;dbo.hrpyprc_payset_auth_cnt&#8221;.<br />
The statement has been terminated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gerry</title>
		<link>http://blog.sqlauthority.com/2007/09/16/sql-server-2005-list-all-the-constraint-of-database-find-primary-key-and-foreign-key-constraint-in-database/#comment-37604</link>
		<dc:creator>Gerry</dc:creator>
		<pubDate>Mon, 12 May 2008 11:37:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/09/16/sql-server-2005-list-all-the-constraint-of-database-find-primary-key-and-foreign-key-constraint-in-database/#comment-37604</guid>
		<description>This blog helped me a lot! Many thanks to you all.

I was looking for days to solve my constraint problem.
this is very usefull in my ADO application. Looks like ADO does not have functions to read detailed constraint information like this script from an SQL database. Therefore I was forced to search for a solution in SQL scripting and here it was!

Thx!</description>
		<content:encoded><![CDATA[<p>This blog helped me a lot! Many thanks to you all.</p>
<p>I was looking for days to solve my constraint problem.<br />
this is very usefull in my ADO application. Looks like ADO does not have functions to read detailed constraint information like this script from an SQL database. Therefore I was forced to search for a solution in SQL scripting and here it was!</p>
<p>Thx!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Henko</title>
		<link>http://blog.sqlauthority.com/2007/09/16/sql-server-2005-list-all-the-constraint-of-database-find-primary-key-and-foreign-key-constraint-in-database/#comment-36808</link>
		<dc:creator>Henko</dc:creator>
		<pubDate>Mon, 05 May 2008 09:27:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/09/16/sql-server-2005-list-all-the-constraint-of-database-find-primary-key-and-foreign-key-constraint-in-database/#comment-36808</guid>
		<description>Thanks for the script above, it really helped me on deleting my DWH constraints. Cheers.</description>
		<content:encoded><![CDATA[<p>Thanks for the script above, it really helped me on deleting my DWH constraints. Cheers.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
