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 2000 Forums
 SQL Server Development (2000)
 importing excel data ino sql tables

Author  Topic 

saurabhjj
Starting Member

13 Posts

Posted - 2007-10-01 : 14:46:54
hi, i am new to sql server, i am creating an accounting package, in which i want that users can upload their excel files and i can directly insert values into my sql tables,

can any one help me out

Kristen
Test

22859 Posts

Posted - 2007-10-01 : 14:52:56
The thread is a bit old, but hopefully this may help:
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=55210&SearchTerms=Importing+an+Excel+File+with+DTS

Kristen
Go to Top of Page

Kristen
Test

22859 Posts

Posted - 2007-10-01 : 14:55:11
And there is this (huge!) thread about EXPORT to Excel, which may well have some useful information about IMPORT too.

http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=49926
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2007-10-03 : 02:41:43
quote:
Originally posted by Kristen

And there is this (huge!) thread about EXPORT to Excel, which may well have some useful information about IMPORT too.

http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=49926


Yes. Thats actually Export/Import to Excel

Madhivanan

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

khtan
In (Som, Ni, Yak)

17689 Posts

Posted - 2007-10-03 : 03:39:46
maybe the title of the thread should reflect that ?


KH
[spoiler]Time is always against us[/spoiler]

Go to Top of Page

Reporter
Starting Member

48 Posts

Posted - 2007-10-11 : 09:19:22
Hi, here it is

insert into Table
select Field1,Field2 from opendatasource('Microsoft.Jet.OLEDB.4.0','Data Source="C:\filename.xls";Extended properties=Excel 5.0')...[Page1$]
Go to Top of Page
   

- Advertisement -