写的太简单,很多人都不知道你问的是什么,更没法回答。虽然给了100分。拜托那位告诉她如何修改config.inc.php

解决方案 »

  1.   

    是这样的,比如一个学生表.里面记录学生的信息.我想把1000个学生的信息批量导入,那么我如何写.txt 或者.sql.才可以批量导入.也就是说,我问的SQL的语法.... 如何写.
      

  2.   

    1. save ur excel sheet into a csv file.2. mysql -hhostname -Pportnumber -uusername -ppassword -Ddatabasename --local-infile=yourfilename not very sure.. i left the right statement in office..
      

  3.   

    看MySQL的文档就知道了,MySQL可以导入txt文件的:
        LOAD DATA LOCAL INFILE yours.txt INTO TABLE yours;
      

  4.   

    ya, there are two ways.. becuase im 
    working in linux and do everything
    by bash files instead of do the 
    mysql internal operation, i do not
    prefer the way using "load data ..."
    :)
      

  5.   

    use "load data",
    well...
    I want to know how to format the .txt.
    I mean .how to add info into the txt. ---------the syntax!!!!