Ask a Question related to ASP Database, Design and Development.
-
Adam Knight #1
Database Design Question !!
I currently have an member registration application written in asp which
currently consists of :
1) tblMemberOrders
2) tblMembers.
I am seriously contemplating merging these two table into one table
(tblUser); to differentiate in the new
table which are orders and which are confirmed members a status field would
be employed.
Does anyone have any ideas as to the pro's and con's of this approach and
any personal recommendations.
AK
Adam Knight Guest
-
Reusable database design
Joachim Zobel wrote: Check out your favourite bookstore for resources. Amazon also lists a few books: * Data Model Patterns: Conventions of... -
Database Design
Hi All, I am a VB developer developing a new client server application using VB and Oracle 8i. Please help me in designing database table for... -
Database design confusion
Hi Rekha, I think Anith's suggestion is good. I collected some more information for you. You can create indexed views only if you install SQL... -
Database Design Problem
I've got a problem I need to solve where I have an item that can have one or more prices, but the item can be bought from one or more distributors... -
Database design/optimization question
Hi, Refer this link for optimization and database design issue and solution. www.sql-server-performance.com Thanks , Amit -
William Tasso #2
Re: Database Design Question !!
Adam Knight wrote:
What benefit would you gain?> I currently have an member registration application written in asp
> which currently consists of :
>
> 1) tblMemberOrders
> 2) tblMembers.
>
> I am seriously contemplating merging these two table into one table
> (tblUser);
Without seeing the data model - it's an impossible task.> to differentiate in the new
> table which are orders and which are confirmed members a status field
> would be employed.
>
> Does anyone have any ideas as to the pro's and con's of this approach
Ensure you data is normalised.> and any personal recommendations.
>
--
William Tasso - [url]http://WilliamTasso.com[/url]
William Tasso Guest
-
Ken Schaefer #3
Re: Database Design Question !!
Model your entities and relationships in an ER diagram.
Each Entity should be in its own table.
From the sound of the tables you already have, it seems that they should be
separate tables (members, and orders don't sound like the same type of
"thing").
That said, without some kind of information on *what* these entities are, I
don't think we can recommand anything. Keep you data normalised was a good
suggestion posted by William
Cheers
Ken
"Adam Knight" <aj.knight@optusnet.com.au> wrote in message
news:ePhK5hjYDHA.2344@TK2MSFTNGP09.phx.gbl...
: I currently have an member registration application written in asp which
: currently consists of :
:
: 1) tblMemberOrders
: 2) tblMembers.
:
: I am seriously contemplating merging these two table into one table
: (tblUser); to differentiate in the new
: table which are orders and which are confirmed members a status field
would
: be employed.
:
: Does anyone have any ideas as to the pro's and con's of this approach and
: any personal recommendations.
:
: AK
:
:
Ken Schaefer Guest
-
Adam Knight #4
Re: Database Design Question !!
This is what i am looking at doing:
The user entity will consist of :
cn.execute("CREATE TABLE Users (User_Id COUNTER CONSTRAINT PK_User PRIMARY KEY, User_Name TEXT(30) NULL,User_Password TEXT(30) NULL,
User_Agreement TEXT(15) NULL,User_Listed TEXT(15) NULL,User_Type TEXT(30) NULL), User_Status TEXT(30) NULL")
cn.execute("CREATE TABLE User_Contact (User_Contact_Id COUNTER CONSTRAINT PK_Contact PRIMARY KEY, User_Contact_Type TEXT(30) NULL,
User_Contact_First_Name TEXT(60) NULL, User_Contact_Last_Name TEXT(60) NULL, User_Contact_Phone TEXT(15) NULL, User_Contact_Fax TEXT(15) NULL,
User_Contact_Mobile TEXT(15) NULL, User_Contact_Email TEXT(60) NULL, User_Contact_Website TEXT(100) NULL, User_Contact_User INTEGER,
User_Contact_Business INTEGER)")
cn.execute("CREATE TABLE User_Location (User_Location_Id COUNTER CONSTRAINT PK_Location PRIMARY KEY, User_Location_Type TEXT(30) NULL,
User_Location_Street TEXT(60) NULL, User_Location_Suburb TEXT(30) NULL, User_Location_State TEXT(8) NULL, User_Location_Post_Code TEXT(6) NULL,
User_Location_User INTEGER,User_Location_Business INTEGER)")
The User_Status Field dictates whether the user in pending or confirmed.
Previously i had two tables practically identical which contained all the information above. Once a users membership was confirmed their
details were place in the second table.
AK
Adam Knight Guest



Reply With Quote

