![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
oracle
@我不是大鹏
上尚若水
展开
-
docker安装oracle
1、查询oracle docker search oracle 2、拉取oracle镜像 docker pull oracle 3、启动oracle docker run -d -p 8080:8080 -p 1521:1521 truevoly/oracle-12c 4、查看日志 docker log -f 容器id 5、交互命令 docker exec -it 容器id /bin/bash docker exec -it de8f2a5c100f /bin/bash ...原创 2021-10-20 13:39:50 · 72 阅读 · 0 评论 -
oracle创建自增id序列
实例如下 --创建示例表 -- create table Student( stuId number(9) not null, stuName varchar2(20) not null, stuMsg varchar2(50) null ) -- 创建序列 Student_stuId_Seq -- create sequence Student_stuId_Seq increment by 1 start with 1 minvalue 1 maxvalue 9原创 2021-04-26 09:52:40 · 297 阅读 · 0 评论