Skip to content

Commit 9299c88

Browse files
Update best-practices-sql-on-demand.md
Fixed typos and made minor edits
1 parent 5b4244a commit 9299c88

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/synapse-analytics/sql/best-practices-sql-on-demand.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ Data types used in your query affects performance. You can get better performanc
6363

6464
## Check inferred data types
6565

66-
[Schema inference](query-parquet-files.md#automatic-schema-inference) helps you quickly write queries and explore data without knowing file schema. This comfort comes at expense of inferred data types being larger than they actually are. It happens whenthere is not enough information in source files to make sure appropriate data type is used. For example, Parquet files do not containt metadata about maximum character column length and SQL on-demand infers it as varchar(8000).
66+
[Schema inference](query-parquet-files.md#automatic-schema-inference) helps you quickly write queries and explore data without knowing file schema. This comfort comes at expense of inferred data types being larger than they actually are. It happens when there is not enough information in source files to make sure appropriate data type is used. For example, Parquet files do not contain metadata about maximum character column length and SQL on-demand infers it as varchar(8000).
6767

68-
You can check resulting data types of your query using [sp_describe_first_results_set](https://docs.microsoft.com/sql/relational-databases/system-stored-procedures/sp-describe-first-result-set-transact-sql?view=sql-server-ver15):
68+
You can check resulting data types of your query using [sp_describe_first_results_set](https://docs.microsoft.com/sql/relational-databases/system-stored-procedures/sp-describe-first-result-set-transact-sql?view=sql-server-ver15).
6969

70-
Following example shows how you can optimize inferred data types. Procedure is used to show inferred data types.
70+
The following example shows how you can optimize inferred data types. Procedure is used to show inferred data types.
7171
```sql
7272
EXEC sp_describe_first_result_set N'
7373
SELECT

0 commit comments

Comments
 (0)