设置相关脚本:默认:$cat /proc/sys/net/ipv4/ip_local_port_range32768 61000$cat setting.sh#/bin/bash# modify backlog, meanwhile change listen function to 1024, ....
分类:
其他好文 时间:
2015-06-05 17:00:26
阅读次数:
371
CREATE OR REPLACE PROCEDURE ModifyColumnTypeIS sqlRenameColumn CONSTANT VARCHAR2(100) := 'alter table [tablename] rename column [targetcolumn] to [tar...
分类:
其他好文 时间:
2015-06-05 15:29:58
阅读次数:
97
#includeconst int M = 1e5 ;int a[M] , c[M];int n , m ;void modify (int x , int add ){ for (; x 0 ; x -= x & (-x)) ret += c[x] ; return r...
分类:
编程语言 时间:
2015-06-04 06:10:38
阅读次数:
117
When learning a new programming language, it's important to try the examples in the book, and then modify them and try them again to test your underst...
分类:
编程语言 时间:
2015-06-03 21:14:53
阅读次数:
126
project.properties
# This file is automatically generated by Android Tools.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file must be checked in Version Control Systems.
#
# To...
分类:
移动开发 时间:
2015-06-02 20:14:31
阅读次数:
143
1.Oracle、MySQL插入时返回下一个主键的操作Xml代码 Oracle:insert into ROLE(ID, NAME, CREATE, MODIFY) values (#{id}, #{name}, sysdate, sysdate)注意:这边的keyProperty="id"中"id...
分类:
数据库 时间:
2015-06-02 17:04:43
阅读次数:
246
--------1.添加分区(以下代码给sales表添加了一个p3分区)alter table sales add partition p3 values less than(to_date('2003-06-01','yyyy-mm-dd'));alter table sales modify p...
分类:
其他好文 时间:
2015-05-30 01:47:58
阅读次数:
127
int pos = Convert.ToInt32(dw1.Describe(colname + ".y"));pos = pos - 40;dw1.Modify("DataWindow.VerticalScrollPosition='"+pos.ToString()+"'");
1. 修改varchar类型
为了满足需求,现要将varchar(6)改成varchar(8).这时更好的方法不是使用altertable modify,而是采用如下的步骤:
A.创建一张临时表,把varchar设置为varchar(8),如下所示:
B. 替换.frm表结构文件
C. 然后查看就可以了。
在windows下待测试。
也可以参考文章:
http:/...
分类:
数据库 时间:
2015-05-28 16:14:14
阅读次数:
213
1 import java.io.File; 2 import java.io.FileOutputStream; 3 import java.io.IOException; 4 import java.util.LinkedList; 5 6 public class Modify...
分类:
其他好文 时间:
2015-05-28 12:30:54
阅读次数:
141