摘要: 1、 目标 :在SQLite中新加一列 操作过程: alter table [表名] add column [列名] [列数据类型] [列默认值]; 示例 : alter table comment add column user_name int default(0);2、 目标:修改列名(字段名) 操作过程:以下资料来源——http://www.cnblogs.com/luxiaofeng54/archive/2011/07/13/2104910.html // Sqlite 不支持直接修改字段的名称,因此,需要以下几个步骤: ... 阅读全文
posted @ 2012-11-19 16:11 Binary-Stream 阅读(331) 评论(0) 推荐(0) 编辑
摘要: 英文原文:http://www.revsys.com/blog/2012/may/01/three-things-you-should-never-put-your-database/作者 :Frank Wiles转载地址:http://justjavac.com/other/2012/05/15/three-things-you-should-never-put-your-database.html三种东西永远不要放到数据库里改进你的系统的最好的方法是先避免做“蠢事”。 我并不是说你或你开发的东西“蠢”,只是有些决定很容易被人们忽略掉其暗含的牵连, 认识不到这样做对系统维护尤其是系统升级带. 阅读全文
posted @ 2012-11-19 10:40 Binary-Stream 阅读(187) 评论(0) 推荐(0) 编辑