![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据库
junior_programmer
这个作者很懒,什么都没留下…
展开
-
Mybatis参考
https://mybatis.org/mybatis-3/zh/getting-started.html原创 2020-04-13 16:23:32 · 154 阅读 · 0 评论 -
分布式版本jdbc
当当网 Sharding Sphere 分布式版本jdbc原创 2020-03-10 15:31:57 · 132 阅读 · 0 评论 -
非空数据库使用flyway
-- 执行以下sql,创建 flyway_schema_history 表即可 -- dbname 为要使用flyway的非空数据库 create table if not exists dbname.flyway_schema_history ( installed_rank int not null primary key, version varchar(50) null, de...原创 2020-03-09 18:38:11 · 565 阅读 · 0 评论 -
ORACLE存储过程例子
create or replace procedure createtmptables IS i INTEGER; tablename VARCHAR(100); sqlstr1 VARCHAR(100); sqlstr2 VARCHAR(100); begin i := 1; tablename := ''; sqlstr1 := ''; sqlstr2 := ''; ...原创 2019-06-29 09:43:53 · 231 阅读 · 0 评论 -
mysql参考
insert into // insert into ... onduplicate key update 重复则执行update为mysql特性语法 insert into table(col1,col2,...) values(val1-1,val1-2,...),(val2-1,val2-2),... on duplicate key update (col1,....原创 2019-10-22 09:49:47 · 84 阅读 · 0 评论