dbTalk Databases Forums  

how to implement the subqueries functionality of SQL in MDX

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


Discuss how to implement the subqueries functionality of SQL in MDX in the microsoft.public.sqlserver.olap forum.



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

Default how to implement the subqueries functionality of SQL in MDX - 05-05-2006 , 08:12 AM






how to write subqueries in MDX

In SQL it would be something like this


CREATE PROCEDURE sp_proc
@param1 varchar(55)
as

Select id,name from table1
where id in(
SELECT distinct e_id
FROM table2
WHERE field=@param1)
go

HOW TO IMPLEMENT THIS FUNCTIONALITY IN MDX
please help. URRRGENT

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.