Skip to content

Commit 90b7023

Browse files
Merge pull request #33771 from jovanpop-msft/patch-50
Minor improvements in Fabric OPENROWSET
2 parents a00c922 + 7f9d706 commit 90b7023

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/t-sql/functions/openrowset-transact-sql.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -784,7 +784,7 @@ FROM OPENROWSET(
784784
[
785785
WITH ( ( <column_name> <sql_datatype> [ '<column_path>' | <column_ordinal> ] )+ )
786786
]
787-
AS <alias>
787+
[ AS <alias> ]
788788
```
789789

790790
## Arguments
@@ -799,13 +799,13 @@ The URI can contain * character representing any sequence of characters and enab
799799

800800
#### FORMAT = { 'CSV' | 'PARQUET' }
801801

802-
Specifies the format of the referenced file. If the file extension in the path with .csv, .parquet, or .parq, the `FORMAT` option doesn't need to be specified. For example:
802+
Specifies the format of the referenced file. If the file extension in the path ends with .csv, .parquet, or .parq, the `FORMAT` option doesn't need to be specified. For example:
803803

804804
```sql
805805
SELECT *
806806
FROM OPENROWSET(
807807
BULK 'https://pandemicdatalake.blob.core.windows.net/public/curated/covid-19/bing_covid-19_data/latest/bing_covid-19_data.parquet'
808-
FORMAT = N'CSV') AS cars;
808+
);
809809
```
810810

811811
#### DATAFILETYPE = { 'char' | 'widechar' }
@@ -836,7 +836,7 @@ Specifies the row terminator to be used for **char** and **widechar** data files
836836

837837
#### FIELDTERMINATOR = '*field_terminator*'
838838

839-
Specifies the field terminator to be used for **char** and **widechar** data files. The default field terminator is `\t` (tab character). For more information, see [Specify Field and Row Terminators](../../relational-databases/import-export/specify-field-and-row-terminators-sql-server.md).
839+
Specifies the field terminator to be used for **char** and **widechar** data files. The default field terminator is `,` (comma). For more information, see [Specify Field and Row Terminators](../../relational-databases/import-export/specify-field-and-row-terminators-sql-server.md).
840840

841841
#### FIELDQUOTE = '*field_quote*'
842842

0 commit comments

Comments
 (0)