简单记录:模糊查询的select语句的拼写 public List
GetWhereStudent(string name, string sub, string isG) { List lt = new List();
str...
分类:
Web程序 时间:
2014-04-29 17:17:34
阅读次数:
864
包用于在逻辑上组合过程和函数,它由包规范和包体两个部分组成。(1)首先用CREATE
PACKAGE创建包规范,只包含过程和函数的说明,但没有过程和函数的实现代码--创建一个包名称为sp_package--声明该包含有一个过程update_sal--声明该包含有一个函数annual_incomeCR...
分类:
数据库 时间:
2014-04-29 16:53:52
阅读次数:
632
今天,数据库的操作越来越成为整个应用的性能瓶颈了,这点对于Web应用尤其明显。关于数据库的性能,这并不只是DBA才需要担心的事,而这更是我们程序员需要去关注的事情。当我们去设计数据库表结构,对操作数据库时(尤其是查表时的SQL语句),我们都需要注意数据操作的性能。这里,我们不会讲过多的SQL语句的优...
分类:
数据库 时间:
2014-04-29 16:20:58
阅读次数:
653
导入工程:File->New->project:选择“Java project
from existing ant buildfile”再从菜单windows->show view->ant
打开ant工具对话框打开ant编译文件build.xml当编译完成后,在源码根目录下会生成一个target目...
分类:
其他好文 时间:
2014-04-29 16:17:53
阅读次数:
519
select控件在标准浏览器下可以直接innerHTML设置内容,IE则不行。HTML结构:
先看直接使用select.innerHTMLvar form = document.forms["form1"]; var select =
form["select1"]; select...
分类:
其他好文 时间:
2014-04-29 16:04:37
阅读次数:
431
Call for PapersInternational Conference for
Smart Health (ICSH) 2014Beijing, China July 10-11,
2014http://www.icsh2014.orgAdvancing Informatics for he...
分类:
其他好文 时间:
2014-04-29 15:57:28
阅读次数:
433
案例描述
在定时脚本运行过程中,发现当备份表格的sql语句与删除该表部分数据的sql语句同时运行时,mysql会检测出死锁,并打印出日志。两个sql语句如下:
(1)insert into backup_table select * fromsource_table (2)DELETE FROM s...
分类:
数据库 时间:
2014-04-29 15:28:42
阅读次数:
775
Most of the database intensive applications are
worring about the default values of these variables obviously. Developers used
to inform me that they ...
分类:
数据库 时间:
2014-04-29 15:26:38
阅读次数:
739
使用三台虚拟机器, Ubuntu1(nginx) 192.168.226.128
Ubuntu2(php-fpm+memcached)192.168.226.132 CentOS(MySQL)192.169.226.130PHP
框架使用CakePHP,这个是很常用的MVC 框架,基于事件的分...
分类:
Web程序 时间:
2014-04-29 15:24:41
阅读次数:
477
1. 版本控制 -- 是否响应某个方法 、查看当前系统版本。 eg:[self
respondsToSelector:@Selector(presentModalViewController:animated:)]//Yes:表示响应这个方法[[UIDevice
currentDevice].sys...
分类:
其他好文 时间:
2014-04-29 15:16:27
阅读次数:
339