Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to import EXCEL data into existing table in SQL Server

Status
Not open for further replies.

smsmail

Programmer
Aug 11, 2010
105
0
0
US
Hello

What is the best way to import EXCEL data into an existing table in SQL Server?

Thanks in advance for your help!
 
It's going to depend to some extents on version of SQL server, version of Excel and how variable the spreadsheets will be (name of file, layout, number of sheets/tabs). Manual or automatic import?

(I still use DTS jobs created in SQL server 2000 that are called as SS agent jobs in SS2005)

soi là, soi carré
 

Also is it a one off or repeted.

If it's a one off you can just (In SQL2008 at least)

Right Click the database in SSMS
Select Tasks
Select Import Data

Follow the wizard

You get the option at the end to either run or save the package. If you sacveit then you can tweak in and run it again if you nee dto,

I love deadlines. I like the whooshing sound they make as they fly by
Douglas Adams
(1952-2001)
 

Also is it a one off or repeted.

If it's a one off you can just (In SQL2008 at least)

Right Click the database in SSMS
Select Tasks
Select Import Data

Follow the wizard

You get the option at the end to either run or save the package. If you save it then you can tweak in and run it again if you nee dto,

I love deadlines. I like the whooshing sound they make as they fly by
Douglas Adams
(1952-2001)
 

Also is it a one off or repeted.

If it's a one off you can just (In SQL2008 at least)

Right Click the database in SSMS
Select Tasks
Select Import Data

Follow the wizard

You get the option at the end to either run or save the package. If you sacveit then you can tweak in and run it again if you nee dto,

I love deadlines. I like the whooshing sound they make as they fly by
Douglas Adams
(1952-2001)
 
Hi,

-Select Database and Right Click on it.
-Select Tasks and than Import Data.
-A wizard will appear.
-Select Microsoft Excel as Data Source and give your path of excel file.

Thanks,
Mark @ www.alliancetek.com
 
 http://www.alliancetek.com/
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top