dbTalk Databases Forums  

Problems with DSO creation of a Dimension with more then one source table

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


Discuss Problems with DSO creation of a Dimension with more then one source table in the microsoft.public.sqlserver.olap forum.



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

Default Problems with DSO creation of a Dimension with more then one source table - 02-05-2004 , 08:14 AM






Hi All,
I'm creating a Dimension using DSO.
All is fine as long as the dimension has only one
sourceTable.

However, when i have more then one sourcetables, and i'm
using the FromClause and JoinClause properties, the
dimension is created and the 2 tables and join apears
at the design of the dimension BUT when i try to process
the dimension i get an error and it seems that the sql
that is built for the processing , is wrong (one character
of one of the table names is missing).
HOWEVER, if i SAVE the dimension and then process it,
then all goes well...

Tnx for the help..
Yaniv


Reply With Quote
  #2  
Old   
Dave Wickert [MSFT]
 
Posts: n/a

Default Re: Problems with DSO creation of a Dimension with more then one source table - 02-05-2004 , 08:17 PM






A technique that I frequently use is to run the Metadata scriptor which is
available on the SQL Server 2000 Resource Kit. If you point it at a cube, it
will generate a VB program which will re-create the dimension. So the
sequence of steps that I use is:
1) Delete the dimension.
2) Re-create the dimension using Analysis Manager.
3) Run the metadata scriptor against the dimension to generate the VB
program (let's call it VB1)
4) Delete the dimension
5) Run your application which attempts to recreate the dimension using DSO
6) Run the metadata scription against the dimension to generate the VB
program (let's call it VB2)
7) Run windiff against the two VB files and see what the differences are.
My guess is that you will see that Analysis Manager has setup some property
or properties that you aren't expecting.
Hope this helps.
--
Dave Wickert [MS]
dwickert (AT) online (DOT) microsoft.com
Program Manager
BI Practices Team
SQL BI Product Unit (Analysis Services)
--
This posting is provided "AS IS" with no warranties, and confers no rights.


"Yaniv" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hi All,
I'm creating a Dimension using DSO.
All is fine as long as the dimension has only one
sourceTable.

However, when i have more then one sourcetables, and i'm
using the FromClause and JoinClause properties, the
dimension is created and the 2 tables and join apears
at the design of the dimension BUT when i try to process
the dimension i get an error and it seems that the sql
that is built for the processing , is wrong (one character
of one of the table names is missing).
HOWEVER, if i SAVE the dimension and then process it,
then all goes well...

Tnx for the help..
Yaniv




Reply With Quote
  #3  
Old   
yaniv inbar
 
Posts: n/a

Default Re: Problems with DSO creation of a Dimension with more then one source table - 02-08-2004 , 05:34 AM



Tnx dave - that realy helped !!



Quote:
-----Original Message-----
A technique that I frequently use is to run the Metadata
scriptor which is
available on the SQL Server 2000 Resource Kit. If you
point it at a cube, it
will generate a VB program which will re-create the
dimension. So the
sequence of steps that I use is:
1) Delete the dimension.
2) Re-create the dimension using Analysis Manager.
3) Run the metadata scriptor against the dimension to
generate the VB
program (let's call it VB1)
4) Delete the dimension
5) Run your application which attempts to recreate the
dimension using DSO
6) Run the metadata scription against the dimension to
generate the VB
program (let's call it VB2)
7) Run windiff against the two VB files and see what the
differences are.
My guess is that you will see that Analysis Manager has
setup some property
or properties that you aren't expecting.
Hope this helps.
--
Dave Wickert [MS]
dwickert (AT) online (DOT) microsoft.com
Program Manager
BI Practices Team
SQL BI Product Unit (Analysis Services)
--
This posting is provided "AS IS" with no warranties, and
confers no rights.


"Yaniv" <anonymous (AT) discussions (DOT) microsoft.com> wrote in
message
news:aa4001c3ebf2$572b14c0$a501280a (AT) phx (DOT) gbl...
Hi All,
I'm creating a Dimension using DSO.
All is fine as long as the dimension has only one
sourceTable.

However, when i have more then one sourcetables, and i'm
using the FromClause and JoinClause properties, the
dimension is created and the 2 tables and join apears
at the design of the dimension BUT when i try to process
the dimension i get an error and it seems that the sql
that is built for the processing , is wrong (one
character
of one of the table names is missing).
HOWEVER, if i SAVE the dimension and then process it,
then all goes well...

Tnx for the help..
Yaniv



.


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.