473,657 Members | 2,624 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 2714
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
7144
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
12908
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
4341
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
6159
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
3806
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
8319
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8837
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
8739
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
8512
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,...
0
8612
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7347
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4329
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2739
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
2
1969
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.