A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Need to un-Normalized



 
 
Thread Tools Display Modes
  #1  
Old May 28th, 2009, 07:41 PM posted to microsoft.public.access.tablesdbdesign
Anthony Fontana
external usenet poster
 
Posts: 20
Default Need to un-Normalized

I am not sure if this question has been asked, or even if this is the correct
forum, but I'll have a go at it anyway.

I understand the benefits of normalizing my information when I create my
tables - separate tables and all properly linked.

Yet, when I report or query on the normalized data, I must un-Normalize the
data and put it into one big unnormalized table.

Why are databases written this way. If I go to the effort of normalizing my
data, shouldn't I be able to report on them that way?

  #2  
Old May 28th, 2009, 08:23 PM posted to microsoft.public.access.tablesdbdesign
Bernard Peek[_3_]
external usenet poster
 
Posts: 42
Default Need to un-Normalized

In message , Anthony
Fontana writes
I am not sure if this question has been asked, or even if this is the correct
forum, but I'll have a go at it anyway.

I understand the benefits of normalizing my information when I create my
tables - separate tables and all properly linked.

Yet, when I report or query on the normalized data, I must un-Normalize the
data and put it into one big unnormalized table.


Normally when you report data from your systems you create a view rather
than a new table.


Why are databases written this way. If I go to the effort of normalizing my
data, shouldn't I be able to report on them that way?


I don't understand why you think that there is a problem here.



--
Bernard Peek
  #3  
Old May 28th, 2009, 09:36 PM posted to microsoft.public.access.tablesdbdesign
flick
external usenet poster
 
Posts: 2
Default Need to un-Normalized

I am not saying it is necessarily a problem. I can get what I want in rpts
through queries as well as functions like dcount, dsum, and others. It just
seems strange that the DBMS unnormalizes the system to report on it.





"Bernard Peek" wrote:

In message , Anthony
Fontana writes
I am not sure if this question has been asked, or even if this is the correct
forum, but I'll have a go at it anyway.

I understand the benefits of normalizing my information when I create my
tables - separate tables and all properly linked.

Yet, when I report or query on the normalized data, I must un-Normalize the
data and put it into one big unnormalized table.


Normally when you report data from your systems you create a view rather
than a new table.


Why are databases written this way. If I go to the effort of normalizing my
data, shouldn't I be able to report on them that way?


I don't understand why you think that there is a problem here.



--
Bernard Peek

  #5  
Old May 28th, 2009, 10:09 PM posted to microsoft.public.access.tablesdbdesign
Anthony Fontana
external usenet poster
 
Posts: 20
Default Need to un-Normalized

I seem to have given the wrong impression. I am not creating one large table
to report on. I am using the querys and reports (with queries contained in
them) to design the reports in the normal way, as intended by Microsoft.

My understanding was that the denormalizing took place in the background
when the report is run. I was curious as to why, as I understand it, the
DBMS needs to (?) / does (?) create one table or view or whatever to report
on. That seems to de-normalize. Maybe I don't have a proper understanding
of what exactly happens when the report is actually run. I do not know how
to state this any other way or give an example without appearing to be some
ignoramus or a fool.

It's really not a big deal. Just curious that's all.




"Steve" wrote:

If you are putting all your data into one big unnormalized table using
queries to create a report, you are probably not designing your report
correctly. You probably need to report at least some of your data in a
report/subreport.

Steve



"Anthony Fontana" wrote in
message ...
I am not sure if this question has been asked, or even if this is the
correct
forum, but I'll have a go at it anyway.

I understand the benefits of normalizing my information when I create my
tables - separate tables and all properly linked.

Yet, when I report or query on the normalized data, I must un-Normalize
the
data and put it into one big unnormalized table.

Why are databases written this way. If I go to the effort of normalizing
my
data, shouldn't I be able to report on them that way?




  #6  
Old May 28th, 2009, 10:27 PM posted to microsoft.public.access.tablesdbdesign
Chris O'C via AccessMonster.com
external usenet poster
 
