SET SHOWPLAN_ALL { ON | OFF }It will not
execute the TSQL statements.It cannot be specified inside a stored
procedure,must be the only statements in a...
分类:
数据库 时间:
2014-07-22 23:11:32
阅读次数:
646
java.lang.IllegalStateException: Target host
must not be null, or set in parameters.
原因:连接地址不完整,必须加上"http://"。========================================...
分类:
移动开发 时间:
2014-07-22 23:08:12
阅读次数:
415
原题地址:http://oj.leetcode.com/problems/reorder-list/题意:Given
a singly linked listL:L0→L1→…→Ln-1→Ln,reorder it to:L0→Ln→L1→Ln-1→L2→Ln-2→…You
must do this...
分类:
编程语言 时间:
2014-05-01 15:37:03
阅读次数:
441
公式测试$$\begin{bmatrix}0 & \cdots & 0 \\
\vdots & \ddots & \vdots \\ 0 & \cdots & 0 \end{bmatrix}$$
分类:
其他好文 时间:
2014-05-01 14:50:26
阅读次数:
274
看到今天,终于自己动手写了一个自己的vector,我这个版本的vector只有vector主要的一些操作,包括原版vector的所有构造函数,begin(),end(),size(),capacity(),empty(),erase(),clear(),pop_back,push_back(),重载...
分类:
其他好文 时间:
2014-05-01 10:51:13
阅读次数:
402
这方面的文章已经写得很详细了,特地摘引两篇文章http://www.cnblogs.com/c2303191/articles/826571.htmlhttp://www.cnblogs.com/EasonLeung/p/3683492.htmlhttp://www.cnblogs.com/Rust...
网页的缓存由HTTP消息头中的"Cache-Control"
来控制的,常见的取值有private、no-cache、max-age、must-revalidate等,默认为private。其作用根据不同的重新浏览方式分为以下几种情况:(1)
打开新窗口如果指定cache-control的值为pri...
分类:
其他好文 时间:
2014-05-01 06:51:33
阅读次数:
273
Vector 计算 均值(mean) 和 方差(variance)
本文地址: http://blog.csdn.net/caroline_wendy
vector的数组, 计算均值和方差的最简方法.
代码:
double sum = std::accumulate(std::begin(resultSet), std::end(resultSet), 0.0);...
分类:
编程语言 时间:
2014-04-28 10:44:42
阅读次数:
587
直接上存储过程、函数
--执行不带参数但带返回值的存储过程
CREATE OR REPLACE PROCEDURE proc_getUserCount(v_totalCount OUT NUMBER) AS
BEGIN
SELECT COUNT(*) INTO v_totalCount FROM vote_user;
END;
--测试不带参数但带返回值的存储过程
DECLARE
v_t...
分类:
其他好文 时间:
2014-04-28 10:25:43
阅读次数:
461
1.存储过程
(1)存储过程的创建及修改
语法:
CREATE [OR REPLACE] PROCEDURE procedure_name
[(parameter_name [IN | OUT | IN OUT] datatype [{(:= | DEFAULT ) defaultvalue}] [, ...])]
{IS | AS}
BEGIN
procedure_...
分类:
数据库 时间:
2014-04-27 21:13:59
阅读次数:
341