MySql
MySql
Oracle
别名 oracle中不能用 file 做别名
Oracle中长字符串处理方法
oracle实现mysql中的limit
oracle 中时间需要 to_timestamp
提升为管理员:
conn sys/oracle as sysdba
创建用户:
删除用户:
drop user aims_test cascade;
删除列:
alter table test_position_list drop column test_id;
新建列:
alter table table_name add (rowName number(11));
带外键:
查看约束:
select table_name from user_constraints where constraint_name='SYS_C0024257';
重命名列:
alter table test_table rename column "ORDER" to order_sort;
选择序列:
查看序列:
创建序列:
create sequence prtrolSeq minvalue 1 maxvalue 99999999999999 start with 1 increment by 1 cache 20;
应用序列:
修改序列:
Last updated
Was this helpful?