码迷,mamicode.com
首页 >  
搜索关键字:where    ( 20257个结果
Hint:Parameter 'in' is declared but never used in 'query_student'
1、错误描述2、错误原因create or replace procedure query_student(in id int) is begin select * from t_stu_info t where t.id = id; end query_student;     编写Oracle存储过程时,传参时in、参数和参数类型位置不对3、解决办法create or replace p...
分类:其他好文   时间:2015-12-03 21:27:17    阅读次数:248
SQL注入攻击
常见漏洞1. 转义字符处理 $sql = "select * from table where field='$_GET["input"]'"; $result = mysql_query($sql); 检测方法:输入加入单引号'2. 类型处理不当 $sql = "select * fro...
分类:数据库   时间:2015-12-03 19:07:38    阅读次数:206
使用getSession()方法,使用完之后必须自己调用相应的 close方法!
java新手级问题:今天使用hibernate的:Session session = this.getSession();Query query = session.createQuery("update Links set index = index"+indexStr+" where id "....
分类:其他好文   时间:2015-12-03 11:19:23    阅读次数:7691
mysql 数据库字符串替换
UPDATE `table_name` SET `field_name` = replace (`field_name`,'from_str','to_str') WHERE `field_name` LIKE '%from_str%' table_name —— 表的名字 field_na...
分类:数据库   时间:2015-12-03 09:52:19    阅读次数:192
mysql函数操作
getMessage(); exit; } $query = "UPDATE contactInfo SET phone='15801680168' where name='高某某'"; //使用exec()方法可以执行INSERT、UPDATE和D...
分类:数据库   时间:2015-12-03 07:13:16    阅读次数:143
ULK --- Chap 4: ksoftirqd kernel threads (Note)
In recent kernel versions, each CPU has its own ksoftirqd/n kernel thread (where n is thelogical number of CPU). Each ksoftirqd/n kernel thread runs t...
分类:其他好文   时间:2015-12-03 02:15:43    阅读次数:169
Windows中查找命令的路径 (类似Linux中的which命令)
where is a direct equivalent:C:\Users\Joey>where cmdC:\Windows\System32\cmd.exeNote that in PowerShell where itself is an alias for Where-Object, thus...
分类:Windows程序   时间:2015-12-02 22:38:07    阅读次数:295
LeetCode OJ:Valid Sudoku(有效数独问题)
Determine if a Sudoku is valid, according to:Sudoku Puzzles - The Rules.The Sudoku board could be partially filled, where empty cells are filled with ...
分类:其他好文   时间:2015-12-02 22:26:51    阅读次数:140
非递减子序列的最大长度
今天讲了最长非减子序列的长度的两种不同的时间复杂度的算法。yi对于长度为N的数组A[N] = {a0, a1, a2, …, an-1},假设假设我们想求以aj结尾的最大递增子序列长度,设为L[j],L[n] = 1;那么L[j] = max(L[i]) + 1, where i 3 #inclu....
分类:其他好文   时间:2015-12-02 22:19:38    阅读次数:206
s查找父节点
查找所有的父节点,包括本身,不包括就idwith tbs as(select * from TB_HomeBase where ID=223 union all select a.* from TB_HomeBase a inner join tbs b on a.id=b.ParentID) se...
分类:其他好文   时间:2015-12-02 20:31:30    阅读次数:136
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!