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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Import text file to sql DB

Status
Not open for further replies.

monaamit

Technical User
Feb 11, 2005
14
US
Hello,

I need ideas how to import txt file to sql database.

Thanks,
Mona
 
well, if your database is SQL Server, you have bcp or DTS (SQL 2000) or SSIS (SQL 2005).

You probably should tell the mechanic what kind of car you have before asking them to order parts ;-)

Hope this helps,

Alex

[small]----signature below----[/small]
I'm pushing an elephant up the stairs

My Crummy Web Page
 
Thanks,

I was thinkng of doing it in SQL 2000. It is txt delimted file and I need to import and I need to import only 3 columns
 
Because this is a whole lot to explain, I suggest you start here:
But I also suggest that you save the resulting package, and really examine it using the DTS designer. Then post back if you have any questions about the different parts. This will help you to create a solid foundation and in the future let you take advantage of some of the more advanced capabilities of DTS.

Hope this helps,

Alex

[small]----signature below----[/small]
I'm pushing an elephant up the stairs

My Crummy Web Page
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top