Error Msg when partitioning a cube

Error Msg when partitioning a cube

Post by Andrew Wilki » Thu, 25 Apr 2002 18:34:50



I have create a cube based on an SQL 2000 database.  I am trying to
partition the cube.  I can create the partitions based on the Time
dimension, but when I try to process the cube I get the following error
message

Data source provider error: Incorrect syntax near the keyword
'from'.;42000

This is being done on a Win2k advanced server with SQL 2000 Advanced
Server and Analysis Services

Any help appreciated

Andy

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

 
 
 

Error Msg when partitioning a cube

Post by George Spoffor » Thu, 25 Apr 2002 23:17:22


Can you capture the SQL and examine it for clues? You can copy/paste it
from the screen log generated during processing.


> I have create a cube based on an SQL 2000 database.  I am trying to
> partition the cube.  I can create the partitions based on the Time
> dimension, but when I try to process the cube I get the following error
> message

> Data source provider error: Incorrect syntax near the keyword
> 'from'.;42000

> This is being done on a Win2k advanced server with SQL 2000 Advanced
> Server and Analysis Services

> Any help appreciated

> Andy

> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!

--
George Spofford
Microsoft MVP
Chief Architect / OLAP Solution Provider
DSS Lab

ISVs & IT organizations: Find out how DSS Lab can speed your development!

 
 
 

Error Msg when partitioning a cube

Post by Doug Welz » Fri, 26 Apr 2002 00:10:29


It sounds like the SQL being run by AS might be incorrect.  Take a
look at the SQL statement and see if anything is obviously wrong with
it.


Quote:> I have create a cube based on an SQL 2000 database.  I am trying to
> partition the cube.  I can create the partitions based on the Time
> dimension, but when I try to process the cube I get the following error
> message

> Data source provider error: Incorrect syntax near the keyword
> 'from'.;42000

> This is being done on a Win2k advanced server with SQL 2000 Advanced
> Server and Analysis Services

> Any help appreciated

> Andy

> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!

 
 
 

Error Msg when partitioning a cube

Post by Andrew Wilki » Fri, 26 Apr 2002 17:15:31


After some investigation, I think I have found the problem but not a
solution.  I have a number of cubes in different olap databases that are
partitioned on the time dimension.  All these work fine, because the
time dimension is set to start the year on January 1.

The cube I am having problems with, the time dimension starts the year
in April which is the company's financial year.  If I alter that
dimension to start the year on January 1, the partitioning works
correctly.

I have taken the problem query from Analysis Manager and run it against
the database in query analyser and the query works fine.

I was wondering if anyone knew if this is a known bug, or if there is a
work around

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

 
 
 

Error Msg when partitioning a cube

Post by Dennis v/d Be » Thu, 16 May 2002 20:48:33


Andrew,

Maybe I have a workaround for you. Our financial year starts also in
April.
I already wondered that the year level was not calculated correctly
when you use the wizard to create a shared time dimension with the
year starts in April, but that was easy to solve (modify the SQL for
the member and key column).

I also ran in the same problem Andrew describes with processing my
sales partitions. But I was lucky. I have an (extra field in my fact
table which states the fiscal month. This long value state eg. 199901
for April 1999, 200106 for September 2001, 200202 for May 2002 and so
on.

My Sales cube is divided into different partitions for every fiscal
year. Don't use the time dimension year level to filter your
partitions.
In the wizard of the 'Edit Partition' you can filter the years by
clicking the Advanced button and enter the following code:

"Sales"."Fiscal_Month" > 199912 and "Sales"."Fiscal_Month" < 200101
for Fiscal Year 2000
"Sales"."Fiscal_Month" > 200012 and "Sales"."Fiscal_Month" < 200201
for fiscal year 2001

...... And so on....

I hope this work around can be used for your problem too! Please let
me know.

By the way: George Spofford wrote an excellent book (MDX Solutions)!!!
This book helps you a lot understanding the MDX language!

You can always mail me for any tips/questions to make life easier.

Dennis van den Berg


Quote:> After some investigation, I think I have found the problem but not a
> solution.  I have a number of cubes in different olap databases that are
> partitioned on the time dimension.  All these work fine, because the
> time dimension is set to start the year on January 1.

> The cube I am having problems with, the time dimension starts the year
> in April which is the company's financial year.  If I alter that
> dimension to start the year on January 1, the partitioning works
> correctly.

> I have taken the problem query from Analysis Manager and run it against
> the database in query analyser and the query works fine.

> I was wondering if anyone knew if this is a known bug, or if there is a
> work around

> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!

 
 
 

1. error while partitioning cube

Hi...
I am trying to process a cube ..the process took a very long time to
complete..and at the end I get an erroe which says connection to
analysis server lost.All the dimensions are processed succssfully, but
the partitions fails.. would anyone know any solution for this??
Thanks a lot,
Manish

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

2. Configuring a Push Subscription Over the Internet Possible?

3. Analysis Server Error: Connection to the server is lost (after partitioning cube)

4. sqlserver 2000 - query export to excel file

5. DTS Error when processing multiple partitions and virtual cubes on SQL2000

6. help! how to use odbc for db2

7. Error during lazy aggregation of partition <partition> in cube <cube>

8. bottom up model and dbms software

9. MDX/DSO: Incrementally Updating Cube Partition

10. Large cubes, partitions and editions AS2K

11. Deleting a cube partition

12. How to backup individual cube partitions...

13. Cube Partitions and Slice Values