all groups > sql server programming > november 2006 >
You're in the

sql server programming

group:

Database Design Problem


Database Design Problem nj
11/22/2006 11:09:56 PM
sql server programming:

Hi,

Please suggest me efficient database design for below mentioned
business logic .

Business Logic:-

"ShareBuilder customer login as an "investor". An investor has a
username, a password, and a first and last name. An investor can have
many accounts. Each account has an account number, a legal name, a
legal address (with city/st/zip), and a "legal" email address for
correspondence. Most accounts are specific to a single investor.
However, joint accounts have a primary and a
secondary investor-that is, either the primary or the secondary
investor can log
in to the site and view the joint account.

Please prepare a schema to support this situation. Please write basic
stored procedures to allow the website to insert/update customer and
account information; these procedures should do their work in a
transaction; if the procedure is called within an active transaction,
the procedure should issue a savepoint. Please enforce basic data
validation rules with check
constraints. Please also find a way to
enforce the rule that an account should never be associated with more
than two investors. "

Thanks,
NJ
Re: Database Design Problem Uri Dimant
11/23/2006 12:00:00 AM
http://www.databaseanswers.com/data_models/index.htm ------ examples
database design











[quoted text, click to view]

AddThis Social Bookmark Button