1、类SQL PLUS窗口:File->New->Command
Window,这个类似于oracle的客户端工具sql
plus,但比它好用多了。2、设置关键字自动大写:Tools->Preferences->Editor,将Keyword
case选择Uppercase。这样在窗口中输入sql语...
分类:
数据库 时间:
2014-06-12 16:45:38
阅读次数:
359
public DataTable ReportDetail { get; set;
}//定义datatable属性this.txtTotalPiece.Text = ReportDetail.Compute("sum(Piece)",
"TRUE").ToString();//求和
分类:
Web程序 时间:
2014-06-12 13:25:34
阅读次数:
307
输入10个数,要求编写一个排序函数,能够实现按绝对值从大到小排序。在主函数中输入10个数、输出排序后的10个数#include#include#define N
3main(){ void max(int a[N]); int b[N],i,j; for(i=0;iabs(x[k])) k=j;.....
分类:
其他好文 时间:
2014-06-12 12:35:28
阅读次数:
199
在HTTP标头中为静态资源设置过期日期或最长存在时间,可指示浏览器从本地磁盘中加载以前下载的资源,而不是通过网络加载。这样,
网站加载速度会更快.下面的代码都需要放到.htaccess中才能生效. 推荐设置过期时间为一个月, 即:
max-age=2592000.通过FilesMatch设置Head...
分类:
数据库 时间:
2014-06-12 12:21:45
阅读次数:
362
selecte.FULL_NAME
采购员,sum(plla.quantity-plla.QUANTITY_CANCELLED) 订购数量,
sum(plla.Quantity_Received)完成数量 ,round(SUM(plla.Quantity_Received)*100 /
sum(p....
分类:
数据库 时间:
2014-06-12 12:14:51
阅读次数:
278
补上作业,MariaDB10和MySQL5.6社区版压力测试,见下图:sysbench(10.8.8.43)MySQL5.6和MariaDB10.0.11(10.8.8.100)压力测试参数:sysbench--test=oltp--mysql-table-engine=innodb
--oltp-table-size=10000000--max-requests=0--max-time=900
--num-threads=512--mysql-ho..
分类:
数据库 时间:
2014-06-10 18:52:48
阅读次数:
384