Basic of MySQL创建数据库:1 mysql> create database xxj;2 Query OK, 1 row affected (0.00 sec)列举数据库:1 mysql> show databases;2 +--------------------+3 | Databa...
分类:
数据库 时间:
2014-07-16 19:25:31
阅读次数:
260
使用multi_query(); 去执行SQL语句,执行多条语句多个SQL语句用“;”分开一:没有结果集的语句:$sql="insert into products (cid,name,price,num) values('2','PHP','2.22','10');update products ...
分类:
数据库 时间:
2014-07-15 23:12:08
阅读次数:
325
RBO和CBO的基本概念 Oracle数据库中的优化器又叫查询优化器(Query Optimizer)。它是SQL分析和执行的优化工具,它负责生成、制定SQL的执行计划。Oracle的优化器有两种,基于规则的优化器(RBO)与基于代价的优化器(CBO) RBO: Rule-Based Optimiz...
分类:
数据库 时间:
2014-07-15 00:04:02
阅读次数:
581
Profile Name 说明 设置建议 FND: Enable Cancel Query 当执行一个超长时间的查询时,会出现一个 Cancel窗口,允许用户取消。比如我们在SO 界面没有输入条件就来个Ctrl+F11,由于SO ...
分类:
其他好文 时间:
2014-07-14 15:34:44
阅读次数:
213
/*
I - 深搜 基础
Time Limit:1000MS Memory Limit:10000KB 64bit IO Format:%I64d & %I64u
Submit
Status
Description
Given a specified total t and a list of n integers, find all distinct sums using n...
分类:
其他好文 时间:
2014-07-14 13:10:00
阅读次数:
253
建立主表:create table a1 (id int ,name char(20));建立附表:create table a2 (tid int ,name char(20));分别插入数据:mysql> insert into a1 values (1,'baidu');Query OK, 1...
分类:
其他好文 时间:
2014-07-13 22:42:45
阅读次数:
223
BACKGROUNDMany algorithms on a graphics processing unit (GPU) may benefit from doing a query in a hierarchical tree structure (including quad-trees, o...
分类:
其他好文 时间:
2014-07-13 19:47:28
阅读次数:
289
配置nginx支持php 出现了No input file specified ?
只要修改下安装目录下的 nginx.conf下的
location ~ \.php$ {
root html;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index ...
分类:
Web程序 时间:
2014-07-13 16:16:48
阅读次数:
270
1. 什么是ticks
我们来看一下手册上面对ticks的解释:
A tick is an event that occurs for every N low-level statements executed by the parser within the declare block. The value for N is specified using ticks=N withi...
分类:
Web程序 时间:
2014-07-13 13:55:59
阅读次数:
269
经常用到经常网上搜,这次写下来。1,设置选中:$('#nrowid').prop('checked', false);2,取选中项的值:$('#nrowid').prop("checked") || false;
分类:
Web程序 时间:
2014-07-13 13:40:35
阅读次数:
257