Showing posts with label tree. Show all posts
Showing posts with label tree. Show all posts

Tuesday, March 27, 2012

analysis services

Hello.....

Anyone could help me? I found a difficulties to view the mining result(tree) from analysis services 2000 in my vb 6 application form. I've tried to view the tree by using DMbrowser in vb6 so please help me with some code lines.

Thanx a lot

Take a look at the included source code in this download for the DMSample app (it's written in VB and it launches the viewers from the app): http://www.sqlserverdatamining.com/DMCommunity/Downloads/Links_LinkRedirector.aspx?id=85

Note that the AS2000 license does not give you the ability to redistributable the viewers as part of your application.

Sunday, March 25, 2012

Analysis Service Deployment Error

Hi,

I created a SQL Server 2005 Analysis Service project. When I tried to deploy a standard Decision Tree model, it gave me errors (see below). Clearly, I can't use ntext data type with DISTINCT, but how can I change the SQL command since it was automatically created? What was the final impact of removing the DISTINCT word from the SQL command?

SQL queries 1
SELECT DISTINCT [dbo_Training_x0020_Data].[Hellos] AS [dbo_Training_x0020_DataHellos0_0]

FROM [dbo].[Training Data] AS [dbo_Training_x0020_Data]

Error Messages 1
OLE DB error: OLE DB or ODBC error: The ntext data type cannot be selected as DISTINCT because it is not comparable.; 42000.

Please assist!

MaryYou can change the data type in the DSV, or add a calculated DSV column that casts the ntext to text