Skip to content

Latest commit

 

History

History
50 lines (38 loc) · 1.42 KB

File metadata and controls

50 lines (38 loc) · 1.42 KB
title UPDATE (DMX) | Microsoft Docs
ms.date 06/07/2018
ms.prod sql
ms.technology analysis-services
ms.custom dmx
ms.topic conceptual
ms.author owend
ms.reviewer owend
author minewiskan

UPDATE (DMX)

[!INCLUDEssas-appliesto-sqlas]

Changes the NODE_CAPTION column in the data mining model.

Syntax

  
UPDATE <model>.CONTENT  
SET NODE_CAPTION='new caption'  
[WHERE <condition expression>]  

Arguments

model
A model identifier.

new caption
A string that contains the new name for the NODE_CAPTION column.

condition expression
Optional. A condition to restrict the values that are returned from the column list.

Examples

In the following example, the UPDATE statement changes the default name, Cluster 1, for cluster 001 to the more descriptive name, Likely Customers.

UPDATE [TM Clustering].CONTENT  
SET NODE_CAPTION= 'Likely Customers'  
WHERE NODE_UNIQUE_NAME = '001'  

See Also

Data Mining Extensions (DMX) Data Definition Statements
Data Mining Extensions (DMX) Data Manipulation Statements
Data Mining Extensions (DMX) Statement Reference