dbTalk Databases Forums  

Direct Dimension Query

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


Discuss Direct Dimension Query in the microsoft.public.sqlserver.olap forum.



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

Default Direct Dimension Query - 12-20-2005 , 03:00 PM






Hi,

We can run MDX query direct against dimensions
For example

SELECT [Date].[Calendar Year].[All Periods].CHILDREN ON 0, {} ON 1 FROM
[$Date]

How to obtain the same result with the schema rowset query?
What rules are valid for such use cas?

Thanks,
Vladimir Chtepa




Reply With Quote
  #2  
Old   
Vladimir Chtepa
 
Posts: n/a

Default Re: Direct Dimension Query - 12-20-2005 , 03:14 PM






Hi,

I have discovered it self.

Like MDX instead of CUBE_NAME we can write $DIMENSION_NAME in the mdschema
query.


"Vladimir Chtepa" <vc.nospam (AT) diacom-systemhaus (DOT) nospam.de> schrieb im
Newsbeitrag news:OZ8DvhaBGHA.1092 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
Quote:
Hi,

We can run MDX query direct against dimensions
For example

SELECT [Date].[Calendar Year].[All Periods].CHILDREN ON 0, {} ON 1 FROM
[$Date]

How to obtain the same result with the schema rowset query?
What rules are valid for such use cas?

Thanks,
Vladimir Chtepa






Reply With Quote
  #3  
Old   
Akshai Mirchandani [MS]
 
Posts: n/a

Default Re: Direct Dimension Query - 12-22-2005 , 02:55 PM



Note that DB dimensions can only be queried directly by a DB Admin... So a
non-DB-admin user may run into issues if you build this into your solution.

Thanks,
Akshai
--
This posting is provided "AS IS" with no warranties, and confers no rights
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.

"Vladimir Chtepa" <vc.nospam (AT) diacom-systemhaus (DOT) nospam.de> wrote

Quote:
Hi,

I have discovered it self.

Like MDX instead of CUBE_NAME we can write $DIMENSION_NAME in the mdschema
query.


"Vladimir Chtepa" <vc.nospam (AT) diacom-systemhaus (DOT) nospam.de> schrieb im
Newsbeitrag news:OZ8DvhaBGHA.1092 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
Hi,

We can run MDX query direct against dimensions
For example

SELECT [Date].[Calendar Year].[All Periods].CHILDREN ON 0, {} ON 1 FROM
[$Date]

How to obtain the same result with the schema rowset query?
What rules are valid for such use cas?

Thanks,
Vladimir Chtepa








Reply With Quote
  #4  
Old   
Vladimir Chtepa
 
Posts: n/a

Default Re: Direct Dimension Query - 12-28-2005 , 10:14 AM



Could you please exactly describe, what role schould accont belong to?


"Akshai Mirchandani [MS]" <akshaim (AT) online (DOT) microsoft.com> schrieb im
Newsbeitrag news:O13YDozBGHA.2664 (AT) TK2MSFTNGP15 (DOT) phx.gbl...
Quote:
Note that DB dimensions can only be queried directly by a DB Admin... So a
non-DB-admin user may run into issues if you build this into your
solution.

Thanks,
Akshai
--
This posting is provided "AS IS" with no warranties, and confers no rights
Please do not send email directly to this alias. This alias is for
newsgroup
purposes only.

"Vladimir Chtepa" <vc.nospam (AT) diacom-systemhaus (DOT) nospam.de> wrote in message
news:%236%230vpaBGHA.636 (AT) TK2MSFTNGP10 (DOT) phx.gbl...
Hi,

I have discovered it self.

Like MDX instead of CUBE_NAME we can write $DIMENSION_NAME in the
mdschema query.


"Vladimir Chtepa" <vc.nospam (AT) diacom-systemhaus (DOT) nospam.de> schrieb im
Newsbeitrag news:OZ8DvhaBGHA.1092 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
Hi,

We can run MDX query direct against dimensions
For example

SELECT [Date].[Calendar Year].[All Periods].CHILDREN ON 0, {} ON 1 FROM
[$Date]

How to obtain the same result with the schema rowset query?
What rules are valid for such use cas?

Thanks,
Vladimir Chtepa










Reply With Quote
  #5  
Old   
Akshai Mirchandani [MS]
 
Posts: n/a

Default Re: Direct Dimension Query - 12-28-2005 , 04:46 PM



When you create a Role inside a Database and give that role "Administrator"
permission, you are making members of that role administrators of that
database.

The Server Administrator role is separate and members of the Server
Administrator are modified by editing the Security properties of the server.

(Of course, note that this all applies to AS 2005 only).

Thanks,
Akshai
--
This posting is provided "AS IS" with no warranties, and confers no rights
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.

"Vladimir Chtepa" <vc.nospam (AT) diacom-systemhaus (DOT) nospam.de> wrote

Quote:
Could you please exactly describe, what role schould accont belong to?


"Akshai Mirchandani [MS]" <akshaim (AT) online (DOT) microsoft.com> schrieb im
Newsbeitrag news:O13YDozBGHA.2664 (AT) TK2MSFTNGP15 (DOT) phx.gbl...
Note that DB dimensions can only be queried directly by a DB Admin... So
a non-DB-admin user may run into issues if you build this into your
solution.

Thanks,
Akshai
--
This posting is provided "AS IS" with no warranties, and confers no
rights
Please do not send email directly to this alias. This alias is for
newsgroup
purposes only.

"Vladimir Chtepa" <vc.nospam (AT) diacom-systemhaus (DOT) nospam.de> wrote in
message news:%236%230vpaBGHA.636 (AT) TK2MSFTNGP10 (DOT) phx.gbl...
Hi,

I have discovered it self.

Like MDX instead of CUBE_NAME we can write $DIMENSION_NAME in the
mdschema query.


"Vladimir Chtepa" <vc.nospam (AT) diacom-systemhaus (DOT) nospam.de> schrieb im
Newsbeitrag news:OZ8DvhaBGHA.1092 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
Hi,

We can run MDX query direct against dimensions
For example

SELECT [Date].[Calendar Year].[All Periods].CHILDREN ON 0, {} ON 1 FROM
[$Date]

How to obtain the same result with the schema rowset query?
What rules are valid for such use cas?

Thanks,
Vladimir Chtepa












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.