Share via


Data Mining Extensions (DMX) Statement Reference

Working with data mining models in Microsoft SQL Server 2005 Analysis Services (SSAS) involves the following primary tasks:

  • Creating mining structures and mining models
  • Processing mining structures and mining models
  • Deleting or dropping mining structures or mining models
  • Copying mining models
  • Browsing mining models
  • Predicting against mining models

You can use Data Mining Extensions (DMX) statements to perform each of these tasks programmatically.

  • Processing mining structures and mining models
    Use the INSERT INTO (DMX) statement to process a mining structure and mining model.
  • Copying mining models
    Use the SELECT INTO (DMX) statement to copy the structure of an existing mining model into a new mining model and to train the new model with the same data.
  • Predicting against mining models
    Use the PREDICTION JOIN clause of the SELECT statement to create predictions that are based on an existing mining model.

You can also import and export models by using the IMPORT (DMX) and EXPORT (DMX) statements.

These tasks fall into two categories, data definition statements and data manipulation statements, which are described in the following table.

Topic Description

Data Mining Extensions (DMX) Data Definition Statements

Part of the data definition language (DDL). Used to define a new mining model (including training) or to drop an existing mining model from a database.

Data Mining Extensions (DMX) Data Manipulation Statements

Part of the data manipulation language (DML). Used to work with existing mining models, including browsing a model or creating predictions.

See Also

Reference

Data Mining Extensions (DMX) Function Reference
Data Mining Extensions (DMX) Operator Reference
Data Mining Extensions (DMX) Syntax Conventions
Data Mining Extensions (DMX) Syntax Elements

Help and Information

Getting SQL Server 2005 Assistance