zoukankan      html  css  js  c++  java
  • MySQL实际使用笔记

    load data local infile 文件名 into table 表名 
    fields terminated by 表项分界符 
    lines terminated by'
    '/*行分界符*/;
    

    这个是往从文件里拷东西到数据库中的命令。infile前面的local好像很有用的样子。

    select * from 表名 order by date desc, time desc into outfile 输出文件名;

    这个是把数据库里的东西存到文件中。注意,如果不写绝对地址的话,文件会默认存在某个特等地址下。这个特定地址应该可以在my.cnf或者是my.ini里面改。

    先写这么多吧。

  • 相关阅读:
    v-for基本使用
    SSH
    Git 命令
    bower笔记
    gulp使用例子
    yeoman使用例子
    grunt搭建
    不会误解的名字
    Python 多线程 多进程
    Python 协程
  • 原文地址:https://www.cnblogs.com/progroveriman/p/6241512.html
Copyright © 2011-2022 走看看