1)删除表的一列 ALTERTABLE表名DROPCOLUMN列名;2)增加表的一列 且默认值为0alter table 表名 add 字段名 类型 default '0';3)修改表的字段为NULLALTER TABLE 表名 MODIFY 要修改的字段名字 NULL;4)修改表的字段名alter...
分类:
数据库 时间:
2015-09-28 14:40:31
阅读次数:
171
mysql数据库为表中已有的主键字段增加自增属性: ALTER TABLE `category ` MODIFY COLUMN `id` int(11) NOT NULL AUTO_INCREMENT FIRST ,ADD PRIMARY KEY (`id`);mysql数据库建表设置...
分类:
数据库 时间:
2015-09-28 14:39:38
阅读次数:
185
解决方法;windows安装svn的时候默认是不安装svncommandline这个东西的,重新打开svn的安装exe,选择modify,将“command line client tools”允许安装,然后next继续安装。版权声明:本文为博主原创文章,未经博主允许不得转载。
分类:
其他好文 时间:
2015-09-27 16:08:53
阅读次数:
179
1、给字段设置默认字符值ALTER TABLE `v_users`MODIFY COLUMN `picture` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '3.jpg' AFTER `phone`;注意....
分类:
数据库 时间:
2015-09-27 12:29:20
阅读次数:
329
touchlinux的touch命令不常用,一般在使用make的时候可能会用到,用来修改文件时间戳,或者新建一个不存在的文件命令参数touch选项(参数)文件1、命令参数a或--time=atime或--time=access或--time=use只更改存取时间。-c或--no-create不建立任何文档。-d使用指定的日期时间,..
分类:
其他好文 时间:
2015-09-25 18:46:56
阅读次数:
205
The Importance of Sync in EmbeddedTable of Contents1. My experience2. Solution3. Sync Info1 My experienceWhen I modify /etc/init.d/rcS in development ...
分类:
其他好文 时间:
2015-09-23 10:17:59
阅读次数:
126
#!/bin/bash# @Name:install_mysql.sh# @Author:Eivllom# @Create time:2015-09-16# @Modify time:2015-09-16app_soft="/app/soft" #软件包存放目录if [ `ls "${app_sof...
分类:
数据库 时间:
2015-09-19 19:39:33
阅读次数:
224
1.RGB函数计算公式: 颜色值 = (65536 * Blue) + (256 * Green) + (Red)2.控件可拖动:send(handle(this),274,61458,0)3.如何用程序控制下拉子数据窗口的下拉和收起用modify或者直接用dw_1.object.col1.dddw...
分类:
其他好文 时间:
2015-09-18 11:54:48
阅读次数:
319
/** Copyright (C) 2005-2007 Jan Kiszka .** Xenomai is free software; you can redistribute it and/or modify it* under the terms of the GNU General Publ...
分类:
其他好文 时间:
2015-09-16 17:18:16
阅读次数:
150
ALTER table t_shift_use modify phone BIGINT(20)http://blog.csdn.net/hupanfeng/article/details/21454847http://www.360doc.com/content/14/0823/22/1902029...
分类:
其他好文 时间:
2015-09-16 00:50:53
阅读次数:
152