일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- Eclipse
- sencha touch
- 선택적조인
- iBATIS
- JDOM
- phonegap
- Google Map
- jsr 296
- Struts
- ibsheet
- GPS
- oracle
- Ajax
- MySQL
- PHP
- swingx
- JSON
- 전자정부프레임워크
- rowspan
- tomcat
- jQuery
- WebLogic
- appspresso
- 가우스
- node.js
- dock
- PLSQL
- Spring
- Android
- MFC
Archives
- Today
- Total
Where The Streets Have No Name
Copy_t 생성 본문
create table copy_t (
no number(3) not null,
vno varchar(3) not null
)
pctfree 0
pctused 40
initrans 1
maxtrans 255
storage
(
initial 40 k
next 40 k
pctincrease 0
minextents 1
maxextents 121
)
tablespace users
;
no number(3) not null,
vno varchar(3) not null
)
pctfree 0
pctused 40
initrans 1
maxtrans 255
storage
(
initial 40 k
next 40 k
pctincrease 0
minextents 1
maxextents 121
)
tablespace users
;
create unique index copy_t_i00 on copy_t ( no asc )
pctfree 0
storage
(
initial 40 k
next 40 k
pctincrease 0
minextents 1
maxextents 121
)
tablespace indx
;
alter table copy_t add ( constraint copy_t_i00 primary key (no) using index);
create unique index copy_t_i01 on copy_t ( vno asc )
pctfree 0
storage
(
initial 40 k
next 40 k
pctincrease 0
minextents 1
maxextents 121
)
tablespace indx
;
insert into copy_t
select rownum no, to_char(rownum,'fm000') vno
from item -- 100 건 이상이 있는 테이블
where rownum<100;