Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
CP
Starting Member
9 Posts |
Posted - 2012-04-26 : 12:01:32
|
I am using Microsoft SQL Server Management Studio 2008 to retrieve information from AX 2012. The table relations in the AX AOT is just what I'm looking for, however I will not have access to them. Is there a way that I can get the table relations by using a query?Here's an example of what I am looking for:TableName ColumnNameofTable RelatedTableName ColumnRelatedtoCusttable ContactPersonID ContactPerson RecID ORSomething that would give me this:Custtable.contactpersonId == ContactPerson.RecId Let me know if I need to give more information. |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2012-04-26 : 12:18:26
|
| so is it through linked server setup you access those tables?------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/ |
 |
|
|
CP
Starting Member
9 Posts |
Posted - 2012-04-26 : 12:38:10
|
| Yes I believe so. |
 |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2012-04-26 : 12:42:04
|
| I dont think so you'll be able to extract out table relationship detail from AX using linked server. you can get metadata information about AX tables though in sql server by dumping it into temporary table and querying against catalog views for it------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/ |
 |
|
|
|
|
|