Hi, I'm trying to process a partition on a cube I've migrated from SQL2000 to SQL2008 R2 (both the DB & AS).
It connects to the source (oracle on unix) ok and processes some dimensions but then fails with...
OLE DB error: OLE DB or ODBC error: One or more errors occurred during processing of command..
It connects ok and all tables it requires are valid. I'm also using the account which owns the tables.
When I drill down it doesn't give me any useful info apart from the partition.
In the properties of the Partition for the cube the Binding Type = Query Binding
and the query statement coded as...
SELECT "SALES_QUANTITY", "LOCAL_CURRENCY_NET_LINE_AMOUNT", "LOCAL_CURRENCY_LINE_DISCOUNT",
"STERLING_NET_LINE_AMOUNT", "LOCAL_CURRENCY_RETAIL_COST", "STERLING_LINE_DISCOUNT", "STERLING_RETAIL_COST",
"VARIANT_CODE", "TRANSACTION_DATE_PERIOD_ID", "BSI_OUTLET_NUMBER" FROM "A_SALES_DAILY_FACT"
WHERE "A_CALENDAR_DIM"."RETAIL_YEAR" = 2005
When I click on the CHECK box, I get ...
The SQL syntax is not valid. ORA-00904 "A_CALENDAR_DIM"."RETAIL_YEAR" invalid identifier (this is the last line of code)
If I take out everything after the where clause, the syntax checks out ok? So I assume the double quotes are ok and its something to do with the way it's trying to bind to this other table. I'm not an Analysis Services expert by any means so don't know about query binding and how this works without a join etc. Any help would be appreciated.
NB. The cube worked on the old SQL2000 AS when it was last processed but doesn't against this new SQL2008 R2 implementation.