dbTalk Databases Forums  

Sorce table filter

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


Discuss Sorce table filter in the microsoft.public.sqlserver.olap forum.



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

Default Sorce table filter - 10-18-2003 , 09:46 AM






Hi all
Is it possible to pass table joins as a source table
filter property in the Cube design editor?
e.g., i have
Table A with az_sk, az_id, az_date_found
Table B with gh_az_sk, gh_id, gh_user_name

In standard SQL query i need to join them using the az_sk
to get the results like
Select az_id, gh_user_name from A,B where az_sk = gh_az_sk

Is it possible to do the same in Analysis too using the
source table filter property like "A"."az_sk"
= "B"."gh_az_sk" ?

Thanks in advance

Regards
Guru

Reply With Quote
  #2  
Old   
Mark Hill
 
Posts: n/a

Default Re: Sorce table filter - 10-18-2003 , 10:33 AM






Why don't you just define a view in sql server and base your source table
on that ?

Mark

"guru" <shyam_chatty (AT) lycos (DOT) com> wrote

Quote:
Hi all
Is it possible to pass table joins as a source table
filter property in the Cube design editor?
e.g., i have
Table A with az_sk, az_id, az_date_found
Table B with gh_az_sk, gh_id, gh_user_name

In standard SQL query i need to join them using the az_sk
to get the results like
Select az_id, gh_user_name from A,B where az_sk = gh_az_sk

Is it possible to do the same in Analysis too using the
source table filter property like "A"."az_sk"
= "B"."gh_az_sk" ?

Thanks in advance

Regards
Guru



Reply With Quote
  #3  
Old   
guru
 
Posts: n/a

Default Re: Sorce table filter - 10-19-2003 , 12:04 AM



Thanks for the reply Mark

I've got a limitation on that. I donot have permissions to
access the database structure and moreover its an oracle
9i database.

Actually i was trying to work with alias tables and I'm
getting error messages. So I was just trying for a work
around.

My earlier post to the same news group explained my
situation "Create Dimension Problem!!" dated October 17th
2003. Please look into it and help incase.

Thanks and Regards
Guru
Quote:
-----Original Message-----
Why don't you just define a view in sql server and base
your source table
on that ?

Mark

"guru" <shyam_chatty (AT) lycos (DOT) com> wrote in message
news:003a01c39586$976dd620$a101280a (AT) phx (DOT) gbl...
Hi all
Is it possible to pass table joins as a source table
filter property in the Cube design editor?
e.g., i have
Table A with az_sk, az_id, az_date_found
Table B with gh_az_sk, gh_id, gh_user_name

In standard SQL query i need to join them using the
az_sk
to get the results like
Select az_id, gh_user_name from A,B where az_sk =
gh_az_sk

Is it possible to do the same in Analysis too using the
source table filter property like "A"."az_sk"
= "B"."gh_az_sk" ?

Thanks in advance

Regards
Guru


.


Reply With Quote
  #4  
Old   
Lutz Morrien
 
Posts: n/a

Default Re: Sorce table filter - 10-20-2003 , 01:49 AM



guru,
you might consider crreating a staging db in sqkl server.
To me that seems like the "cleanest" approach anyway,
since in this staging db you can also cleanup data if
necessary. Given the fact that you use AS I assume that
you must have SQL Server 2000 anyway, even if you did not
set it up yet.
Just transfer your data from Oracle into your staging
database and then do whatever is necessary.

HTH Lutz

Reply With Quote
  #5  
Old   
guru
 
Posts: n/a

Default Re: Sorce table filter - 10-21-2003 , 07:30 AM



That should be a fairly good idea to work around. i've got
SQL server 2000 installed.

Thanks for the advice lutz.. i'll try the option out and
get back with results.

Thanks and regards
guru
Quote:
-----Original Message-----
guru,
you might consider crreating a staging db in sqkl server.
To me that seems like the "cleanest" approach anyway,
since in this staging db you can also cleanup data if
necessary. Given the fact that you use AS I assume that
you must have SQL Server 2000 anyway, even if you did not
set it up yet.
Just transfer your data from Oracle into your staging
database and then do whatever is necessary.

HTH Lutz
.


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.