dbTalk Databases Forums  

Create Cube Where Clause

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


Discuss Create Cube Where Clause in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ernesto LEITE via SQLMonster.com
 
Posts: n/a

Default Create Cube Where Clause - 05-02-2005 , 11:00 AM






Hello.
I'm trying to create a local cube from Analysis Service using Create Cube
Syntax.
Everithing works perfectly except one thing. I can't put in the select
WHERE clause the '<>' symbol. But the '=' symbols works fine.

Example :
'CREATE CUBE xxx'
'INSERT INto xxx'
'Select xxx FROM MYCUBE WHERE {[MYCUBE].[myDIMENSION] <> 'USA')

Could anyone tell me which symbol I have to use to exclude 'USA' dimension
from my Local Cube.

Thanks!

Reply With Quote
  #2  
Old   
Eleazar
 
Posts: n/a

Default Re: Create Cube Where Clause - 05-02-2005 , 11:51 AM






the symbol correct is ' != ' ( sqlserver 7.0)
god luck

"Ernesto LEITE via SQLMonster.com" <forum (AT) nospam (DOT) SQLMonster.com> escribió en
el mensaje news:9e870b3208f44d33a599497a534a2169 (AT) SQLMonster (DOT) com...
Quote:
Hello.
I'm trying to create a local cube from Analysis Service using Create Cube
Syntax.
Everithing works perfectly except one thing. I can't put in the select
WHERE clause the '<>' symbol. But the '=' symbols works fine.

Example :
'CREATE CUBE xxx'
'INSERT INto xxx'
'Select xxx FROM MYCUBE WHERE {[MYCUBE].[myDIMENSION] <> 'USA')

Could anyone tell me which symbol I have to use to exclude 'USA' dimension
from my Local Cube.

Thanks!



Reply With Quote
  #3  
Old   
Ernesto LEITE via SQLMonster.com
 
Posts: n/a

Default Re: Create Cube Where Clause - 05-03-2005 , 03:06 AM



Thank you for your answer.
I have tried this symbol too but its fails.

Do you have another idea?
Thanks

--
Message posted via http://www.sqlmonster.com

Reply With Quote
  #4  
Old   
Ernesto LEITE via SQLMonster.com
 
Posts: n/a

Default Re: Create Cube Where Clause - 05-03-2005 , 03:07 AM



Thank you for your answer.
I have tried this symbol too but its fails.

Do you have another idea?
Thanks

--
Message posted via http://www.sqlmonster.com

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.