上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 66 下一页

2016年8月21日

information_schema.column_privileges 学习

摘要: mysql 的授权是分层次的 实例级 | 库级 | 表级 | 列级 而这些授权信息被保存在了mysql.user | mysql.db | mysql.tables_priv | mysql.column_priv 等表中 而information_schema.column_privileges 阅读全文

posted @ 2016-08-21 21:43 蒋乐兴的技术随笔 阅读(437) 评论(0) 推荐(0) 编辑

information_schema.columns 学习

摘要: 每一个表中的每一列都会在information_schema.columns表中对应一行 1、informaiton_schema.columns 常用列: 1、table_catalog :不管是table | view 这个列的值总是def 2、table_schema :表 | 视图所在的数据 阅读全文

posted @ 2016-08-21 20:53 蒋乐兴的技术随笔 阅读(3658) 评论(0) 推荐(0) 编辑

2016年8月20日

information_schema.collation_character_set_applicability 学习

摘要: 字符集和排序规则之间是不可以随便搭配的、如果你想知道一个字符集它所搭配的排序规则有哪些?那就可以从information_schema.collation_character_set_applicability 这个表来看 1、information_schema.collation_charact 阅读全文

posted @ 2016-08-20 22:05 蒋乐兴的技术随笔 阅读(221) 评论(0) 推荐(0) 编辑

information_schema.collations 学习

摘要: information_schema.collations 表中的每一行对应一个排序规则 1、information_schema.collations 表中学用列: 1、id :排序规则的ID 2、is_default :是否是字符集的默认排序规则 3、collation_name :排序规则名 阅读全文

posted @ 2016-08-20 21:40 蒋乐兴的技术随笔 阅读(475) 评论(0) 推荐(0) 编辑

information_schema.character_sets 学习

摘要: information_schema.character_sets 表用于查看字符集的详细信息 1、character_sets 常用列说明: 1、character_set_name: 字符集名 2、default_collate_name: 默认排序规则 3、description: 描述信息 阅读全文

posted @ 2016-08-20 12:40 蒋乐兴的技术随笔 阅读(552) 评论(0) 推荐(0) 编辑

information_schema.partitions 学习

摘要: 1、partitions 表中的常用列说明: 1、table_schema:表所在的数据库名 2、table_name:表名 3、partition_method:表分区采用的分区方法 4、partition_expression:分区键 5、partions_name:分区名 6、table_ro 阅读全文

posted @ 2016-08-20 10:43 蒋乐兴的技术随笔 阅读(2421) 评论(0) 推荐(1) 编辑

C++----练习--string输入输出

摘要: 1、要使用标准库中的string 类型、也要增加头文件 #include<string> 2、例子: 阅读全文

posted @ 2016-08-20 10:06 蒋乐兴的技术随笔 阅读(384) 评论(0) 推荐(0) 编辑

2016年8月18日

mysql--help不可用

摘要: 1、问题描述: 执行help语句时没有得到相应的返回只是提示检查相关表是不是已经加载: 2、查看mysql官方后发现这些表相关的sql语句在fill_help_tables.sql 这个文件中;只是加载这个文件中的内容到mysql 库就行了 3、加载完成之后help就可用了 阅读全文

posted @ 2016-08-18 16:11 蒋乐兴的技术随笔 阅读(1598) 评论(0) 推荐(0) 编辑

C++----练习--引用头文件

摘要: 1、创建头文件和源文件 touch /tmp/tools.h touch /tmp/main.cpp 2、各文件的内容如下: tools.h main.cpp 3、编译运行: [root@workstudio tmp]# g++ -o main main.cpp [root@workstudio t 阅读全文

posted @ 2016-08-18 09:17 蒋乐兴的技术随笔 阅读(407) 评论(0) 推荐(0) 编辑

2016年8月14日

C++----练习--整型赋值时的溢出

摘要: 1、如果所赋的值超出了类型的取值范围、那么只保留最低位 2、程序输出 阅读全文

posted @ 2016-08-14 10:43 蒋乐兴的技术随笔 阅读(759) 评论(0) 推荐(0) 编辑

上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 66 下一页

导航