BULK INSERT

BULK INSERT TEST_TABLE
FROM ‘Test_data.txt’
WITH
(
FIELDTERMINATOR =’,',
ROWTERMINATOR = ‘\n’
)
Bulk Insert is a method of inserting Text data or Row data in to Sql table directly.
For inserting that we need to specify the Destination table(Here TEST_TABLE)
Source data(Here Test_data.txt), FIELDTERMINATOR(For inserting to each particular element to respective columns) and
ROWTERMINATOR(For terminating each Row).
BULK INSERT
BULK INSERT TEST_TABLE
FROM ‘Test_data.txt’
WITH
(
FIELDTERMINATOR =’,',
ROWTERMINATOR = ‘\n’
)
Bulk Insert is a method of inserting Text data or Raw data in to Sql table directly.
For inserting that we need to specify the Destination table(Here TEST_TABLE)
Source data(Here Test_data.txt), FIELDTERMINATOR(For inserting to each particular element to respective columns) and
ROWTERMINATOR(For terminating each Row).
Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.