Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 Database Design and Application Architecture
 Design questions

Author  Topic 

raginbullsht
Starting Member

8 Posts

Posted - 2015-02-22 : 13:21:56
I have a single table that will need to contain the following

each row in the table unique and it will specify a pipe and is the pk

this one pipe will be cleaned multiple times (10) a year and each inspection consists of the following

gallons used
footage cleaned
date cleaned

my thoughts are for the table to look like

pipe1 - clean1 - footage1 - date1 - clean2 - footage2 - date2 etc
pipe2 - clean1 - footage1 - date1 - clean2 - footage2 - date2 etc
pipe3 - clean1 - footage1 - date1 - clean2 - footage2 - date2 etc

the difficult part is that this cannot have joins, it must all be in one table and be able to query the data on a per month basis, or date range

** this is a ArcGIS sde database to be put onto arcgis online, this is the reason for not having joins
   

- Advertisement -