December 6, 2008 at 9:59 am
Lets say for example that you're working on a database to manage projects. You have a main table that has the general project information, a table for key persons assigned to the project and a table of key dates. Is there a way to present the information in a grid-type view as in...
|--Project Information----| |---------------------Key Dates---------------------------| |-----Staff-----|
Project Name Funding Date Requirements UAT Implementation BSA QA Lead
SQL Server Upgrade 10/1/2008 12/1/2008 5/1/2008 DCH FSL
ASP Integration 2/15/2009 8/6/2009 DCH
Project Information is the parent with Key Dates and Staff being children all in a one-many relationship. Records in the Key Dates would be unique in that there could only be (1) Funding Date, however the Staff table might have multiple records allowing for more than 1 BSA, QA Lead, etc.
Where would I information that discusses how to write the SQL statements?
I did read an article that showed how to ensure the same number of columns when using PIVOT or TRANSFORM (I don't remember the specific keyword).
December 6, 2008 at 10:54 am
May I refer you to Jeff Moden's excellent articles here in SSC
December 6, 2008 at 4:01 pm
Thanks Ron :blush:
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply