Re: String manipulation and RIGHT() Problem
Posted by:
Jay Pipes
Date: November 22, 2005 06:33PM
Why are you reinventing the wheel like this? Why not just use LOAD DATA INFILE, passing in a line terminator of '@' and a field terminator of '|'? Seems like a lot of effort for functionality that is already in MySQL?
Something like:
LOAD DATA INFILE 'sometext.txt'
INTO my_table
FIELDS TERMINATED BY '|'
LINES TERMINATED BY '@';
SELECT * FROM my_table;
Jay Pipes
Community Relations Manager, North America, MySQL Inc.
Got Cluster?
http://www.mysql.com/cluster
Personal:
http://jpipes.com
Subject
Views
Written By
Posted
5680
November 20, 2005 08:43AM
2002
November 20, 2005 12:27PM
1975
November 21, 2005 02:41PM
1557
November 22, 2005 01:44PM
Re: String manipulation and RIGHT() Problem
2469
November 22, 2005 06:33PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.