Imorting data from a csv file problems

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Johnny

    #1

    Imorting data from a csv file problems

    I have been trying to import a large amount of data into my database
    using the following format

    LOAD DATA LOCAL INFILE 'e:\\sydnet2\\_ info\\curdocs.c sv' INTO TABLE
    pnp_docs_curren t FIELDS TERMINATED BY ',' ENCLOSED BY '"' LINES
    TERMINATED BY '\n';

    This, when run, creates an error, stating that this command is not
    allowed with this version of MySQL. Isn't the features from previous
    versions available in the newer versions? Everything I see says this
    can be done with one of the later 3. versions. I am running 4.0.17.
    This seems weird that i can not execute a command like the one above.
    Any help would be greatly appreciated. Thanks in advance.


Working...