Groups | Blog | Home
all groups > sql server data mining > october 2006 >

sql server data mining : Update table with output from Data Mining Query


Chris
10/14/2006 12:00:00 AM
How can i update the source table with the output of data mining query which predicts value from the source table?

Dejan Sarka
10/15/2006 4:26:04 PM
[quoted text, click to view]

Make a cycle:
- create a linked server from SQL Server to Analysis Services
- you already have a linked server in AS to SQL through data source
- use T-SQL Openquery function to run the DMX query
- use DMX Openquery function to run the prediction join
- don't forget to flatten the DMX result (FLATTENED keyword).

Take a look at the example at
http://solidqualitylearning.com/blogs/dejan/archive/2006/01/18/1507.aspx.

--
Dejan Sarka, SQL Server MVP
Mentor, www.SolidQualityLearning.com
Anything written in this message represents solely the point of view of the
sender.
This message does not imply endorsement from Solid Quality Learning, and it
does not represent the point of view of Solid Quality Learning or any other
person, company or institution mentioned in this message

Chris
10/17/2006 12:00:00 AM
Thank you i will try it.
[quoted text, click to view]
AddThis Social Bookmark Button