473,700 Members | 2,750 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 2717
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
6541
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
7145
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
12911
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
4344
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
1369
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
6165
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
3808
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
7025
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
8649
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
9082
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...
0
8933
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
7821
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...
1
6567
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
5904
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
3098
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
2396
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2032
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.