1
2
3
4
5
6
7
8
9
10
|
CREATE SEQUENCE //테이블 시퀀스값
INCREMENT BY 1 // 1씩증가
START WITH 1; // 1
CREATE SEQUENCE bidx_b_seq
INCREMENT BY 1
START WITH 1;
|
cs |
1
|
INSERT INTO B_BOARD(bidx,originbidx,depth,level_,subject,content,writer,ip,midx)values(bidx_b_seq.NEXTVAL,bidx_b_seq.NEXTVAL,0,0,작성,내용2,김또강t,3,3);
|
cs |
'기존 > 🏀DataBase' 카테고리의 다른 글
계층형 질의와 셀프 조인 (0) | 2022.05.26 |
---|