今天用mysql workbench在更新数据的时候,出现了下面错误:15:52:39 update wp_posts set post_content = replace(post_content, '/water', '') Error Code: 1175. You are using saf...
分类:
数据库 时间:
2015-04-28 17:50:28
阅读次数:
197
关于复合索引的理解
EXP.
对于 ABC 三个字段建立符合索引
那么能够使用索引的只有 ABC AB A 三个条件
stpu的默认索引中
少了stlty 只会使用mandt 作为索引字段 其实是无效的 key columns 1 反之 就使用了全部索引字段 key column 4 创建索引 20...
分类:
其他好文 时间:
2015-04-28 17:30:56
阅读次数:
115
1 CTE语法WITH关键字 通用表表达式(Common Table Express, CTE),将派生表定义在查询的最前面。要使用CTE开始创建一个查询,可以使用WITH关键字。 CTE语法:WITH [(column_name [,...n])] AS ( CTE_query_...
分类:
数据库 时间:
2015-04-28 01:44:49
阅读次数:
217
ERROR 1054 (42S22): Unknown column ... in 'on clause'原因:MySQL5.0 Bug,要把联合的表用括号包含起来才行:例:Sql代码SELECT(c.id,a.id,b.id)FROMAa,BbLEFTJOINCcONc.a_id=a.a_idAN...
分类:
数据库 时间:
2015-04-27 21:40:55
阅读次数:
918
动态设定GridView的高度,固定column,根据gridview中的item个数设定高度:
调用以下方法:
public static void setListViewHeightBasedOnChildren(GridView listView) {
// 获取listview的adapter
ListAdapter listAdapter = li...
分类:
其他好文 时间:
2015-04-27 11:21:13
阅读次数:
244
ALTER TABLE:添加,修改,删除表的列,约束等表的定义。查看列:desc 表名;修改表名:alter table 表名rename to 表名;添加列:alter table 表名 add column 列名 varchar(30);删除列:alter table 表名 drop colum...
分类:
数据库 时间:
2015-04-26 22:37:45
阅读次数:
169
原创Blog,转载请注明出处
blog.csdn.net/hello_hwc
欢迎关注我的iOS-SDK详解专栏,在这里你能找到很多iOS开发基础的文章
http://blog.csdn.net/column/details/huangwenchen-ios-sdk.html前言:
在做应用的UI设计的时候,如果属性能够在Interface Builder的图形化界面进行设置,并且动态的预览...
分类:
移动开发 时间:
2015-04-26 18:27:24
阅读次数:
207
1、错误描述
10:28:20 alter table user modify age int(3) after sex Error Code: 1054. Unknown column 'age' in 'user' 0.000 sec
2、错误原因
原本在user表中有age字段,但是在测试阶段删除了,后期将age位置修改,所以报错
3、解决办法
首先,...
分类:
其他好文 时间:
2015-04-26 10:54:02
阅读次数:
476
http://blog.csdn.net/column/details/why-bug.html代码具体讲解见(51CTO):http://edu.51cto.com/course/course_id-581.html韩寒博客:http://blog.sina.com.cn/s/articlelis...
分类:
编程语言 时间:
2015-04-25 19:37:53
阅读次数:
127
题目The Employee table holds all employees. Every employee has an Id, a salary, and there is also a column for the department Id.
Id
Name
Salary
DepartmentId 1
Joe
70000
1
2
Henry
80...
分类:
其他好文 时间:
2015-04-25 12:17:23
阅读次数:
166