![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
I'm going through the OLAP tutorials here and some things aren't making any sense as far as normalization. Why on earth you would create a separate "sales fact table" instead using the actual table that recorded the sale. Then they are linking back to a time table by a key!!!!???? This is definately not they way people design for data storage. Here's my situation: I have a SalesOrder Master table which is parent to SalesOrderItems which is parent to SalesOrderItemsRels (releases). SORels contains how many items have been relerease per each SalesOrderItem ordered. The SalesOrder master is linked pack to customer and stuff like that. Could anyone give me a push in the right direction here? Thanks -mike |
#2
| |||
| |||
|
|
Content-Class: urn:content-classes:message From: "Mike Morse" <mike.morse (AT) micromo (DOT) com Sender: "Mike Morse" <mike.morse (AT) micromo (DOT) com Subject: New to SQL OLAP Date: Tue, 9 Sep 2003 12:15:20 -0700 Lines: 21 Message-ID: <0b0f01c37706$b6038920$a001280a (AT) phx (DOT) gbl MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Newsreader: Microsoft CDO for Windows 2000 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Thread-Index: AcN3BrYDLjbSyuriQrm+SGuchE/Zfg== Newsgroups: microsoft.public.sqlserver.olap Path: cpmsftngxa06.phx.gbl Xref: cpmsftngxa06.phx.gbl microsoft.public.sqlserver.olap:42618 NNTP-Posting-Host: TK2MSFTNGXA08 10.40.1.160 X-Tomcat-NG: microsoft.public.sqlserver.olap I'm going through the OLAP tutorials here and some things aren't making any sense as far as normalization. Why on earth you would create a separate "sales fact table" instead using the actual table that recorded the sale. Then they are linking back to a time table by a key!!!!???? This is definately not they way people design for data storage. Here's my situation: I have a SalesOrder Master table which is parent to SalesOrderItems which is parent to SalesOrderItemsRels (releases). SORels contains how many items have been relerease per each SalesOrderItem ordered. The SalesOrder master is linked pack to customer and stuff like that. Could anyone give me a push in the right direction here? Thanks -mike |
#3
| |||
| |||
|
|
-----Original Message----- Hi Mike, I am afraid that I do not understand your detailed concerns here. Do you mean that you think the design mentioned in your post is not good? "I have a SalesOrder Master table which is parent to SalesOrderItems which is parent to SalesOrderItemsRels (releases). SORels contains how many items have been relerease per each SalesOrderItem ordered." How would you design the data storage and think it is better? What separate "sales fact table" do you need to create? In addition, you mentioned that you take some OLAP tutorials. Could you post the detailed text and sample in that OLAP tutorial which you do not think makes sense? Bill Cheng Microsoft Online Partner Support Get Secure! - www.microsoft.com/security This posting is provided "as is" with no warranties and confers no rights. -------------------- | Content-Class: urn:content-classes:message | From: "Mike Morse" <mike.morse (AT) micromo (DOT) com | Sender: "Mike Morse" <mike.morse (AT) micromo (DOT) com | Subject: New to SQL OLAP | Date: Tue, 9 Sep 2003 12:15:20 -0700 | Lines: 21 | Message-ID: <0b0f01c37706$b6038920$a001280a (AT) phx (DOT) gbl | MIME-Version: 1.0 | Content-Type: text/plain; | charset="iso-8859-1" | Content-Transfer-Encoding: 7bit | X-Newsreader: Microsoft CDO for Windows 2000 | X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 | Thread-Index: AcN3BrYDLjbSyuriQrm+SGuchE/Zfg== | Newsgroups: microsoft.public.sqlserver.olap | Path: cpmsftngxa06.phx.gbl | Xref: cpmsftngxa06.phx.gbl microsoft.public.sqlserver.olap:42618 | NNTP-Posting-Host: TK2MSFTNGXA08 10.40.1.160 | X-Tomcat-NG: microsoft.public.sqlserver.olap | | I'm going through the OLAP tutorials here and some things | aren't making any sense as far as normalization. Why on | earth you would create a separate "sales fact table" | instead using the actual table that recorded the sale. | Then they are linking back to a time table by a | key!!!!???? This is definately not they way people design | for data storage. | | Here's my situation: | I have a SalesOrder Master table which is parent to | SalesOrderItems which is parent to SalesOrderItemsRels | (releases). SORels contains how many items have been | relerease per each SalesOrderItem ordered. | | The SalesOrder master is linked pack to customer and stuff | like that. | | Could anyone give me a push in the right direction here? | Thanks | | -mike | . |
#4
| |||
| |||
|
|
The design I mentioned is fine. What I don't agree with is how the food mart samples has a "fact table" and the logic that is behind it. This table is not how people really store sales data with a join to a table containing dates. -mike -----Original Message----- Hi Mike, I am afraid that I do not understand your detailed concerns here. Do you mean that you think the design mentioned in your post is not good? "I have a SalesOrder Master table which is parent to SalesOrderItems which is parent to SalesOrderItemsRels (releases). SORels contains how many items have been relerease per each SalesOrderItem ordered." How would you design the data storage and think it is better? What separate "sales fact table" do you need to create? In addition, you mentioned that you take some OLAP tutorials. Could you post the detailed text and sample in that OLAP tutorial which you do not think makes sense? Bill Cheng Microsoft Online Partner Support Get Secure! - www.microsoft.com/security This posting is provided "as is" with no warranties and confers no rights. -------------------- | Content-Class: urn:content-classes:message | From: "Mike Morse" <mike.morse (AT) micromo (DOT) com | Sender: "Mike Morse" <mike.morse (AT) micromo (DOT) com | Subject: New to SQL OLAP | Date: Tue, 9 Sep 2003 12:15:20 -0700 | Lines: 21 | Message-ID: <0b0f01c37706$b6038920$a001280a (AT) phx (DOT) gbl | MIME-Version: 1.0 | Content-Type: text/plain; | charset="iso-8859-1" | Content-Transfer-Encoding: 7bit | X-Newsreader: Microsoft CDO for Windows 2000 | X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 | Thread-Index: AcN3BrYDLjbSyuriQrm+SGuchE/Zfg== | Newsgroups: microsoft.public.sqlserver.olap | Path: cpmsftngxa06.phx.gbl | Xref: cpmsftngxa06.phx.gbl microsoft.public.sqlserver.olap:42618 | NNTP-Posting-Host: TK2MSFTNGXA08 10.40.1.160 | X-Tomcat-NG: microsoft.public.sqlserver.olap | | I'm going through the OLAP tutorials here and some things | aren't making any sense as far as normalization. Why on | earth you would create a separate "sales fact table" | instead using the actual table that recorded the sale. | Then they are linking back to a time table by a | key!!!!???? This is definately not they way people design | for data storage. | | Here's my situation: | I have a SalesOrder Master table which is parent to | SalesOrderItems which is parent to SalesOrderItemsRels | (releases). SORels contains how many items have been | relerease per each SalesOrderItem ordered. | | The SalesOrder master is linked pack to customer and stuff | like that. | | Could anyone give me a push in the right direction here? | Thanks | | -mike | . |
#5
| |||
| |||
|
|
The design I mentioned is fine. What I don't agree with is how the food mart samples has a "fact table" and the logic that is behind it. This table is not how people really store sales data with a join to a table containing dates. -mike -----Original Message----- Hi Mike, I am afraid that I do not understand your detailed concerns here. Do you mean that you think the design mentioned in your post is not good? "I have a SalesOrder Master table which is parent to SalesOrderItems which is parent to SalesOrderItemsRels (releases). SORels contains how many items have been relerease per each SalesOrderItem ordered." How would you design the data storage and think it is better? What separate "sales fact table" do you need to create? In addition, you mentioned that you take some OLAP tutorials. Could you post the detailed text and sample in that OLAP tutorial which you do not think makes sense? Bill Cheng Microsoft Online Partner Support Get Secure! - www.microsoft.com/security This posting is provided "as is" with no warranties and confers no rights. -------------------- | Content-Class: urn:content-classes:message | From: "Mike Morse" <mike.morse (AT) micromo (DOT) com | Sender: "Mike Morse" <mike.morse (AT) micromo (DOT) com | Subject: New to SQL OLAP | Date: Tue, 9 Sep 2003 12:15:20 -0700 | Lines: 21 | Message-ID: <0b0f01c37706$b6038920$a001280a (AT) phx (DOT) gbl | MIME-Version: 1.0 | Content-Type: text/plain; | charset="iso-8859-1" | Content-Transfer-Encoding: 7bit | X-Newsreader: Microsoft CDO for Windows 2000 | X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 | Thread-Index: AcN3BrYDLjbSyuriQrm+SGuchE/Zfg== | Newsgroups: microsoft.public.sqlserver.olap | Path: cpmsftngxa06.phx.gbl | Xref: cpmsftngxa06.phx.gbl microsoft.public.sqlserver.olap:42618 | NNTP-Posting-Host: TK2MSFTNGXA08 10.40.1.160 | X-Tomcat-NG: microsoft.public.sqlserver.olap | | I'm going through the OLAP tutorials here and some things | aren't making any sense as far as normalization. Why on | earth you would create a separate "sales fact table" | instead using the actual table that recorded the sale. | Then they are linking back to a time table by a | key!!!!???? This is definately not they way people design | for data storage. | | Here's my situation: | I have a SalesOrder Master table which is parent to | SalesOrderItems which is parent to SalesOrderItemsRels | (releases). SORels contains how many items have been | relerease per each SalesOrderItem ordered. | | The SalesOrder master is linked pack to customer and stuff | like that. | | Could anyone give me a push in the right direction here? | Thanks | | -mike | . |
#6
| |||
| |||
|
|
Content-Class: urn:content-classes:message From: "MIke Morse" <mike.morse (AT) micromo (DOT) com Sender: "MIke Morse" <mike.morse (AT) micromo (DOT) com References: <0b0f01c37706$b6038920$a001280a (AT) phx (DOT) gbl Od$Ftp4dDHA.2108 (AT) cpmsftngxa06 (DOT) phx.gbl Subject: RE: New to SQL OLAP Date: Wed, 10 Sep 2003 05:56:53 -0700 Lines: 87 Message-ID: <04f001c3779b$01f3d8a0$a001280a (AT) phx (DOT) gbl MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Newsreader: Microsoft CDO for Windows 2000 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Thread-Index: AcN3mwHxSAyRFeNySTi4cpTWcJdKrA== Newsgroups: microsoft.public.sqlserver.olap Path: cpmsftngxa06.phx.gbl Xref: cpmsftngxa06.phx.gbl microsoft.public.sqlserver.olap:42649 NNTP-Posting-Host: TK2MSFTNGXA08 10.40.1.160 X-Tomcat-NG: microsoft.public.sqlserver.olap The design I mentioned is fine. What I don't agree with is how the food mart samples has a "fact table" and the logic that is behind it. This table is not how people really store sales data with a join to a table containing dates. -mike -----Original Message----- Hi Mike, I am afraid that I do not understand your detailed concerns here. Do you mean that you think the design mentioned in your post is not good? "I have a SalesOrder Master table which is parent to SalesOrderItems which is parent to SalesOrderItemsRels (releases). SORels contains how many items have been relerease per each SalesOrderItem ordered." How would you design the data storage and think it is better? What separate "sales fact table" do you need to create? In addition, you mentioned that you take some OLAP tutorials. Could you post the detailed text and sample in that OLAP tutorial which you do not think makes sense? Bill Cheng Microsoft Online Partner Support Get Secure! - www.microsoft.com/security This posting is provided "as is" with no warranties and confers no rights. -------------------- | Content-Class: urn:content-classes:message | From: "Mike Morse" <mike.morse (AT) micromo (DOT) com | Sender: "Mike Morse" <mike.morse (AT) micromo (DOT) com | Subject: New to SQL OLAP | Date: Tue, 9 Sep 2003 12:15:20 -0700 | Lines: 21 | Message-ID: <0b0f01c37706$b6038920$a001280a (AT) phx (DOT) gbl | MIME-Version: 1.0 | Content-Type: text/plain; | charset="iso-8859-1" | Content-Transfer-Encoding: 7bit | X-Newsreader: Microsoft CDO for Windows 2000 | X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 | Thread-Index: AcN3BrYDLjbSyuriQrm+SGuchE/Zfg== | Newsgroups: microsoft.public.sqlserver.olap | Path: cpmsftngxa06.phx.gbl | Xref: cpmsftngxa06.phx.gbl microsoft.public.sqlserver.olap:42618 | NNTP-Posting-Host: TK2MSFTNGXA08 10.40.1.160 | X-Tomcat-NG: microsoft.public.sqlserver.olap | | I'm going through the OLAP tutorials here and some things | aren't making any sense as far as normalization. Why on | earth you would create a separate "sales fact table" | instead using the actual table that recorded the sale. | Then they are linking back to a time table by a | key!!!!???? This is definately not they way people design | for data storage. | | Here's my situation: | I have a SalesOrder Master table which is parent to | SalesOrderItems which is parent to SalesOrderItemsRels | (releases). SORels contains how many items have been | relerease per each SalesOrderItem ordered. | | The SalesOrder master is linked pack to customer and stuff | like that. | | Could anyone give me a push in the right direction here? | Thanks | | -mike | . |
![]() |
| Thread Tools | |
| Display Modes | |
| |