
Oracle
jieliguge
这个作者很懒,什么都没留下…
展开
-
用java 向Oracle数据库添加id自增的数据(序列+触发器)
首先创建序列create sequence SEQ_Logintable_Identityincrement by 1 --每次自增几start with 1 --从1开始nomaxvalue --不设置最大值nocycle --直接累加,不循环nocache; --不建缓冲区为test_user.login_user表创建触发器create or repl...原创 2018-02-21 14:32:31 · 4522 阅读 · 0 评论 -
Oracle查看表空间和创建表空间
SELECT tablespace_name, file_id, file_name, round(bytes / (1024 * 1024), 0) total_space FROM dba_data_files ORDER BY tablespace_name; create tablespace QXDB datafile 'D:\app\oracle11g\oradat...原创 2018-08-10 14:35:42 · 2321 阅读 · 0 评论