日常记录
来源:互联网 发布:淘宝商品价格旁边的字 编辑:程序博客网 时间:2024/05/28 05:18
mybatis 批量添加数据 dao层传入参数 list<object>
SQL:
<insert id =" insertID" parameterType="java.util.List">
iinsert into tableName ( 字段 ,字段, 字段)
<foreach collection = "list" item = "item" separator = "union all">
select
#{item.字段}
#{item.字段}
#{item.字段}
from dual
</foreach>
如果连了VPN ,访问受限或者你的ip无法访问你的本机时,需要断开网络,并刷新DNS 缓存,命令:ipconfig/flushdns
oracle for循环插入
begin
for i in 1 .. 1oo
loop
insert into table (字段) values(sys_guid());
end loop;
end;
oracle 在一个用户名下授权别的用户名访问某些表的权限
grant select on 用户名.表名 to 用户名
oracle 12c 中 wm.concat 抛弃了,替代者是 listagg(字段,“以什么方式拼接,比如逗号”)within group(order by 字段)
阅读全文
0 0
- 日常记录
- 日常记录
- 日常记录
- 日常记录
- 日常记录
- 日常记录
- 日常记录
- 日常记录
- 日常记录
- 日常记录
- 日常记录
- 日常记录
- 日常记录
- 日常记录
- 日常记录
- 日常记录
- 日常记录
- 日常记录
- 视图 横屏展示
- 正则表达式的理解
- 64-ia-32架构优化手册(10)
- WIN7电脑如何共享WiFi
- Qt之HTTP上传/下载
- 日常记录
- numpy array TypeError: only integer scalar arrays can be converted to a scalar index
- 系统间通信方式之(Kafka的实际使用场景和使用方案二)(二十四)
- 关于云监控服务
- mrpt2.0中的rbpf_slam跟ros_gmapping建图算法的对比
- glibc内存管理
- 设置Flume监听文件内容
- AIX的inittab分析报告
- http请求获取跳转后URL JAVA