Displaying 1 result from an estimated 1 matches for "uploadarc".
2006 Aug 01
0
Load data to Database
i got problem to load data from file to database. is it because my sql
command?
---
def uploadarc
@results = $m.query("LOAD DATA LOCAL INFILE
''C:/InstantRails/rails_apps/cron/sample.txt'' INTO TABLE archives FIELDS
TERMINATED BY ''\n'' ENCLOSED BY ''\"'' LINES TERMINATED BY ''\n\n''")
flash[:notice]=" Uploa...