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
 Import/Export (DTS) and Replication (2000)
 Import into MS SQL 2000

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2003-06-02 : 08:09:23
Eric writes "Good afternoon

I have an import question. I have an HP3000 system used for accounting purposes. The HP3000 exports general ledger information into a ascii/text file. I have created a Database with tables identical to the HP3000 export file. What is the best most efficient way to import the ascii/text file into SQL while ensuring all of the information contained in the tables are correctly imported into the new SQL tables.

Any information would be greatly helpful and appreciated.
Eric."

Andraax
Aged Yak Warrior

790 Posts

Posted - 2003-06-02 : 13:58:52
I would suggest the BCP (bulk copy program), or DTS (data transformation services), depending on your needs. I myself use mostly BCP.

Look it up in BOL:

[url]http://msdn.microsoft.com/library/default.asp?URL=/library/psdk/sql/portal_7ap1.htm[/url]

Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2003-06-02 : 14:06:15
I recommend bcp as well although DTS can be easier to use for those not familiar with the command line tools for SQL Server.

Tara
Go to Top of Page
   

- Advertisement -