I already have an existing table with millions of rows. An external text file (tab delimited) needs to be able to an existing table. After both sets of data are in the same table I will normalize. My existing table has the same table structure as the one I’m importing. If i do something like
BULK INSERT TableName
FROM 'C:\SomeDirectory\my table.txt'
WITH
(
FIELDTERMINATOR = '\t',
ROWTERMINATOR = '\n'
)
GO
Will this append, or replace the existing data?
It appends. If you want to replace, TRUNCATE or DELETE first.