diff --git a/data-explorer/kusto/management/delete-materialized-view-merge-policy-command.md b/data-explorer/kusto/management/delete-materialized-view-merge-policy-command.md new file mode 100644 index 0000000000..1fc05e2b8d --- /dev/null +++ b/data-explorer/kusto/management/delete-materialized-view-merge-policy-command.md @@ -0,0 +1,36 @@ +--- +title: .delete materialized-view policy merge command +description: Learn how to use the `.delete materialized-view policy merge` command to delete a materialized view's merge policy. +ms.reviewer: yifats +ms.topic: reference +ms.date: 12/03/2024 +--- +# .delete materialized-view policy merge command + +> [!INCLUDE [applies](../includes/applies-to-version/applies.md)] [!INCLUDE [fabric](../includes/applies-to-version/fabric.md)] [!INCLUDE [azure-data-explorer](../includes/applies-to-version/azure-data-explorer.md)] + +Delete a materialized view's [merge policy](merge-policy.md). The merge policy defines if and how [Extents (Data Shards)](../management/extents-overview.md) should get merged. + +## Permissions + +You must have at least [Table Admin](../access-control/role-based-access-control.md) permissions to run this command. + +## Syntax + +`.delete` `materialized-view` *MaterializedViewName* `policy` `merge` + +[!INCLUDE [syntax-conventions-note](../includes/syntax-conventions-note.md)] + +## Parameters + +|Name|Type|Required|Description| +|--|--|--|--| +|*MaterializedViewName*| `string` | :heavy_check_mark:|The name of the materialized view for which to delete the merge policy.| + +### Example + +The following command deletes the merge policy at the materialized view level. + +```kusto +.delete materialized-view MyMaterializedView policy merge +``` diff --git a/data-explorer/kusto/management/toc.yml b/data-explorer/kusto/management/toc.yml index 72db1bbb34..f06d605b6f 100644 --- a/data-explorer/kusto/management/toc.yml +++ b/data-explorer/kusto/management/toc.yml @@ -488,6 +488,9 @@ items: - name: .delete table policy merge command href: delete-table-merge-policy-command.md displayName: .delete table merge policy + - name: .delete materialized-view policy merge command + href: delete-materialized-view-merge-policy-command.md + displayName: .delete materialized-view merge policy - name: .show database policy merge command href: show-database-merge-policy-command.md displayName: .show database merge policy diff --git a/data-explorer/kusto/query/strcat-function.md b/data-explorer/kusto/query/strcat-function.md index d48ed9ca5e..ce73348e75 100644 --- a/data-explorer/kusto/query/strcat-function.md +++ b/data-explorer/kusto/query/strcat-function.md @@ -3,7 +3,7 @@ title: strcat() description: Learn how to use the strcat() function to concatenate between 1 and 64 arguments. ms.reviewer: alexans ms.topic: reference -ms.date: 08/11/2024 +ms.date: 11/28/2024 --- # strcat() @@ -32,6 +32,10 @@ The arguments concatenated to a single string. ## Examples +### Concatenated string + +The following example uses the `strcat()` function to concatenate the strings provided to form the string, "hello world." The results are assigned to the variable `str`. + :::moniker range="azure-data-explorer" > [!div class="nextstepaction"] > Run the query @@ -46,3 +50,25 @@ print str = strcat("hello", " ", "world") |str| |---| |hello world| + +### Concatenated multi-line string + +The following example uses the `strcat()` function to create a concatenated multi-line string which is saved to the variable, `MultiLineString`. It uses the newline character to break the string into new lines. + +:::moniker range="azure-data-explorer" +> [!div class="nextstepaction"] +> Run the query +::: moniker-end + +```kusto +print MultiLineString = strcat("Line 1\n", "Line 2\n", "Line 3") +``` + +**Output** + + +The results show the expanded row view with the multiline string. + +|MultiLineString| +|---| +|1. "MultiLineString": Line 1
2. Line 2
3. Line 3|