摘要: http://www.cnblogs.com/doit8791/archive/2012/05/11/2495319.html数据类型是定义列中可以存储什么数据以及该数据实际怎么存储的基本规则。Mysql的常用数据类型主要有:串数据类型:最常用的数据类型,有两种基本的串类型:分别为定长串和不定长串。... 阅读全文
posted @ 2015-11-07 11:04 wolfplan 阅读(394) 评论(0) 推荐(0) 编辑
摘要: 在程序中,若想要动态地得到某一个表的具体信息,就使用到了MySQL 中的 INFORMATION_SCHEMA 信息数据库,而它又包含很多表,见下:INFORMATION_SCHEMA SCHEMATA表INFORMATION_SCHEMA TABLES表INFORMATION_SCHEMA COL... 阅读全文
posted @ 2015-11-07 10:14 wolfplan 阅读(2568) 评论(0) 推荐(0) 编辑
摘要: 转自:http://blog.sina.com.cn/s/blog_610997850100wjrm.html总结,int(M) zerofill,加上zerofill后M才表现出有点点效果,比如 int(3) zerofill,你插入到数据库里的是10,则实际插入为010,也就是在前面补充加了一个... 阅读全文
posted @ 2015-11-07 09:45 wolfplan 阅读(478) 评论(0) 推荐(0) 编辑
摘要: 转自 http://china.ygw.blog.163.com/blog/static/6871974620132220289638/在mysql中存在着各种utf8编码格式,如下表: 1)utf8_bin 2)utf8_general_ci 3)utf8_general_cs utf8_bin将... 阅读全文
posted @ 2015-11-07 09:28 wolfplan 阅读(649) 评论(0) 推荐(0) 编辑
摘要: 转自blog.sina.com.cn/s/blog_4c451e0e0100vefm.html1.打开MySQL安装目录找到 my.ini,如:C:\Program Files\MySQL\MySQL Server 5.0\my.ini2.在 [client] 下修改或添加:default-char... 阅读全文
posted @ 2015-11-07 09:24 wolfplan 阅读(791) 评论(0) 推荐(0) 编辑
摘要: 转自:www.2cto.com/database/201504/387589.htmlWampServer安装后密码是空的,修改一般有两种方式:一是通过phpMyAdmin直接修改;二是使用WAMP的MySql控制台修改。第一种:①在phpMyAdmin界面中点击【用户】,将用户概况中的所有用户名为... 阅读全文
posted @ 2015-11-05 09:04 wolfplan 阅读(361) 评论(0) 推荐(0) 编辑
摘要: 操作系统:win10 x64Server version : 5.5.46 MySQL Community Server (GPL)mysql 修改 character_set_database 编码格式默认编码:character_set_database=latin1连接到服务器cmd> mys... 阅读全文
posted @ 2015-10-31 13:54 wolfplan 阅读(4905) 评论(0) 推荐(0) 编辑
摘要: 环境win10系统IIS10里边发布web应用程序的时候,出现HTTP 错误 404.2 - Not Found由于 Web 服务器上的“ISAPI 和 CGI 限制”列表设置,无法提供您请求的页面。解决方法为:选中到iis根目录,把.net4中的ISAPI和CGI限制 把设置为允许 ASP.NET... 阅读全文
posted @ 2015-10-12 11:54 wolfplan 阅读(3183) 评论(0) 推荐(0) 编辑
摘要: http://stackoverflow.com/questions/801054/opencv-cvsaveimage-jpeg-compression-factor #define CV_IMWRITE_JPEG_QUALITY 1 #define CV_IMWRITE_PNG_COMPRESS... 阅读全文
posted @ 2014-10-29 10:37 wolfplan 阅读(9614) 评论(0) 推荐(2) 编辑
摘要: sql%rowcount用于记录修改的条数,就如你在sqlplus下执行delete from之后提示已删除xx行一样,这个参数必须要在一个修改语句和commit之间放置,否则你就得不到正确的修改行数。例如:declare n number;begin insert into test_a sel... 阅读全文
posted @ 2014-10-02 23:47 wolfplan 阅读(5545) 评论(0) 推荐(0) 编辑