Reputation: 576
I have a spreadsheet with thousands of records. Columns correspond to fields in a table in a SQL Server database. What is the quickest way to generate an SQL query to insert this data?
Upvotes: 0
Views: 12819
Reputation: 969
@Al2110
based on your query, To generating SQL insert from data in excel file that show in below:
insert into customers values('" &B3 &"','" &C3& "','"&D3&"');
I hope above information will be useful for you.
Thank you.
Upvotes: 1