dbTalk Databases Forums  

Cannot change the last level key in a cube...

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


Discuss Cannot change the last level key in a cube... in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jéjé
 
Posts: n/a

Default Cannot change the last level key in a cube... - 12-12-2004 , 09:03 AM






Hi,

I can't change the column used at the last level of my dimension if this
columnis a date/time type.
After I've optimized my cube I've done some changes and my time dimension
required to be mapped to another column of my Fact table.
So I simply select the column but I receive a data type error.
The DBDate type is not recognized!

so I change the column definition from : dbo.MyFactTable.MySecondDate to
cast(dbo.MyFactTable.MySecondDate as DateTime)

and now all works fine!!!!!

so, why AS don't recognized MySecondDate column (which is a datetime) as a
datetime?
Why casting this column solve the problem?

Very strange.

Thanks.

Jerome.



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.