Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 13th, 2005, 10:11 AM
Authorized User
 
Join Date: Nov 2004
Posts: 57
Thanks: 0
Thanked 0 Times in 0 Posts
Default Reading a Pipe as a delimeter?

We have a csv file that we get and we would like to programatically read it into a sql database. The problem is it is delimited by a Pipe rather than a carriage return, comma, or semicolon. Can anyone show me a way to look for the pipe and replace it with a carriage return or comma? Thanks for the help and examples are appreciated.



 
Old June 13th, 2005, 11:37 AM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,348
Thanks: 0
Thanked 5 Times in 5 Posts
Default

I would suggest using sql server DTS to import your data.

 
Old June 13th, 2005, 11:47 AM
Authorized User
 
Join Date: Nov 2004
Posts: 57
Thanks: 0
Thanked 0 Times in 0 Posts
Default

That would be great, but not an option at this point. Any other suggestions?






Similar Threads
Thread Thread Starter Forum Replies Last Post
XSL transformation - PIPE delimited to CSV satish9 XSLT 3 June 11th, 2007 10:21 AM
grep, sort with pipe BrendonMelville Linux 1 October 25th, 2006 11:46 AM
Problem in Socket Programming (BROKEN PIPE) ankur_vachhani Linux 1 April 12th, 2004 08:12 AM
Named Pipe class gm C# 0 August 7th, 2003 08:18 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.