2014-06-20 BaoXinjian一、摘要DML(data manipulation language): 它们是SELECT、UPDATE、INSERT、DELETE,就象它的名字一样,这4条命令是用来对数据库里的数据进行操作的语言DDL(data definition language)...
分类:
数据库 时间:
2014-06-24 09:08:24
阅读次数:
365
String sql=null;1、sql="update 表名 set = [where=]"2、sql="delete from 表名 [where=]"3、sql="insert into 表名 [column_list] values(date_values) [where=]"4、sql=...
分类:
数据库 时间:
2014-06-23 08:17:50
阅读次数:
258
std::multimap m; m.insert(std::make_pair(0, "w0")); m.insert(std::make_pair(1, "w1")); m.insert(std::make_pair(1, "w11")); m.insert(std::make_pai...
分类:
其他好文 时间:
2014-06-23 07:44:13
阅读次数:
172
Sqli Lab?支持报错注入、二次注入、盲注、Update注入、Insert注入、Http头部注入、二次注入练习等。支持GET和POST两种方式。 https://github.com/Audi-1/sqli-labsDVWA (Dam Vulnerable Web Application)DVW...
分类:
Web程序 时间:
2014-06-23 07:01:36
阅读次数:
6603
class Solution {public: int searchInsert(int A[], int n, int target) { if (A == NULL || n target) { q = mi; } els...
分类:
其他好文 时间:
2014-06-23 06:29:20
阅读次数:
169
PHP如何防止SQL注入及开发安全[php]function inject_check($sql_str) {$check=eregi('select|insert|update|delete|\'|\/\*|\*|\.\.\/|\.\/|union|into|load_file|outfile',...
分类:
数据库 时间:
2014-06-23 06:07:14
阅读次数:
317
曾今写过一个坑货的数组方法function array_insert($myarray,$value,$position=0){ $fore=($position==0)?array():array_splice($myarray,0,$position); $fore[]=$value; $ret...
分类:
Web程序 时间:
2014-06-23 00:47:05
阅读次数:
265
1、XyzMapper.xml
insert
id=“doSomething"
parameterType="map"
useGeneratedKeys="true"
keyProperty=“yourId">
...
insert>
或
insert id=“doSomething" parameterType=“com.xx.y...
分类:
其他好文 时间:
2014-06-22 21:14:32
阅读次数:
261
在struts映射中重复出现的模式
动作方法
描述
下一个动作方法
add
为save准备网页
save
save
提交INSERT
list
edit
为update准备网页
update
update
提交UPDATE
list
destroy
为remove准备网页
remove
remov...
分类:
其他好文 时间:
2014-06-22 19:41:19
阅读次数:
194
insert into prefix_${table_name} (a, b, c) values (#{a}, #{b}, #{c})
${} 表示直接使用字面量(literal value)
#{} 表示这个是个参数
如果 table_name 是 “ABC”
则 ${table_name} 是 ABC
#{table_name} 是 “ABC"...
分类:
数据库 时间:
2014-06-22 00:58:21
阅读次数:
240