Quantcast
Channel: Forum SQL Server Database Engine
Viewing all articles
Browse latest Browse all 15889

How? Steps to remove a Schema-bound dependency from a Table and maintain the existing table data

$
0
0

Is there a TSQL code or set of steps to remove a Schema-Bound Dependency from a table?

There are plenty of articles about finding or adding a Schema-Bound Dependency, but nothing related to removing one.

In fact, several articles indicate that they can not be removed.

Using the Microsoft SQL Server 2008 Migration Assistant for Access - the tables were successfully migrated to SQL Server 2008 r2

The Dependency was actually to an old table no longer being used. Both the old table and the dependency were succussfully migrated to SQL Server.

Deleting a PK record results in the RI enforcement from the Schema-Bound Dependency. Using SSMS, righ-click on the table - and choose view Object Dependencies shows the relationship is there. Would really appreciate some step-by-step instructions on this.


Rx


Viewing all articles
Browse latest Browse all 15889

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>