MS SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesMS SQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 27th, 2004, 10:54 AM
MiloCold MiloCold is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Posts: 15 MiloCold User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 23 m 22 sec
Reputation Power: 0
Identifying/Mapping relations w/in tables?

Hello,

I have a Database with around 25 to 30 tables, my problem is that the relationships aren't very apparent. Example, I have a table called "PhoneOwner" that contains as a PK, "acct_num" also a non-pk field called "charge_id". I have a second table called "IDNames" which contains 2 fields: "ID" (<-- PK) and "Names" (non-PK). Between the two no obvious relation exists (no FKs).

However, after massive dabbling (back-and-fourth from application to tables) I've discovered the connection between
"PhoneOwner" and "IDNames". Basically, from an input box a user types a name which sets IDNames.Names which automatically increments IDNames.ID then PhoneOwner.charge_id is then set to IDNames.ID.

My question, is there any way to make tracking these relationships less mind boggling? If I set up a trace in SQL Profiler will this show me exactly which values are being set to what when dabbling w. the application?

Thanks a bunch!

I'll put in a good word to Santa for those who can help me...eh..eh

Last edited by MiloCold : October 27th, 2004 at 03:03 PM. Reason: I'm a Dork

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesMS SQL Development > Identifying/Mapping relations w/in tables?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT