Događaj
31. ožu 23 - 2. tra 23
Najveći događaj učenja SQL-a, Fabrica i Power BI-ja. 31. ožujka – 2. travnja. Upotrijebite kod FABINSIDER da uštedite 400 USD.
Registrirajte se već danasOvaj preglednik više nije podržan.
Prijeđite na Microsoft Edge, gdje vas čekaju najnovije značajke, sigurnosna ažuriranja i tehnička podrška.
Applies to:
SQL Server
The SQL Server OPENROWSET Bulk Rowset Provider enables you to bulk import a data file as large-object data.
The large-object data types supported by OPENROWSET Bulk Rowset Provider are varbinary(max) or image, varchar(max) or text, and nvarchar(max) or ntext.
Napomena
The image, text and ntext data types are deprecated.
The OPENROWSET BULK clause supports three options for importing the contents of a data file as a single-row, single-column rowset. You can specify one of these large-object options instead of using a format file. These options are as follows:
SINGLE_BLOB
Reads the contents of data_file as a single-row, returns the contents as a single-column rowset of type varbinary(max).
SINGLE_CLOB
Reads the contents of the specified data file as characters, returns the contents as a single-row, single-column rowset of type varchar(max), using the collation of the current database; such as a text or Microsoft Word document.
SINGLE_NCLOB
Reads the contents of the specified data file as Unicode, returns the contents as a single-row, single-column rowset of type nvarchar(max), using the collation of the current database.
Import Bulk Data by Using BULK INSERT or OPENROWSET(BULK...) (SQL Server)
BACKUP (Transact-SQL)
OPENROWSET (Transact-SQL)
Keep Nulls or Use Default Values During Bulk Import (SQL Server)
bcp Utility
BULK INSERT (Transact-SQL)
Događaj
31. ožu 23 - 2. tra 23
Najveći događaj učenja SQL-a, Fabrica i Power BI-ja. 31. ožujka – 2. travnja. Upotrijebite kod FABINSIDER da uštedite 400 USD.
Registrirajte se već danasObuka
Modul
Explore data manipulation options in Azure SQL Database - Training
Learn how to invoke REST endpoints in Azure SQL Database and manipulate data using Azure Functions. Also, explore various tools and options for importing and exporting data to and from Azure SQL Database.
Dokumentacija
BULK INSERT (Transact-SQL) - SQL Server
Transact-SQL reference for the BULK INSERT statement.
Use BULK INSERT or OPENROWSET(BULK...) to import data to SQL Server - SQL Server
Find out how to use Transact-SQL statements to bulk import data from a file to a SQL Server or Azure SQL Database table, including security considerations.
Keep identity values when bulk importing data - SQL Server
When you bulk import data that contains identity values to a SQL Server instance, by default, it assigns new values. You can choose to keep the original values.