Please start any new threads on our new site at http://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 Database Design and Application Architecture
 Database Design Best Plan
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

buckeyeJane
Starting Member

11 Posts

Posted - 04/27/2015 :  11:08:22  Show Profile  Reply with Quote
We have customer Types that have different business rules required based by class.



Customers
BillingCustomer#
OperationalCustomer#
CustomerId#
.
.
.

Customer Class Type #1
AcquisitionCode
Disposition
**PayToCustomerId#

Customer Class Type #2
Latitude
Longitude
OperationType
**PayToCustomerId#

Customer Class Type #3
Acquisition Code
Disposition
Notification Method
**SupplierCustomerID#


In the example above, both the SupplierCustomerID# and the payToCustomerID numbers are referring back to the Customers Table. In order to get information about the Pay To Customer, a query to the Customer table is needed.

What is the best practice for handling this type of database design?

Thank you for your help regarding this database design question.

gbritton
Flowing Fount of Yak Knowledge

2780 Posts

Posted - 04/27/2015 :  14:07:33  Show Profile  Reply with Quote
please follow these posting guidelines: http://spaghettidba.com/2015/04/24/how-to-post-a-t-sql-question-on-a-public-forum/

be sure to show the query you have worked up so far!
Go to Top of Page
  Previous Topic Topic Next 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.02 seconds. Powered By: Snitz Forums 2000