Question : MSysRelationships Information

This is only an informational question.  I've just recently started using SQL to alter and drop relationships and tables.  I never paid attention to the System Objects even though I knew they existed but found out that the MSysRelationships table lists the szRelationship for all the tables.  Most of them use the table names that are joined but as an example three of them show something like this {5F19485C-CD3C-4609-9682-1C9899B58817}.  What are these and can they be changed to reflect the names of the two tables that are joined like all the others do or will this really mess up the database?

Also, where do these names come from since some of them with table names have numbers behind them that are not part of the original table name?  Thanks for the information...just trying to understand as much as I can.

Answer : MSysRelationships Information

<<Also, where do these names come from since some of them with table names have numbers behind them that are not part of the original table name? Thanks for the information...just trying to understand as much as I can. >>

A. You don't want to mess with anything in any of the msys* tables; you will mess up your database.

B. None of those tables are documented, so getting info out is a iffy proposition at best.

C. Almost all of the info in there anyway can be gotten via DAO or ADO

The number you see is a GUID (Globally Unique Identifier). If any program needs to track something and wants to assign it a unique ID, it will often use a GUID.

It's the same thing as generating a scratch file name for example based on a date/time.

JimD.

Random Solutions  
 
programming4us programming4us