Skip to content

Commit d87672b

Browse files
authored
Merge pull request #27842 from MicrosoftDocs/FromPublicRepo
Confirm merge from FromPublicRepo to main to sync with https://github.com/MicrosoftDocs/sql-docs (branch live)
2 parents 544897a + 6fcda35 commit d87672b

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

docs/relational-databases/system-catalog-views/sys-query-store-plan-transact-sql.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ monikerRange: "=azuresqldb-current||>=sql-server-2016||=azure-sqldw-latest||>=sq
4747
|**initial_compile_start_time**|**datetimeoffset**|Plan compilation statistics.|
4848
|**last_compile_start_time**|**datetimeoffset**|Plan compilation statistics.|
4949
|**last_execution_time**|**datetimeoffset**|Last execution time refers to the last end time of the query/plan.|
50-
|**avg_compile_duration**|**float**|Plan compilation statistics.|
51-
|**last_compile_duration**|**bigint**|Plan compilation statistics.|
50+
|**avg_compile_duration**|**float**|Plan compilation statistics, in microseconds. Divide by 1000000 to get seconds.|
51+
|**last_compile_duration**|**bigint**|Plan compilation statistics, in microseconds. Divide by 1000000 to get seconds.|
5252
|**plan_forcing_type**|**int**|Plan forcing type.<br /><br />0: NONE<br /><br />1: MANUAL<br /><br />2: AUTO|
5353
|**plan_forcing_type_desc**|**nvarchar(60)**|Text description of `plan_forcing_type`.<br /><br />NONE: No plan forcing<br /><br />MANUAL: Plan forced by user<br /><br />AUTO: Plan forced by automatic tuning.|
5454
|**has_compile_replay_script**|bit|**Applies to:** [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] (Starting with [!INCLUDE[sql-server-2022](../../includes/sssql22-md.md)])<BR/><BR/>Indicates whether the plan has an optimization replay script associated with it:<BR/><BR/>0 = No optimization replay script (none or even invalid).<BR/><BR/>1 = optimization replay script recorded. <BR/><BR/>Not applicable to [!INCLUDE [ssazuresynapse_md](../../includes/ssazuresynapse-md.md)].|
@@ -166,4 +166,4 @@ Learn more about Query Store and related concepts in the following articles:
166166
- [sys.query_store_wait_stats (Transact-SQL)](../../relational-databases/system-catalog-views/sys-query-store-wait-stats-transact-sql.md)
167167
- [sys.query_store_runtime_stats_interval (Transact-SQL)](../../relational-databases/system-catalog-views/sys-query-store-runtime-stats-interval-transact-sql.md)
168168
- [Catalog Views (Transact-SQL)](../../relational-databases/system-catalog-views/catalog-views-transact-sql.md)
169-
- [Query Store Stored Procedures (Transact-SQL)](../../relational-databases/system-stored-procedures/query-store-stored-procedures-transact-sql.md)
169+
- [Query Store Stored Procedures (Transact-SQL)](../../relational-databases/system-stored-procedures/query-store-stored-procedures-transact-sql.md)

docs/relational-databases/system-catalog-views/sys-query-store-query-text-transact-sql.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ monikerRange: "=azuresqldb-current||>=sql-server-2016||=azure-sqldw-latest||>=sq
2828
|-----------------|---------------|-----------------|
2929
|**query_text_id**|**bigint**|Primary key.|
3030
|**query_sql_text**|**nvarchar(max)**|SQL text of the query, as provided by the user. Includes whitespaces, hints and comments. Comments and spaces before and after the query text are ignored. Comments and spaces inside text are not ignored.|
31-
|**statement_sql_handle**|**vabinary(64)**|SQL handle of the individual query.|
31+
|**statement_sql_handle**|**varbinary(64)**|SQL handle of the individual query.|
3232
|**is_part_of_encrypted_module**|**bit**|Query text is a part of an encrypted module.<br/>**Note:** Azure Synapse Analytics will always return zero (0).|
3333
|**has_restricted_text**|**bit**|Query text contains a password or other unmentionable words.<br/>**Note:** Azure Synapse Analytics will always return zero (0).|
3434

0 commit comments

Comments
 (0)