Skip to content

Commit c550bdd

Browse files
committed
Update phrasing for bulk import / export article (UUF 265662)
1 parent 7c4ff91 commit c550bdd

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

docs/relational-databases/import-export/prepare-data-for-bulk-export-or-import-sql-server.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@ To import data from a data file, the file must meet the following basic requirem
5656
5757
- To import data from data files with fixed-length or fixed-width fields, use a format file. For more information, see [XML Format Files (SQL Server)](xml-format-files-sql-server.md).
5858

59-
- Starting with [!INCLUDE [sssql17-md](../../includes/sssql17-md.md)], a CSV file can be used as the data file for a bulk import of data into [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)]. The field terminator of a CSV file doesn't have to be a comma. To be usable as a data file for bulk import, a CSV file must comply with the following restrictions:
59+
- Starting with [!INCLUDE [sssql17-md](../../includes/sssql17-md.md)], a CSV file can be used as the data file for a bulk import of data into [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)]. The field terminator of a CSV file doesn't have to be a comma (`,`). The CSV file must comply with the following restrictions:
6060

61-
- Data fields never contain the field terminator.
61+
- Data fields can't contain the field terminator.
6262

63-
- Either none or all of the values in a data field are enclosed in quotation marks (`""`).
63+
- If you need to enclose any fields in quotation marks (`""`), you must enclose all of the data fields in quotation marks.
6464

65-
To bulk import data from a [!INCLUDE [msCoName](../../includes/msconame-md.md)] FoxPro or Visual FoxPro table (.dbf) file or a [!INCLUDE [ofprexcel](../../includes/ofprexcel-md.md)] worksheet (.xls) file, you would need to convert the data into a CSV file that complies with the preceding restrictions. The file extension will typically be `.csv`. You can then use the `.csv` file as a data file in a [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] bulk-import operation.
65+
To bulk import data from a [!INCLUDE [msCoName](../../includes/msconame-md.md)] FoxPro or Visual FoxPro table (`.dbf`) file or a [!INCLUDE [ofprexcel](../../includes/ofprexcel-md.md)] worksheet (.xls) file, you would need to convert the data into a CSV file that complies with the preceding restrictions. The file extension will typically be `.csv`. You can then use the `.csv` file as a data file in a [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] bulk-import operation.
6666

6767
On 32-bit systems ([!INCLUDE [sssql14-md](../../includes/sssql14-md.md)] and previous versions), you can import CSV data into a [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] table without bulk-import optimizations by using [OPENROWSET](../../t-sql/functions/openrowset-transact-sql.md) with the OLE DB Provider for Jet. Jet treats text files as tables, with the schema defined by a `schema.ini` file that is located in the same directory as the data source. For CSV data, one of the parameters in the `schema.ini` file would be `"FORMAT=CSVDelimited"`. To use this solution, you would need to understand how the Jet Text IISAM operates (its connection string syntax, `schema.ini` usage, registry setting options, and so on.) The best sources of this information are Microsoft Access Help and Knowledge Base (KB) articles. For more information, see [Initializing the Text Data Source Driver](/office/client-developer/access/desktop-database-reference/initializing-the-text-data-source-driver), [How To Use a SQL Server 7.0 Distributed Query with a Linked Server to Secured Access Databases](https://www.betaarchive.com/wiki/index.php?title=Microsoft_KB_Archive/246255), [HOW TO: Use Jet OLE DB Provider 4.0 to Connect to ISAM Databases](https://www.betaarchive.com/wiki/index.php?title=Microsoft_KB_Archive/326548), and [How To Open Delimited Text Files Using the Jet Provider's Text IIsam](https://www.betaarchive.com/wiki/index.php?title=Microsoft_KB_Archive/262537).
6868

0 commit comments

Comments
 (0)