6,217 reputation
1821
bio website mooseware.ca
location Mississauga, Canada
age 51
visits member for 2 years, 10 months
seen 9 hours ago

I'm a professional software developer with more than twenty years of experience across many industries and the entire systems development lifecycle. I'm the principal consultant at Mooseware Limited.

@joelabrown

google

facebook

linkedin


Mar
30
comment Attempting to identify transitive dependency
@crm - Yes. Looks good now.
Mar
30
answered 3 way junction table and redundant value
Mar
30
revised How to scatter/arrange all the tables in database model (workbench)?
Removed database design tag. This isn't a design question it's a question about a tool.
Mar
28
comment Designing a reservation system schema
Unless your bookings are for very carefully regimented blocks of time (days, hours, half hours, etc.) you're really better off recording what is booked, not what's available. Do you have an efficient, set-based query for calculating what's available, such as one from the answers to this question: stackoverflow.com/questions/9604400/… ?
Mar
26
comment Problem with reaching second normal form in a database
@ypercube is right. Take repeating groups out to get to 1NF. You can't be 2NF if you aren't 1NF yet, regardless of the definition/test for 2NF.
Mar
25
revised Attempting to identify transitive dependency
Added analysis of dependencies
Mar
25
revised Attempting to identify transitive dependency
Added analysis of dependencies
Mar
24
comment Attempting to identify transitive dependency
Product code is a foreign key to the PRODUCT table in your invoice detail. In the product table, product code is the determinant, in the invoice item table, it is just a dependent attribute.
Mar
24
answered Attempting to identify transitive dependency
Mar
5
answered Database Design
Feb
27
answered What is the difference between logical schema and physical schema?
Feb
24
awarded  Custodian
Feb
24
reviewed Approve suggested edit on Getting the exact edited data from a column in SQL Server
Feb
20
answered Database throughful design vs Quick and dirty design comparison
Feb
8
answered Why does data get corrupted in “large” text files - Reasons to use database
Feb
7
answered Recipe Health risk Database ERD structure
Jan
30
comment Table design for departments with duplicate department numbers
@jeff - The issue is about normalization based on functional dependencies. For a logical model you probably would have separate director and VP tables. That doesn't mean your physical model needs them. It may be, based on what you say about employee-department mapping that the PK of department is a composite of dept_id and manager_id. That would also work and it might solve your problem of how to join employee in. I assume your employee table has a manager_id and a dept_id so that would solve your problem.
Jan
30
answered Table design for departments with duplicate department numbers
Jan
26
comment What's a good way to model user authorization to hierarchical data?
@a_horse_with_no_name - True enough, although I think there is room for discussion about how easily anything can be done with CTEs and there's nothing difficult about maintaining nested sets. I think adjacency list vs. visitation number is really more a matter of personal preference. I expect one could argue endlessly about their relative merits, which they surely have, but in the end it will come down to one's particular situation or priorities.
Jan
25
answered Db Design of a Room Booking System