0

I am trying to import data from a column in a .xslx file into a database. I'm using SQL Server 2008 and in the Import and Export Wizard I select the file and go to "Write a query to specify the data transfer". My knowledge of SQL is basic and am not sure how I can select the data from the file.

What is an SQL statement that selects a column from an Excel file and updates the database with it? (any corresponding values already in the database can be overwritten)

1 Answer 1

0

It would be easier to just get the wizard to create the table and load the data for you instead of writing the query. Have you tried that? Is there something specific that you need it to do? It may be easier to just get the data into the database in some form, then massage it into its final form.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.