Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 upload excel as a table in sql 2005

Author  Topic 

shaw
Starting Member

15 Posts

Posted - 2007-05-03 : 15:58:23
hi there,

i am using MS SQL 2005.

i have an xxx.xls file (has 3 columns in one worksheet) that needs to be uploaded as a table with 3 fields (corresponding to the columns in my excel sheet) into my database.

does anybody know how to do this?

thanks,

rmiao
Master Smack Fu Yak Hacker

7266 Posts

Posted - 2007-05-03 : 16:33:29
Use import data wizard in SSMS.
Go to Top of Page

shaw
Starting Member

15 Posts

Posted - 2007-05-03 : 16:45:36
in my server management studio toolbar, i have searched for and export/import wizard, i ended up with nothing.
would you please tell where that specifically is?

Go to Top of Page

jshepler
Yak Posting Veteran

60 Posts

Posted - 2007-05-04 : 10:04:57
right-click the database, select "Tasks", select "Import Data".


/jeff
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2007-05-04 : 10:17:11
You can also use query
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=49926

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
   

- Advertisement -