Oracle在表上建立自增字段的方法
摘要:本方法为使用SEQUENCE(序列)例如有表temp_test结构为:create table TEMP_TEST ( id number, nm varchar(10), primary key(id) //id为主键,下面的方法把它设为自增字段)1、建立自增序列TEMP_TEST_IDADD,...
阅读全文
posted @ 2015-06-03 14:36
posted @ 2015-06-03 14:36
posted @ 2015-06-03 14:15
posted @ 2015-06-03 13:54
posted @ 2015-06-03 11:40
posted @ 2015-06-03 11:32
posted @ 2015-06-03 11:31