Search code examples
sql-serverexcelsql-server-2008excel-2003import-from-excel

importing data from excel to SQL server 2008


I have the following problem 1-i have a database with a table called prod and 3 attributes Codep varchar (15) Namep varchar (40) and DateR datetime 2- I have a excel file with a sheet called prod and 3 columns with the same names of table columns(the first row have the columns names ) I have some info like 50 rows... 3 - when I try to import the excel data to SQL server 2008 it try to create a new table with the name prod$ I don't want that. I want import the data to my existing table prod no create a new one

What should I do to SQL import wizard recognize my excel sheet and insert the data into my table ?


Solution

  • the wizard lets you choose the destination, just click on the drop down

    enter image description here