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)
 Question

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2005-02-11 : 07:55:19
ranjib writes "The data in a text file is as follows

test.txt
919812299973,09/02/2002 14:55:25,"Pre-Active","HR111"
and too large

I want data will transfer from source file to destination

without the ("")"

nr
SQLTeam MVY

12543 Posts

Posted - 2005-02-11 : 13:37:51
Not sure what you want to do.
Are you importing this into a table?
Is this three lines in a text file?
What table structure does it go into?

For quote delimitted strings you can import via bcp using a format file
see
http://www.mindsdoor.net/SQLTsql/BCP_quoted_CSV_Format_file.html



==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page
   

- Advertisement -