dbTalk Databases Forums  

RE: Distinct Count

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


Discuss RE: Distinct Count in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Bas Kersten [MS]
 
Posts: n/a

Default RE: Distinct Count - 07-08-2003 , 07:58 AM






Hi,

Have you seen the following topic ic BOL of Analysis server:

BOL topic "Specifications and Limits":

Source Column Data Types
The data type of the source column for a measure must be numeric
except when the Count or Distinct Count aggregate function is used.

The data type of the source column for a dimension level must be
string or numeric (except currency).

OLE DB Data Types
Columns of the following OLE DB data types may be used as measures or
dimension levels. Columns types that are marked with an asterisk are
supported data types for data mining model columns.

DBTYPE_BOOL*

DBTYPE_I1

DBTYPE_I2

DBTYPE_I4*

DBTYPE_UI1

DBTYPE_UI2

DBTYPE_UI4

DBTYPE_I8

DBTYPE_UI8

DBTYPE_R4

DBTYPE_R8* (Note: Data mining model column inputs of this type will
be cast to a 4 byte floating point number)

DBTYPE_DECIMAL

DBTYPE_NUMERIC

DBTYPE_VARNUMERIC

DBTYPE_CY

DBTYPE_DATE*

DBTYPE_DBDATE

DBTYPE_DBTIME

DBTYPE_DBTIMESTAMP

Columns of the following OLE DB data types may be used as measures
only if the Count or Distinct Count aggregate function is used. These
data types may be used as dimension levels.

DBTYPE_BYTES

DBTYPE_HCHAPTER*

DBTYPE_STR

DBTYPE_WSTR*


HTH,
Bas


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.