Skip to content

Commit e764abb

Browse files
authored
Merge pull request #20041 from MicrosoftDocs/FromPublicRepo
Confirm merge from FromPublicRepo to master to sync with https://github.com/MicrosoftDocs/sql-docs (branch live)
2 parents 60b1d5b + 5289c63 commit e764abb

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

docs/t-sql/statements/bulk-insert-transact-sql.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,8 @@ CREATE TABLE t_float(c1 FLOAT, c2 DECIMAL (5,4));
276276
The user wants to bulk import data into the `t_float` table. The data file, C:\t_float-c.dat, contains scientific notation **float** data; for example:
277277

278278
```input
279-
8.0000000000000002E-28.0000000000000002E-2
279+
8.0000000000000002E-2 8.0000000000000002E-2
280+
280281
```
281282

282283
However, BULK INSERT cannot import this data directly into `t_float`, because its second column, `c2`, uses the `decimal` data type. Therefore, a format file is necessary. The format file must map the scientific notation **float** data to the decimal format of column `c2`.
@@ -537,4 +538,4 @@ For complete `BULK INSERT` examples including configuring the credential and ext
537538
- [INSERT (Transact-SQL)](../../t-sql/statements/insert-transact-sql.md)
538539
- [OPENROWSET (Transact-SQL)](../../t-sql/functions/openrowset-transact-sql.md)
539540
- [Prepare Data for Bulk Export or Import (SQL Server)](../../relational-databases/import-export/prepare-data-for-bulk-export-or-import-sql-server.md)
540-
- [sp_tableoption (Transact-SQL)](../../relational-databases/system-stored-procedures/sp-tableoption-transact-sql.md)
541+
- [sp_tableoption (Transact-SQL)](../../relational-databases/system-stored-procedures/sp-tableoption-transact-sql.md)

0 commit comments

Comments
 (0)