Bulk Insert command - complete - Latest

GroundView: Complete US Demographic Estimates and Projections Data Suite Getting Started Guide

Product type
Data
Portfolio
Enrich
Product family
Enrich Demographics > Demographic Estimates and Projections
Product
GroundView Demographics > Complete
Version
Latest
ft:locale
en-US
Product name
GroundView: Complete
ft:title
GroundView: Complete US Demographic Estimates and Projections Data Suite Getting Started Guide
Copyright
2024
First publish date
2016
ft:lastEdition
2025-09-26
ft:lastPublication
2025-09-26T16:42:02.443000
L1_Product_Gateway
Enrich
L2_Product_Segment
Data
L3_Product_Brand
Precisely Demographics
L4_Investment_Segment
Precisely Demographics
L5_Product_Group
Demographic E&P
L6_Product_Name
E&P Demographics
BULK INSERT
<database_name>.<schema_name>.<table_name>
FROM '<path>\<data_file_name>
WITH (FORMATFILE = '<path>\<format_file_name>.FMT',
FIRSTROW = 1,
BATCHSIZE = 1000000,
ROWS_PER_BATCH = 5000000,
ERRORFILE = '<path>\<log_file_name>.log',
MAXERRORS = 5000000

Example:

BULK INSERT
consumer_spend.dbo.consumer_spend
FROM
'C:\Consumer_Spend\Consumer_Spend_Data\consumer_spend.txt'
WITH (FORMATFILE = 'C:\Consumer_Spend\consumer_spend.fmt',
FIRSTROW = 1,
BATCHSIZE = 1000000,
ROWS_PER_BATCH = 5000000,
ERRORFILE = 'C:\Consumer_Spend\errorlog.txt',
MAXERRORS = 5000000

Alternate command for bulk insert:

BULK INSERT <Table_name>
FROM '<Data_Path>'
WITH (FIRSTROW = 2,
    FIELDTERMINATOR = '|',
    ROWTERMINATOR='\n',
    BATCHSIZE=1000000);

Example:

BULK INSERT [dbo].[groundview_update_profile_attribute]
FROM 
'E:\GROUNDVIEW_COMPLETE_USA_2025_TXT\data\geoenrichment\ge_gv_usa_updateprofile.txt'
WITH (FIRSTROW = 2,
    FIELDTERMINATOR = '|',
    ROWTERMINATOR='\n',
    BATCHSIZE=1000000);