SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
Register Now and get your question answered!
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 how to locate a column
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Constraint Violating Yak Guru

360 Posts

Posted - 08/21/2014 :  11:08:55  Show Profile  Reply with Quote
I have just loaded some tables to our main db.
there is a col in one table called
I want to know how to find where MAPCONCEPTID field in one of the table is mapped to.

Edited by - AdamWest on 08/21/2014 11:17:37

Almighty SQL Goddess

38114 Posts

Posted - 08/21/2014 :  12:30:10  Show Profile  Visit tkizer's Homepage  Reply with Quote
What do you mean by "mapped to"? Are you referring to a referential integrity/foreign keys? If a foreign key doesn't exist, then there isn't a way to find the relationship unless the column is named the same in other tables or by running a trace.

Tara Kizer
SQL Server MVP since 2007
Go to Top of Page

Aged Yak Warrior

531 Posts

Posted - 08/21/2014 :  18:17:32  Show Profile  Reply with Quote
Maybe the following link can help (it's certainly interesting reading). Please post your solution if you find one, so we all can learn how it's done.
http://msdn.microsoft.com/en-us/library/aa175805 SQL.80 .aspx
Go to Top of Page

Flowing Fount of Yak Knowledge

United Kingdom
2155 Posts

Posted - 08/23/2014 :  02:14:04  Show Profile  Visit jackv's Homepage  Reply with Quote
Do you mean some sort of object mapping , where a database schema is extracted and mapped from the application side?

Jack Vamvas
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000