Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit 3bd3ad2

Browse files
committed
[SSMS] New options page
1 parent 33c1f9c commit 3bd3ad2

2 files changed

Lines changed: 48 additions & 2 deletions

File tree

docs/ssms/menu-help/options-environment-startup-page.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
---
2-
description: "Options (Environment - Startup page)"
32
title: " SQL Server Options page - Environment - Startup"
4-
ms.date: 11/05/2018
3+
description: "Options (Environment - Startup page)"
54
ms.prod: sql
65
ms.prod_service: "sql-tools"
76
ms.technology: ssms
87
ms.topic: conceptual
98
author: "markingmyname"
109
ms.author: "maghan"
10+
ms.date: 11/05/2018
1111
---
12+
1213
# Options (Environment - Startup page)
1314

1415
[!INCLUDE[SQL Server Azure SQL Database Synapse Analytics PDW ](../../includes/applies-to-version/sql-asdb-asdbmi-asa-pdw.md)]
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
title: " SQL Server Options page - Environment - Startup"
3+
description: "Options (Environment - Startup page)"
4+
ms.prod: sql
5+
ms.prod_service: "sql-tools"
6+
ms.technology: ssms
7+
ms.topic: conceptual
8+
f1_keywords:
9+
- VS.ToolsOptionsPages.Query_Execution.Sql_Server.General
10+
dev_langs:
11+
- TSQL
12+
author: "markingmyname"
13+
ms.author: "maghan"
14+
ms.date: 01/13/2021
15+
---
16+
17+
# Query Options Execution (General Page)
18+
19+
Use this page to specify the options for running Microsoft SQL Server queries. To access this dialog box, right-click the body of a Query Editor window, and then click Query Options.
20+
21+
- **SET ROWCOUNT**
22+
The default value of 0 indicates that SQL Server will wait for results until all results are received. Provide a value greater than 0 if you want SQL Server to halt the query after obtaining the specified number of rows. To turn this option off (so that all rows are returned), specify SET ROWCOUNT 0.
23+
24+
- **SET TEXTSIZE**
25+
The default value of 2,147,483,647 bytes indicates that SQL Server will provide a complete data field up to the limit of text, ntext, nvarchar(max), and varchar(max) data fields. It does not affect the XML data type. Provide a smaller number to limit results in the case of large values. Columns greater than the number provided will be truncated.
26+
27+
- **Execution time-out**
28+
Indicates the number of seconds to wait before canceling the query. A value of 0 indicates an infinite wait, or no time-out.
29+
30+
- **Batch separator**
31+
Type a word that you use to separate Transact-SQL statements into batches. The default is GO.
32+
33+
- **By default, open new queries in SQLCMD Mode**
34+
Select this check box to open new queries in SQLCMD mode. This check box is visible only when the dialog box is opened through the Tools menu.
35+
36+
When you select this option, be aware of the following limitations:
37+
38+
- IntelliSense in the Database Engine Query Editor is turned off.
39+
40+
- Because Query Editor doesn't run from the command line, you cannot pass in command-line parameters such as variables.
41+
42+
- Because Query Editor cannot respond to operating-system prompts, you must be careful not to run interactive statements.
43+
44+
- **Reset to Default**
45+
Resets all values on this page to the original default values.

0 commit comments

Comments
 (0)