摘要:1、创建一个表如下: idusernamepassword1Jhlishero1234562hero1233hello12342、创建一个存取过程[代码]3、调用存取过程[代码]4、查看所有的已经定义了存取过程[代码]5、查看某一个存取过程[代码]6、删除一个存取过程[代码]
        阅读全文
        
            posted @ 2009-09-23 22:32
| 
 | |||
| 随笔分类 - Mysql
摘要:1、创建一个表如下: idusernamepassword1Jhlishero1234562hero1233hello12342、创建一个存取过程[代码]3、调用存取过程[代码]4、查看所有的已经定义了存取过程[代码]5、查看某一个存取过程[代码]6、删除一个存取过程[代码]
        阅读全文
 
            posted @ 2009-09-23 22:32 
摘要:1、查看Mysql正在使用的编码集 [代码]·status显示的结果如下: [代码]·show variables like 'character%'显示的结果为: [代码]2、在mysql的安装路径中,找到my.ini文件进行如下修改: [代码]3、重新启动Mysql [代码]注意:般就算设置了表的默认字符集为utf8并且通过UTF-8编码发送查询,你会发现存入数据库的仍然是...
        阅读全文
 
            posted @ 2009-09-13 14:36 
摘要:从数据库中取出数据: Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->select * from dept into outfile 'D:/test.txt' fields terminated by ',' enclosed by ' "...
        阅读全文
 
            posted @ 2009-04-02 20:06 
摘要:1、显示表的结构 table代表数据表的名称 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->desc 表名;show columns from 表名;describe 表名;show create table 表名;//SQL命令形式显示use i...
        阅读全文
 
            posted @ 2009-03-26 20:54 
 | |||