If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > appending data to same column

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-07-06, 23:13
farhan26 farhan26 is offline
Registered User
 
Join Date: Aug 2006
Posts: 7
Thumbs up appending data to same column

hi,
i have splitted the big file to 56 small files(text file) and want to send to mysql database. i want all those content to be put in the same column.how to do that? (appending the data).
i'm using Perl script.

thanks..
Reply With Quote
  #2 (permalink)  
Old 09-07-06, 23:21
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,534
which column?
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #3 (permalink)  
Old 09-08-06, 02:40
farhan26 farhan26 is offline
Registered User
 
Join Date: Aug 2006
Posts: 7
for example :
mysql
table (data)

id | File
-------------
0 | THIS COLUMN

i want to put all the text files(1-56) contents into only one column.

do you think this is the best way to deal with it ? see the flow

pwr.gz (local dir) ---> splitted(56 files) --->upload to Mysql ---> fetch (output to output.txt) at server side(where this script reside) ---> download from web.

Last edited by farhan26; 09-08-06 at 05:01.
Reply With Quote
  #4 (permalink)  
Old 09-08-06, 05:22
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,534
Quote:
Originally Posted by farhan26
do you think this is the best way to deal with it ?
me? no

i would simply store the 56 files on the web server and skip mysql altogether

__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On