mysql을 oracle로 변환
varchar => varchar2
text => data size에 맞게 varchar2(1000~4000) or clob
bigint, int, tynyint => number
sequence 별도 생성
pk 생성 문법 변경
index 생성 문법 변경
comment 별도 생성(테이블, 컬럼)
mysql : not null default '' => oracle : default '' not null 로.. (순서가 다르다)
기타 function 변경
ifnull -> nvl
date_format -> to_char
date_add -> add_month : 월관련 내용만 있어서.. 나머지는 알아서..
elseif => elsif
concat => ||
substring => substr
truncated => trunc
cast(value as unsigned) => to_number()
text => data size에 맞게 varchar2(1000~4000) or clob
bigint, int, tynyint => number
sequence 별도 생성
pk 생성 문법 변경
index 생성 문법 변경
comment 별도 생성(테이블, 컬럼)
mysql : not null default '' => oracle : default '' not null 로.. (순서가 다르다)
기타 function 변경
ifnull -> nvl
date_format -> to_char
date_add -> add_month : 월관련 내용만 있어서.. 나머지는 알아서..
elseif => elsif
concat => ||
substring => substr
truncated => trunc
cast(value as unsigned) => to_number()
등록된 코멘트가 없습니다.