Skip to content

Commit c6dcc8b

Browse files
committed
Update formatting and correct some language issues.
1 parent e504c96 commit c6dcc8b

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

docs/t-sql/statements/copy-into-transact-sql.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -274,17 +274,18 @@ IDENTITY_INSERT specifies whether the identity value or values in the imported d
274274
- IDENTITY_INSERT can only be set for one table at a time.
275275

276276
#### *AUTO_CREATE_TABLE = { 'ON' | 'OFF' }*
277-
*AUTO_CREATE_TABLE* specifies if the table could be automatically created by working alongside with automatic schema discovery. It is available oly for parquet files
277+
278+
*AUTO_CREATE_TABLE* specifies if the table could be automatically created by working alongside with automatic schema discovery. It is available only for parquet files.
278279

279280
- ON: Enables automatic table creation. The COPY INTO process will create a new table automatically by discovering the structure of the file to be loaded.
280281
- OFF: Automatic table creation is not enabled. Default.
281282

282283
>[!NOTE]
283284
> The automatic table creation works alongside with automatic schema discovery. The automatic table creation is NOT enabled by default.
284285
285-
> [!GUIDELINES]
286-
> Do not load into hash distributed tables from parquet files using COPY INTO with AUTO_CREATE_TABLE = 'ON'
287-
> If parquet files are to be loaded into Hash Distributed tables using COPY INTO, load it into a Round Robin staging table followed by insert select from that table to the target hash distribued table.
286+
Do not load into hash distributed tables from parquet files using COPY INTO with AUTO_CREATE_TABLE = 'ON'.
287+
288+
If parquet files are to be loaded into hash distributed tables using COPY INTO, load it into a round robin staging table followed by INSERT ... SELECT from that table to the target hash distributed table.
288289

289290
### Permissions
290291

0 commit comments

Comments
 (0)