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)
 Data importing from excel and Foxpro

Author  Topic 

Aamir
Starting Member

14 Posts

Posted - 2004-07-01 : 07:04:37

Hi,
For new in SQL Server i have to import data in sql server from excel and from foxpro(DOS base version) at runtime from VB application. Can someone assist me in this, that how and where should i start to accomplish this task...



SoftGuru

Wanderer
Master Smack Fu Yak Hacker

1168 Posts

Posted - 2004-07-01 : 07:41:45
Hmm - does it have to be via the VB Application?

I recommend you look at the Books On Line for the usage of DTS (data transformation services). BCP might also work for you, but it is more finicky (and faster typically).

There are other ways , like OPENDATASOURCE, as well. But DTS will probably be the easiest route...

*##* *##* *##* *##*

Chaos, Disorder and Panic ... my work is done here!
Go to Top of Page

ditch
Master Smack Fu Yak Hacker

1466 Posts

Posted - 2004-07-01 : 08:10:16
Regan - Recomending DTS ?

I thought you dispised it

I have found that the more I use it the more I hate it.

A good post to look at would be Regan's (Wanderer's) solution at the end of this thread.

http://www.sqlteam.com/Forums/topic.asp?TOPIC_ID=36383


Duane.
Go to Top of Page

Wanderer
Master Smack Fu Yak Hacker

1168 Posts

Posted - 2004-07-01 : 09:12:20
Duane,

It has it uses, and to someone who is new to SQL, is a starting point. What was interesting from the Yukon presentation (not trying to rub your nose in that, really :-) ), was the enhancements to DTS - it has had a total re-write...

anyways ... at the end of the day, a saying I've found true is Horse's for Course's ... I have even admitted before that Ms-Access (yuk) has it's place its the IT world (but don't quote me :-) )

*##* *##* *##* *##*

Chaos, Disorder and Panic ... my work is done here!
Go to Top of Page
   

- Advertisement -