473,597 Members | 2,074 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Naming conventions for datamart columns

Can someone direct me to a definative source to explain or suggest
naming datamart or summary tables? Given a column in a detail table
like revenue, customer no, date (e.g., revnu,cust_no, and trans_dt) and
I create a summary table "sales summary by year_and month"
) of total customers, total revenue, month of revenue as e.g., year_mo
,cust_cnt, and tot_revnu o r summary_yr_mo,c ust_cnt, and revnu.
Notice revnu is the same name.
I guess if the data dictionary defines revnu as "the amount in dollars
collected from the customer less taxes" does the table need a different
column name like mo_revnu_summ.
and then a more explicit definition. Take it further and also have a
table of the yearly totals:
summary_yr, cust_cnt,revnu or summary_yr, yr_cust_cnt, yr_revnu_summ,
and so on?
Quarterly? My thinking was to be most explicit and let user's create
their own "as" names ( for reports and stuff). Thanks. I'll look
forward to any comments.

May 2 '06 #1
1 2710
This redbook will be useful for you

http://www.redbooks.ibm.com/Redbooks...7138.html?Open

Following is the summary
"
In this IBM Redbook we describe and demonstrate dimensional data
modeling techniques and technology, specifically focused on business
intelligence and data warehousing. It is to help the reader understand
how to design, maintain, and use a dimensional model for data
warehousing that can provide the data access and performance required
for business intelligence.

Business intelligence is comprised of a data warehousing
infrastructure, and a query, analysis, and reporting environment. Here
we focus on the data warehousing infrastructure. But only a specific
element of it, the data model - which we consider the base building
block of the data warehouse. Or, more precisely, the topic of data
modeling and its impact on the business and business applications. The
objective is not to provide a treatise on dimensional modeling
techniques, but to focus at a more practical level.

There is technical content for designing and maintaining such an
environment, but also business content.

For example, we use case studies to demonstrate how dimensional
modeling can impact the business intelligence requirements for your
business initiatives. In addition, we provide a detailed discussion on
the query aspects of BI and data modeling. For example, we discuss
query optimization and how you can determine performance of the data
model prior to implementation. You need a solid base for your data
warehousing infrastructure . . . . a solid data model.
Table of Contents

Chapter 1. Introduction
Chapter 2. Business Intelligence: The destination
Chapter 3. Data modeling: The organizing structure
Chapter 4. Data analysis techniques
Chapter 5. Dimensional model design life cycle
Chapter 6. Some modeling considerations
Chapter 7. Case Study: Dimensional model development
Chapter 8. Case Study: Analyzing a dimensional model
Chapter 9. Managing the metadata
Chapter 10. SQL query optimizer: A primer
Chapter 11. Query optimizer applied
mm******@att.ne t wrote:
Can someone direct me to a definative source to explain or suggest
naming datamart or summary tables? Given a column in a detail table
like revenue, customer no, date (e.g., revnu,cust_no, and trans_dt) and
I create a summary table "sales summary by year_and month"
) of total customers, total revenue, month of revenue as e.g., year_mo
,cust_cnt, and tot_revnu o r summary_yr_mo,c ust_cnt, and revnu.
Notice revnu is the same name.
I guess if the data dictionary defines revnu as "the amount in dollars
collected from the customer less taxes" does the table need a different
column name like mo_revnu_summ.
and then a more explicit definition. Take it further and also have a
table of the yearly totals:
summary_yr, cust_cnt,revnu or summary_yr, yr_cust_cnt, yr_revnu_summ,
and so on?
Quarterly? My thinking was to be most explicit and let user's create
their own "as" names ( for reports and stuff). Thanks. I'll look
forward to any comments.


May 3 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
6537
by: clintonG | last post by:
Does the use of DTD, XML Schema and similar constructs adopt the use of C# naming conventions? If so how do I make the distinction of how to apply C# conventions with XML elements, attributes and so on? Any referrals to resources that discuss or document XML Naming Conventions? -- <%= Clinton Gallagher, "Twice the Results -- Half the Cost" Architectural & e-Business Consulting -- Software Development NET...
4
7140
by: Mark Broadbent | last post by:
stupid question time again to most of you experts but this is something that continually bothers me. I am trying to get into the habit of naming variables and controls in an assembly as per convensions. The thing is that Ive never really get the full reference to check against. Ive seen a couple of articles, but there always seems to be a bit missing. I also always seem to run into conflicting convensions both in code samples themselves...
38
12905
by: news.microsoft.com | last post by:
Greetings, I am posting this message to both the SQL Server and C# news groups because this inquiry is more of a theoretical question that applies to both database and code naming conventions. I have currently been prefixing boolean object properties and database columns with Is .. for example (defining a CAT being declawed): IsDeclawed. Well, the prefix of Is doesn't always work ... for example: IsHasWiskers .. well, that doesn't...
3
4339
by: clintonG | last post by:
Does the use of DTD, XML Schema and similar constructs adopt the use of C# naming conventions? If so how do I make the distinction of how to apply C# conventions with XML elements, attributes and so on? Any referrals to resources that discuss or document XML Naming Conventions? -- <%= Clinton Gallagher, "Twice the Results -- Half the Cost" Architectural & e-Business Consulting -- Software Development NET...
5
1368
by: Allan Ebdrup | last post by:
Does anyone have some good pointers to good naming conventions preferrably by MS. Another developer and I had a discussion on the naming of a public property that contains a collection of variables. He wants to call it "Parameter" like when you name tables in SQL, I want to call it "Parameters" so you can see that it contains several values. What is the correct naming in OO, and do you have a pointer to a document that describes these...
5
6155
by: rastaman | last post by:
Hi all, I know of the existence of Object Naming Conventions for Visual Basic 6. Now I'm reading some books about VB .NET, but the names used for the objects are button1, picturebox1, etc. I wonder if I can use the same naming conventions as for VB6 ? If so, what about the names for the new objects in .NET. Kind regards rastaman
9
3803
by: kevininstructor | last post by:
Greetings, I am in the process of creating naming conventions for VB.NET controls i.e. CheckBox -> chkShowThisOnStartup ListBoxt -> lstSomeList What I am looking for other developers input for Window.Form controls and what they are using for naming controls.
9
7022
by: BillCo | last post by:
I'm coming from a MS Access background and so I'm very used to and comfortable with the hungarian (Leszynski et al) naming conventions. However, I'm getting started into my first SQL Server Database and really want to use the appropriate up to date standard naming convention (ISO compliant). I think I have the general idea from raking though countless conflicting sites and posts, but I'm a bit stuck on what to do regarding pk / fk naming
1
801
by: Philipp Post | last post by:
Marcello, Not a big surprise as naming conventions have a lot to do with personal prefernces. There are a lot of threads in comp.databases and the other database groups. Just do a search for "naming conventions" in the groups. In my oppinion one of the good conventions is presented by Joe Celko in "SQL Programming Style". I would suggest reading it and pick up
0
7965
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8270
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8380
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8029
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
5845
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
3922
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2394
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1493
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1230
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.