From 4f92f61a05aae590ba95da3aa1b225edce704d9f Mon Sep 17 00:00:00 2001 From: mjkhan21 Date: Tue, 2 Jul 2024 17:34:35 +0900 Subject: [PATCH] =?UTF-8?q?=ED=85=8C=EC=9D=B4=EB=B8=94=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/sql/lvis.sql | 305 +++++++++++++++++++++++++++++------------- 1 file changed, 214 insertions(+), 91 deletions(-) diff --git a/src/main/sql/lvis.sql b/src/main/sql/lvis.sql index d016d2b..09d46f5 100644 --- a/src/main/sql/lvis.sql +++ b/src/main/sql/lvis.sql @@ -1,91 +1,214 @@ -CREATE TABLE TB_BASIC_INFO_LOG ( - LOG_ID VARCHAR(15) NOT NULL COMMENT '로그 아이디', - PRYE VARCHAR(4) COMMENT '연식', - REGIST_DE VARCHAR(8) COMMENT '등록일(변경일)', - ERSR_REGIST_SE_CODE VARCHAR(4) COMMENT '말소등록구분코드', - ERSR_REGIST_SE_NM VARCHAR(20) COMMENT '말소등록구분명', - ERSR_REGIST_DE VARCHAR(8) COMMENT '말소등록일', - REGIST_DETAIL_CODE VARCHAR(3) COMMENT '등록상세코드', - DSPLVL VARCHAR(6) COMMENT '배기량', - USE_STRNGHLD_LEGALDONG_CODE VARCHAR(10) COMMENT '사용본거지법정동코드', - USE_STRNGHLD_ADSTRD_CODE VARCHAR(10) COMMENT '사용본거지행정동코드', - USE_STRNGHLD_MNTN VARCHAR(2) COMMENT '사용본거지산', - USE_STRNGHLD_LNBR VARCHAR(4) COMMENT '사용본거지번지', - USE_STRNGHLD_HO VARCHAR(4) COMMENT '사용본거지호', - USE_STRNGHLD_ADRES_NM VARCHAR(150) COMMENT '사용본거지상세주소', - USE_STRNGHLD_ROAD_NM_CODE VARCHAR(12) COMMENT '사용본거지도로명코드', - USGSRHLD_UNDGRND_BULD_SE_CODE VARCHAR(1) COMMENT '사용본거지지하건물구분코드', - USE_STRNGHLD_BULD_MAIN_NO VARCHAR(5) COMMENT '사용본거지건물주요번호', - USE_STRNGHLD_BULD_SUB_NO VARCHAR(5) COMMENT '사용본거지건물부번호', - MBER_SE_CODE VARCHAR(2) COMMENT '대표소유자회원구분코드', - MBER_NM VARCHAR(50) COMMENT '대표소유자성명', - MBER_SE_NO VARCHAR(13) COMMENT '대표소유자회원번호', - TELNO VARCHAR(20) COMMENT '대표소유자전화번호', - OWNER_LEGALDONG_CODE VARCHAR(10) COMMENT '소유자법정동코드', - OWNER_ADSTRD_CODE VARCHAR(10) COMMENT '소유자행정동코드', - OWNER_MNTN VARCHAR(2) COMMENT '소유자산', - OWNER_LNBR VARCHAR(4) COMMENT '소유자번지', - OWNER_HO VARCHAR(4) COMMENT '소유자호', - OWNER_ADRES_NM VARCHAR(150) COMMENT '소유자상세주소', - OWNER_ROAD_NM_CODE VARCHAR(12) COMMENT '소유자도로명코드', - OWNER_UNDGRND_BULD_SE_CODE VARCHAR(1) COMMENT '소유자지하건물구분코드', - OWNER_BULD_MAIN_NO VARCHAR(5) COMMENT '소유자건물주요번호', - OWNER_BULD_SUB_NO VARCHAR(5) COMMENT '소유자건물부번호', - OWNER_ADRES_FULL VARCHAR(500) COMMENT '소유자전체주소', - AFTR_VHRNO VARCHAR(16) COMMENT '신차량번호', - USE_FUEL_CODE VARCHAR(1) COMMENT '사용연료코드', - PRPOS_SE_CODE VARCHAR(2) COMMENT '용도구분코드', - MTRS_FOM_NM VARCHAR(50) COMMENT '원동기형식명', - FRNT_VHRNO VARCHAR(16) COMMENT '이전차량번호', - VHRNO VARCHAR(16) COMMENT '차량번호', - VIN VARCHAR(17) COMMENT '차대번호', - CNM VARCHAR(50) COMMENT '차명', - VHCLE_TOT_WT VARCHAR(6) COMMENT '차량총중량', - CAAG_ENDDE VARCHAR(8) COMMENT '차령만료일자', - CHANGE_DE VARCHAR(8) COMMENT '차번호변경시기', - VHCTY_ASORT_CODE VARCHAR(1) COMMENT '차종종별코드', - VHCTY_TY_CODE VARCHAR(1) COMMENT '차종유형코드', - VHCTY_SE_CODE VARCHAR(1) COMMENT '차종분류코드', - MXMM_LDG VARCHAR(10) COMMENT '최대적재량', - VHCTY_ASORT_NM VARCHAR(100) COMMENT '차종종별명', - VHCTY_TY_NM VARCHAR(100) COMMENT '차종유형명', - VHCTY_SE_NM VARCHAR(100) COMMENT '차종분류명', - FRST_REGIST_DE VARCHAR(8) COMMENT '최초등록일', - FOM_NM VARCHAR(50) COMMENT '형식', - ACQS_DE VARCHAR(8) COMMENT '취득일자', - ACQS_END_DE VARCHAR(8) COMMENT '취득종료일자', - YBL_MD VARCHAR(8) COMMENT '제작년월일', - TRANSR_REGIST_DE VARCHAR(8) COMMENT '이전등록일(양수일)', - SPCF_REGIST_STTUS_CODE VARCHAR(6) COMMENT '제원등록상태코드', - COLOR_NM VARCHAR(50) COMMENT '색상명', - MRTG_CO INT COMMENT '저당수', - SEIZR_CO INT COMMENT '압류건수', - STMD_CO INT COMMENT '구조변경수', - NMPL_CSDY_AT VARCHAR(1) COMMENT '번호판영치여부', - NMPL_CSDY_REMNR_DE VARCHAR(8) COMMENT '번호판영치최고일', - ORIGIN_SE_CODE VARCHAR(1) COMMENT '출처구분코드', - NMPL_STNDRD_CODE VARCHAR(1) COMMENT '번호판규격코드', - ACQS_AMOUNT VARCHAR(50) COMMENT '취득금액', - INSPT_VALID_PD_BGNDE VARCHAR(8) COMMENT '검사유효기간시작일', - INSPT_VALID_PD_ENDDE VARCHAR(8) COMMENT '검사유효기간종료일', - CHCK_VALID_PD_BGNDE VARCHAR(8) COMMENT '점검유효기간시작일', - CHCK_VALID_PD_ENDDE VARCHAR(8) COMMENT '점검유효기간종료일', - USE_STRNGHLD_GRC_CODE VARCHAR(4) COMMENT '사용본거지관청코드', - TKCAR_PSCAP_CO INT COMMENT '승차정원수', - SPMNNO VARCHAR(17) COMMENT '제원관리번호', - TRVL_DSTNC VARCHAR(10) COMMENT '주행거리', - FRST_REGIST_RQRCNO VARCHAR(20) COMMENT '최초등록접수번호', - VLNT_ERSR_PRVNTC_NTICE_DE VARCHAR(8) COMMENT '예고통지일', - REGIST_INSTT_NM VARCHAR(100) COMMENT '등록기관명', - PROCESS_IMPRTY_RESN_CODE VARCHAR(2) COMMENT '처리불가사유코드', - PROCESS_IMPRTY_RESN_DTLS VARCHAR(50) COMMENT '처리불가사유명세', - VIMS_PRPOS_SE_CODE VARCHAR(2) COMMENT '용도구분코드', - VIMS_VHCTY_ASORT_CODE VARCHAR(1) COMMENT '차종종별코드', - VIMS_VHCTY_TY_CODE VARCHAR(1) COMMENT '차종유형코드', - VIMS_VHCTY_SE_CODE VARCHAR(1) COMMENT '차종분류코드', - CBD_LT VARCHAR(10) COMMENT '차체길이', - CBD_BT VARCHAR(10) COMMENT '차체너비', - CBD_HG VARCHAR(10) COMMENT '차체높이', - FRST_MXMM_LDG VARCHAR(10) COMMENT '최초최대적재량', - PRIMARY KEY (LOG_ID) -) COMMENT = '자동차 기본사항 조회 로그'; \ No newline at end of file +CREATE TABLE TB_CAR_BSC_MTTR +( + BSC_MTTR_ID VARCHAR(30) NOT NULL, + MESSAGEID VARCHAR(10) NULL, + MESSAGENAME VARCHAR(100) NULL, + MESSAGEREASON VARCHAR(500) NULL, + MESSAGEREMARK VARCHAR(100) NULL, + EXCEPTIONSTACKTRACE VARCHAR(100) NULL, + CNTC_INFO_CODE VARCHAR(30) NULL, + DMND_LEVY_STDDE VARCHAR(8) NULL, + DMND_INQIRE_SE_CODE VARCHAR(1) NULL, + DMND_VHRNO VARCHAR(16) NULL, + DMND_VIN VARCHAR(17) NULL, + PRYE VARCHAR(4) NULL, + REGIST_DE VARCHAR(8) NULL, + ERSR_REGIST_SE_CODE VARCHAR(4) NULL, + ERSR_REGIST_SE_NM VARCHAR(100) NULL, + ERSR_REGIST_DE VARCHAR(8) NULL, + REGIST_DETAIL_CODE VARCHAR(3) NULL, + DSPLVL VARCHAR(6) NULL, + USE_STRNGHLD_LEGALDONG_CODE VARCHAR(10) NULL, + USE_STRNGHLD_ADSTRD_CODE VARCHAR(10) NULL, + USE_STRNGHLD_MNTN VARCHAR(2) NULL, + USE_STRNGHLD_LNBR VARCHAR(4) NULL, + USE_STRNGHLD_HO VARCHAR(4) NULL, + USE_STRNGHLD_ADRES_NM VARCHAR(150) NULL, + USE_STRNGHLD_ROAD_NM_CODE VARCHAR(12) NULL, + USGSRHLD_UNDGRND_BULD_SE_CODE VARCHAR(1) NULL, + USE_STRNGHLD_BULD_MAIN_NO VARCHAR(5) NULL, + USE_STRNGHLD_BULD_SUB_NO VARCHAR(5) NULL, + USGSRHLD_ADRES_FULL VARCHAR(500) NULL, + MBER_SE_CODE VARCHAR(2) NULL, + MBER_NM VARCHAR(50) NULL, + MBER_SE_NO VARCHAR(100) NULL, + TELNO VARCHAR(20) NULL, + OWNER_LEGALDONG_CODE VARCHAR(10) NULL, + OWNER_ADSTRD_CODE VARCHAR(10) NULL, + OWNER_MNTN VARCHAR(2) NULL, + OWNER_LNBR VARCHAR(4) NULL, + OWNER_HO VARCHAR(4) NULL, + OWNER_ADRES_NM VARCHAR(150) NULL, + OWNER_ROAD_NM_CODE VARCHAR(12) NULL, + OWNER_UNDGRND_BULD_SE_CODE VARCHAR(1) NULL, + OWNER_BULD_MAIN_NO VARCHAR(5) NULL, + OWNER_BULD_SUB_NO VARCHAR(5) NULL, + OWNER_ADRES_FULL VARCHAR(500) NULL, + AFTR_VHRNO VARCHAR(16) NULL, + USE_FUEL_CODE VARCHAR(1) NULL, + PRPOS_SE_CODE VARCHAR(2) NULL, + MTRS_FOM_NM VARCHAR(50) NULL, + FRNT_VHRNO VARCHAR(16) NULL, + VHRNO VARCHAR(16) NULL, + VIN VARCHAR(17) NULL, + CNM VARCHAR(50) NULL, + VHCLE_TOT_WT VARCHAR(6) NULL, + CAAG_ENDDE VARCHAR(8) NULL, + CHANGE_DE VARCHAR(8) NULL, + VHCTY_ASORT_CODE VARCHAR(1) NULL, + VHCTY_TY_CODE VARCHAR(1) NULL, + VHCTY_SE_CODE VARCHAR(1) NULL, + MXMM_LDG VARCHAR(10) NULL, + VHCTY_ASORT_NM VARCHAR(100) NULL, + VHCTY_TY_NM VARCHAR(100) NULL, + VHCTY_SE_NM VARCHAR(100) NULL, + FRST_REGIST_DE VARCHAR(8) NULL, + FOM_NM VARCHAR(50) NULL, + ACQS_DE VARCHAR(8) NULL, + ACQS_END_DE VARCHAR(8) NULL, + YBL_MD VARCHAR(8) NULL, + TRANSR_REGIST_DE VARCHAR(8) NULL, + SPCF_REGIST_STTUS_CODE VARCHAR(6) NULL, + COLOR_NM VARCHAR(50) NULL, + MRTG_CO VARCHAR(9) NULL, + SEIZR_CO VARCHAR(9) NULL, + STMD_CO VARCHAR(9) NULL, + NMPL_CSDY_AT VARCHAR(1) NULL, + NMPL_CSDY_REMNR_DE VARCHAR(8) NULL, + ORIGIN_SE_CODE VARCHAR(1) NULL, + NMPL_STNDRD_CODE VARCHAR(1) NULL, + ACQS_AMOUNT VARCHAR(50) NULL, + INSPT_VALID_PD_BGNDE VARCHAR(8) NULL, + INSPT_VALID_PD_ENDDE VARCHAR(8) NULL, + CHCK_VALID_PD_BGNDE VARCHAR(8) NULL, + CHCK_VALID_PD_ENDDE VARCHAR(8) NULL, + USE_STRNGHLD_GRC_CODE VARCHAR(4) NULL, + TKCAR_PSCAP_CO VARCHAR(3) NULL, + SPMNNO VARCHAR(20) NULL, + TRVL_DSTNC VARCHAR(10) NULL, + FRST_REGIST_RQRCNO VARCHAR(20) NULL, + VLNT_ERSR_PRVNTC_NTICE_DE VARCHAR(8) NULL, + REGIST_INSTT_NM VARCHAR(100) NULL, + VIMS_PRPOS_SE_CODE VARCHAR(2) NULL, + VIMS_VHCTY_ASORT_CODE VARCHAR(1) NULL, + VIMS_VHCTY_TY_CODE VARCHAR(1) NULL, + VIMS_VHCTY_SE_CODE VARCHAR(1) NULL, + CBD_LT VARCHAR(10) NULL, + CBD_BT VARCHAR(10) NULL, + CBD_HG VARCHAR(10) NULL, + FRST_MXMM_LDG VARCHAR(10) NULL, + FUEL_CNSMP_RT VARCHAR(5) NULL, + ELCTY_CMPND_FUEL_CNSMP_RT VARCHAR(5) NULL, + PROCESS_IMPRTY_RESN_CODE VARCHAR(2) NULL, + PROCESS_IMPRTY_RESN_DTLS VARCHAR(50) NULL, + REG_DT VARCHAR(14) NULL, + RGTR VARCHAR(10) NULL +); + +ALTER TABLE TB_CAR_BSC_MTTR +ADD PRIMARY KEY (BSC_MTTR_ID); + +ALTER TABLE TB_CAR_BSC_MTTR COMMENT = '자동차 기본사항'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN BSC_MTTR_ID BSC_MTTR_ID VARCHAR(30) NOT NULL COMMENT '기본 사항 ID'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN MESSAGEID MESSAGEID VARCHAR(10) NULL COMMENT '결과 메시지 ID'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN MESSAGENAME MESSAGENAME VARCHAR(100) NULL COMMENT '결과 메시지 명'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN MESSAGEREASON MESSAGEREASON VARCHAR(500) NULL COMMENT '결과 메시지 사유'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN MESSAGEREMARK MESSAGEREMARK VARCHAR(100) NULL COMMENT '결과 메시지 비고'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN EXCEPTIONSTACKTRACE EXCEPTIONSTACKTRACE VARCHAR(100) NULL COMMENT '오류 메시지 STACK'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN CNTC_INFO_CODE CNTC_INFO_CODE VARCHAR(30) NULL COMMENT '연계 정보 코드'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN DMND_LEVY_STDDE DMND_LEVY_STDDE VARCHAR(8) NULL COMMENT '요청 부과기준일'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN DMND_INQIRE_SE_CODE DMND_INQIRE_SE_CODE VARCHAR(1) NULL COMMENT '요청 조회구분코드'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN DMND_VHRNO DMND_VHRNO VARCHAR(16) NULL COMMENT '요청 자동차등록번호'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN DMND_VIN DMND_VIN VARCHAR(17) NULL COMMENT '요청 차대번호'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN PRYE PRYE VARCHAR(4) NULL COMMENT '연식'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN REGIST_DE REGIST_DE VARCHAR(8) NULL COMMENT '등록일'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN ERSR_REGIST_SE_CODE ERSR_REGIST_SE_CODE VARCHAR(4) NULL COMMENT '말소등록구분코드'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN ERSR_REGIST_SE_NM ERSR_REGIST_SE_NM VARCHAR(100) NULL COMMENT '말소등록구분명'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN ERSR_REGIST_DE ERSR_REGIST_DE VARCHAR(8) NULL COMMENT '말송등록일'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN REGIST_DETAIL_CODE REGIST_DETAIL_CODE VARCHAR(3) NULL COMMENT '등록상세코드'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN DSPLVL DSPLVL VARCHAR(6) NULL COMMENT '배기량'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN USE_STRNGHLD_LEGALDONG_CODE USE_STRNGHLD_LEGALDONG_CODE VARCHAR(10) NULL COMMENT '사용본거지법정동코드'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN USE_STRNGHLD_ADSTRD_CODE USE_STRNGHLD_ADSTRD_CODE VARCHAR(10) NULL COMMENT '사용본거지행정동코드'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN USE_STRNGHLD_MNTN USE_STRNGHLD_MNTN VARCHAR(2) NULL COMMENT '사용본거지산'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN USE_STRNGHLD_LNBR USE_STRNGHLD_LNBR VARCHAR(4) NULL COMMENT '사용본거지번지'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN USE_STRNGHLD_HO USE_STRNGHLD_HO VARCHAR(4) NULL COMMENT '사용본거지호'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN USE_STRNGHLD_ADRES_NM USE_STRNGHLD_ADRES_NM VARCHAR(150) NULL COMMENT '사용본거지상세주소'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN USE_STRNGHLD_ROAD_NM_CODE USE_STRNGHLD_ROAD_NM_CODE VARCHAR(12) NULL COMMENT '사용본거지도로명코드'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN USGSRHLD_UNDGRND_BULD_SE_CODE USGSRHLD_UNDGRND_BULD_SE_CODE VARCHAR(1) NULL COMMENT '사용본거지지하건물구분코드'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN USE_STRNGHLD_BULD_MAIN_NO USE_STRNGHLD_BULD_MAIN_NO VARCHAR(5) NULL COMMENT '사용본거지건물주요번호'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN USE_STRNGHLD_BULD_SUB_NO USE_STRNGHLD_BULD_SUB_NO VARCHAR(5) NULL COMMENT '사용본거지건물부번호'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN USGSRHLD_ADRES_FULL USGSRHLD_ADRES_FULL VARCHAR(500) NULL COMMENT '사용본거지전체주소'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN MBER_SE_CODE MBER_SE_CODE VARCHAR(2) NULL COMMENT '대표소유자회원구분코드'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN MBER_NM MBER_NM VARCHAR(50) NULL COMMENT '대표소유자성명'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN MBER_SE_NO MBER_SE_NO VARCHAR(100) NULL COMMENT '대표소유자회원번호'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN TELNO TELNO VARCHAR(20) NULL COMMENT '대표소유자전화번호'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN OWNER_LEGALDONG_CODE OWNER_LEGALDONG_CODE VARCHAR(10) NULL COMMENT '소유자법정동코드'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN OWNER_ADSTRD_CODE OWNER_ADSTRD_CODE VARCHAR(10) NULL COMMENT '소유자행정동코드'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN OWNER_MNTN OWNER_MNTN VARCHAR(2) NULL COMMENT '소유자산'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN OWNER_LNBR OWNER_LNBR VARCHAR(4) NULL COMMENT '소유자번지'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN OWNER_HO OWNER_HO VARCHAR(4) NULL COMMENT '소유자호'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN OWNER_ADRES_NM OWNER_ADRES_NM VARCHAR(150) NULL COMMENT '소유자상세주소'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN OWNER_ROAD_NM_CODE OWNER_ROAD_NM_CODE VARCHAR(12) NULL COMMENT '소유자도로명코드'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN OWNER_UNDGRND_BULD_SE_CODE OWNER_UNDGRND_BULD_SE_CODE VARCHAR(1) NULL COMMENT '소유자지하건물구분코드'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN OWNER_BULD_MAIN_NO OWNER_BULD_MAIN_NO VARCHAR(5) NULL COMMENT '소유자건물주요번호'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN OWNER_BULD_SUB_NO OWNER_BULD_SUB_NO VARCHAR(5) NULL COMMENT '소유자건물부번호'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN OWNER_ADRES_FULL OWNER_ADRES_FULL VARCHAR(500) NULL COMMENT '소유자전체주소'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN AFTR_VHRNO AFTR_VHRNO VARCHAR(16) NULL COMMENT '신차량번호'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN USE_FUEL_CODE USE_FUEL_CODE VARCHAR(1) NULL COMMENT '사용연료코드'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN PRPOS_SE_CODE PRPOS_SE_CODE VARCHAR(2) NULL COMMENT '용도구분코드'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN MTRS_FOM_NM MTRS_FOM_NM VARCHAR(50) NULL COMMENT '원동기형식명'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN FRNT_VHRNO FRNT_VHRNO VARCHAR(16) NULL COMMENT '이전차량번호'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN VHRNO VHRNO VARCHAR(16) NULL COMMENT '차량번호'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN VIN VIN VARCHAR(17) NULL COMMENT '차대번호'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN CNM CNM VARCHAR(50) NULL COMMENT '차명'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN VHCLE_TOT_WT VHCLE_TOT_WT VARCHAR(6) NULL COMMENT '차량총중량'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN CAAG_ENDDE CAAG_ENDDE VARCHAR(8) NULL COMMENT '차령만료일자'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN CHANGE_DE CHANGE_DE VARCHAR(8) NULL COMMENT '차번호변경시기'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN VHCTY_ASORT_CODE VHCTY_ASORT_CODE VARCHAR(1) NULL COMMENT '차종종별코드'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN VHCTY_TY_CODE VHCTY_TY_CODE VARCHAR(1) NULL COMMENT '차종유형코드'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN VHCTY_SE_CODE VHCTY_SE_CODE VARCHAR(1) NULL COMMENT '차종분류코드'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN MXMM_LDG MXMM_LDG VARCHAR(10) NULL COMMENT '최대적재량'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN VHCTY_ASORT_NM VHCTY_ASORT_NM VARCHAR(100) NULL COMMENT '차종종별명'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN VHCTY_TY_NM VHCTY_TY_NM VARCHAR(100) NULL COMMENT '차종유형명'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN VHCTY_SE_NM VHCTY_SE_NM VARCHAR(100) NULL COMMENT '차종분류명'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN FRST_REGIST_DE FRST_REGIST_DE VARCHAR(8) NULL COMMENT '최초등록일'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN FOM_NM FOM_NM VARCHAR(50) NULL COMMENT '형식'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN ACQS_DE ACQS_DE VARCHAR(8) NULL COMMENT '취득일자'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN ACQS_END_DE ACQS_END_DE VARCHAR(8) NULL COMMENT '취득종료일자'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN YBL_MD YBL_MD VARCHAR(8) NULL COMMENT '제작년월일'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN TRANSR_REGIST_DE TRANSR_REGIST_DE VARCHAR(8) NULL COMMENT '이전등록일'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN SPCF_REGIST_STTUS_CODE SPCF_REGIST_STTUS_CODE VARCHAR(6) NULL COMMENT '제원등록상태코드'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN COLOR_NM COLOR_NM VARCHAR(50) NULL COMMENT '색상명'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN MRTG_CO MRTG_CO VARCHAR(9) NULL COMMENT '저당수'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN SEIZR_CO SEIZR_CO VARCHAR(9) NULL COMMENT '압류건수'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN STMD_CO STMD_CO VARCHAR(9) NULL COMMENT '구조변경수'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN NMPL_CSDY_AT NMPL_CSDY_AT VARCHAR(1) NULL COMMENT '번호판영치여부'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN NMPL_CSDY_REMNR_DE NMPL_CSDY_REMNR_DE VARCHAR(8) NULL COMMENT '번호판영치최고일'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN ORIGIN_SE_CODE ORIGIN_SE_CODE VARCHAR(1) NULL COMMENT '출처구분코드'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN NMPL_STNDRD_CODE NMPL_STNDRD_CODE VARCHAR(1) NULL COMMENT '번호판규격코드'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN ACQS_AMOUNT ACQS_AMOUNT VARCHAR(50) NULL COMMENT '취득금액'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN INSPT_VALID_PD_BGNDE INSPT_VALID_PD_BGNDE VARCHAR(8) NULL COMMENT '검사유효기간시작일'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN INSPT_VALID_PD_ENDDE INSPT_VALID_PD_ENDDE VARCHAR(8) NULL COMMENT '검사유효기간종료일'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN CHCK_VALID_PD_BGNDE CHCK_VALID_PD_BGNDE VARCHAR(8) NULL COMMENT '점검유효기간시작일'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN CHCK_VALID_PD_ENDDE CHCK_VALID_PD_ENDDE VARCHAR(8) NULL COMMENT '점검유효기간종료일'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN USE_STRNGHLD_GRC_CODE USE_STRNGHLD_GRC_CODE VARCHAR(4) NULL COMMENT '사용본거지관청코드'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN TKCAR_PSCAP_CO TKCAR_PSCAP_CO VARCHAR(3) NULL COMMENT '승차정원수'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN SPMNNO SPMNNO VARCHAR(20) NULL COMMENT '제원관리번호'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN TRVL_DSTNC TRVL_DSTNC VARCHAR(10) NULL COMMENT '주행거리'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN FRST_REGIST_RQRCNO FRST_REGIST_RQRCNO VARCHAR(20) NULL COMMENT '최초등록접수번호'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN VLNT_ERSR_PRVNTC_NTICE_DE VLNT_ERSR_PRVNTC_NTICE_DE VARCHAR(8) NULL COMMENT '예고통지일'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN REGIST_INSTT_NM REGIST_INSTT_NM VARCHAR(100) NULL COMMENT '등록기관명'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN VIMS_PRPOS_SE_CODE VIMS_PRPOS_SE_CODE VARCHAR(2) NULL COMMENT 'VIMS_용도구분코드'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN VIMS_VHCTY_ASORT_CODE VIMS_VHCTY_ASORT_CODE VARCHAR(1) NULL COMMENT 'VIMS_차종종별코드'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN VIMS_VHCTY_TY_CODE VIMS_VHCTY_TY_CODE VARCHAR(1) NULL COMMENT 'VIMS_차종유형코드'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN VIMS_VHCTY_SE_CODE VIMS_VHCTY_SE_CODE VARCHAR(1) NULL COMMENT 'VIMS_차종분류코드'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN CBD_LT CBD_LT VARCHAR(10) NULL COMMENT '차체길이'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN CBD_BT CBD_BT VARCHAR(10) NULL COMMENT '차체너비'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN CBD_HG CBD_HG VARCHAR(10) NULL COMMENT '차체높이'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN FRST_MXMM_LDG FRST_MXMM_LDG VARCHAR(10) NULL COMMENT '최초최대적재량'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN FUEL_CNSMP_RT FUEL_CNSMP_RT VARCHAR(5) NULL COMMENT '연료소비율'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN ELCTY_CMPND_FUEL_CNSMP_RT ELCTY_CMPND_FUEL_CNSMP_RT VARCHAR(5) NULL COMMENT '전기복합연료소비율'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN PROCESS_IMPRTY_RESN_CODE PROCESS_IMPRTY_RESN_CODE VARCHAR(2) NULL COMMENT '처리불가사유코드'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN PROCESS_IMPRTY_RESN_DTLS PROCESS_IMPRTY_RESN_DTLS VARCHAR(50) NULL COMMENT '처리불가사유명세'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN REG_DT REG_DT VARCHAR(14) NULL COMMENT '등록 일시'; + ALTER TABLE TB_CAR_BSC_MTTR CHANGE COLUMN RGTR RGTR VARCHAR(10) NULL COMMENT '등록자'; \ No newline at end of file