Skip to content

Latest commit

 

History

History
65 lines (46 loc) · 3.23 KB

File metadata and controls

65 lines (46 loc) · 3.23 KB
title Data Mining Query
description Data Mining Query
author chugugrace
ms.author chugu
ms.date 03/06/2017
ms.service sql
ms.subservice integration-services
ms.topic conceptual
f1_keywords
sql13.dts.designer.dataminingquery.f1

Data Mining Query

[!INCLUDEsqlserver-ssis]

Important

Data mining was deprecated in [!INCLUDE sssql17-md] Analysis Services and now discontinued in [!INCLUDE sssql22-md] Analysis Services. Documentation is not updated for deprecated and discontinued features. To learn more, see Analysis Services backward compatibility.

The design pane contains the data mining prediction query builder, which you can use to build data mining prediction queries. You can design either prediction queries based on input tables, or singleton prediction queries. Switch to the result view to run the query and view the results. The query view displays the Data Mining Extensions (DMX) query created by the prediction query builder.

Options

Switch view button
Click an icon to switch between the design and query pane. By default, the design pane is open.

To switch to the design pane, click the Design icon icon.

To switch to the query pane, click the SQL icon icon.

Mining Model
Displays the selected mining model on which you want to base predictions.

Select Model
Opens the Select Mining Model dialog box.

Input Columns
Displays the selected input columns used to generate the predictions.

Source
Select the source containing the field that you will use for the column from the dropdown list. You can either use the mining model selected in the Mining Model table, the input table(s) selected in the Select Input Table(s) table, a prediction function, or a custom expression.

Columns can be dragged from the tables containing the mining model and input columns to the cell.

Field
Select a column from the list of columns derived from the source table. If you selected Prediction Function in Source, this cell contains a drop-down list of the prediction functions available for the selected mining model.

Alias
The name of the column returned by the server.

Show
Select to return the column or to only use the column in the WHERE clause.

Group
Use with the And/Or column to group expressions together. For example, (expr1 OR expr2) AND expr3.

And/Or
Use to create a logical query. For example, (expr1 OR expr2) AND expr3.

Criteria/Argument
Specify a condition or user expression that applies to the column. Columns can be dragged from the tables containing the mining model and input columns to the cell.

See Also

Data Mining Query Tools
Data Mining Extensions (DMX) Statement Reference