Avatar of Vincent Stack
Vincent Stack
Flag for Qatar asked on

How should I handle 'working' tables?

Hi guys,

This is a database design question.  I have a table tblObjectives that holds the objectives our courses.

The curriculum developers will be able to edit and add objectives.  The tblObjectives is 'live' to the faculty so changes are viewed immediately.  This is good but I would like to allow curriculum people to update the db without the faculty seeing changes until they have been approved.

Currently, the curriculum guys use the system to save a .pdf of the current version which the instructors can view while the course is under modification.  While this works to a certain extent, (when they remember to do it) I was thinking that maybe I should have a 'working' table where courses under revision would reside until all changes have been approved.  At that point, the 'working' data would be moved to the permanent tblObjectives.

I would like some input on how a 'professional' database designer might handle this sort of thing. Maybe I am completely off base.

Thanks

Vince
Microsoft SQL Server 2008ASP.NET

Avatar of undefined
Last Comment
Vincent Stack

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
PortletPaul

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Vincent Stack

ASKER
There is an unapproved/approved state. However, if it's in the unapproved state, the faculty cannot view the objectives.  Once approved the faculty can view.

The problem is this, let's say 100 objectives have to be reworked.  As soon as one objective is updated, it is live... even though the complete edits have not been made. If the curriculum developer marks the objectives unapproved then the instructor cannot see anything.  Ideally, there would be no downtime.
Your help has saved me hundreds of hours of internet surfing.
fblack61