dbTalk Databases Forums  

creating a WEEKDAYNAME dimension

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss creating a WEEKDAYNAME dimension in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
sefe dery
 
Posts: n/a

Default creating a WEEKDAYNAME dimension - 03-08-2006 , 05:57 AM






Hi,

1.)i try to create a WEEKDAYNAME dimension based on a date-column from a
MSSQL database.

I am able to create a WEEKDAY dimesnsion:
Member Key Column: DatePart(weekday,"dbo"."Tbl_2001-2004"."Datum_Ein")
Member Name Column: DatePart(weekday,"dbo"."Tbl_2001-2004"."Datum_Ein")

I tried this but it didnt work:
Member Key Column::
WEEKDAYNAME(DatePart(weekday,"dbo"."Tbl_2001-2004"."Datum_Ein"))

any idea?

2.)If WEEKDAYNAME works, i wanted to have the german words instead of
english.

thx
Sefer

MSSQL 2000
AS 2000

Reply With Quote
  #2  
Old   
Milind
 
Posts: n/a

Default Re: creating a WEEKDAYNAME dimension - 03-09-2006 , 02:58 AM






Is "dbo"."Tbl_2001-2004"."Datum_Ein" a separate Time dimension table or
fact table?

Milind


Reply With Quote
  #3  
Old   
sefe dery
 
Posts: n/a

Default Re: creating a WEEKDAYNAME dimension - 03-09-2006 , 06:58 AM



Milind schrieb:
Quote:
Is "dbo"."Tbl_2001-2004"."Datum_Ein" a separate Time dimension table or
fact table?

Milind

This is a fact table!
Type is date!

Sefer


Reply With Quote
Reply




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 On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.