Posts: 1,160
Default Need to un-Normalized

When you run a report or query, Jet *displays* the data in the way your query
or report asked for it, but the data and its storage arrangement aren't
changed.

It's like if you have $1.26 in your pocket. Place the dollar on the table,
the quarter to the left and the penny to the right of the dollar. That's $1.
26. Move the quarter to the right of the dollar bill. It's still $1.26, no
matter how you choose to display the money.

Display properties may make the data *look* different but they don't really
change the underlying data.

Chris


Anthony Fontana wrote:
My understanding was that the denormalizing took place in the background
when the report is run. I was curious as to why, as I understand it, the
DBMS needs to (?) / does (?) create one table or view or whatever to report
on. That seems to de-normalize. Maybe I don't have a proper understanding
of what exactly happens when the report is actually run.


--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...esign/200905/1

  #7  
Old May 28th, 2009, 10:35 PM posted to microsoft.public.access.tablesdbdesign
Bernard Peek[_3_]
external usenet poster
 
Posts: 42
Default Need to un-Normalized

In message , Anthony
Fontana writes
I seem to have given the wrong impression. I am not creating one large table
to report on. I am using the querys and reports (with queries contained in
them) to design the reports in the normal way, as intended by Microsoft.

My understanding was that the denormalizing took place in the background
when the report is run.


I see what you mean. When you create a vie based on link tables the view
normally contains repeating elements where there is a 1:many
relationship between the parent and child tables.


I was curious as to why, as I understand it, the
DBMS needs to (?) / does (?) create one table or view or whatever to report
on. That seems to de-normalize.


Not really, because the data is only going to be stored temporarily.
It's even possible to avoid the appearance of denormalisation if you
structure your reports in certain ways. On the other hand you could run
a make-table query that really would create denormalised data, and there
are circumstances where that might be the right thing to do.

Maybe I don't have a proper understanding
of what exactly happens when the report is actually run. I do not know how
to state this any other way or give an example without appearing to be some
ignoramus or a fool.

It's really not a big deal. Just curious that's all.


Denormalisation isn't something to be frightened of. There are certain
limited circumstances when you might deliberately choose to store your
data in a denormalised form. It's generally done to make some database
operations run faster. The important thing to remember is that there is
always a price to pay for doing it and it's always risky.



--
Bernard Peek
  #8  
Old May 28th, 2009, 10:43 PM posted to microsoft.public.access.tablesdbdesign
Steve[_70_]
external usenet poster
 
Posts: 152
Default Need to un-Normalized

An ignoramus/fool is one who does not ask questions. You asked the question
so you are NOT one of those!!!

Do you know what a subreport is? Do you use them?

Steve




"Anthony Fontana" wrote in
message ...
I seem to have given the wrong impression. I am not creating one large
table
to report on. I am using the querys and reports (with queries contained
in
them) to design the reports in the normal way, as intended by Microsoft.

My understanding was that the denormalizing took place in the background
when the report is run. I was curious as to why, as I understand it,
the
DBMS needs to (?) / does (?) create one table or view or whatever to
report
on. That seems to de-normalize. Maybe I don't have a proper
understanding
of what exactly happens when the report is actually run. I do not know
how
to state this any other way or give an example without appearing to be
some
ignoramus or a fool.

It's really not a big deal. Just curious that's all.




"Steve" wrote:

If you are putting all your data into one big unnormalized table using
queries to create a report, you are probably not designing your report
correctly. You probably need to report at least some of your data in a
report/subreport.

Steve



"Anthony Fontana" wrote in
message ...
I am not sure if this question has been asked, or even if this is the
correct
forum, but I'll have a go at it anyway.

I understand the benefits of normalizing my information when I create
my
tables - separate tables and all properly linked.

Yet, when I report or query on the normalized data, I must un-Normalize
the
data and put it into one big unnormalized table.

Why are databases written this way. If I go to the effort of
normalizing
my
data, shouldn't I be able to report on them that way?






 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:39 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.