Background Image
질의작성
2008.11.21 17:36

데이터 필드의 타입 변경하기

조회 수 18418 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
CUBRID의 도메인 변경방법은 아래와 같습니다.
순서에 맞게 해당 환경의 애트리뷰트(컬럼), 테이블 명을 적용하시기 바랍니다.

=== Help: Schema of a Class> ===

<Class Name>

dumy

<Attributes>
...
exam : character varying(300)

csql> alter table dumy rename exam as temp
csql> ;x

Current transaction has been committed.

1 command(s) successfully processed.

csql> alter table dumy add attribute exam string
csql> ;x

Current transaction has been committed.

1 command(s) successfully processed.

csql> update dumy set exam=cast(temp as string)
csql> ;x

23 rows updated.

Current transaction has been committed.

1 command(s) successfully processed.

csql> alter table dumy drop attribute temp
csql> ;x

Current transaction has been committed.

1 command(s) successfully processed.

csql> ;sc dumy

=== Help: Schema of a Class> ===

<Class Name>

dumy

<Attributes>
...
exam : string

Current transaction has been committed.

  1. CUBRID 에서 제공하는 ODBC 함수 목록

    Date2008.11.21 Category응용개발 Byadmin Views26050
    Read More
  2. CUBRID 사용시 방화벽 설정

    Date2008.11.21 Category운영관리 Byadmin Views30980
    Read More
  3. SElinux 환경에서 CUBRID 사용하기

    Date2008.11.21 Category운영관리 Byadmin Views25505
    Read More
  4. libjvm.so 찾지 못하여 서버 구동이 되지 않은 경우

    Date2008.11.21 Category운영관리 Byadmin Views26443
    Read More
  5. Attempt to access a closed ResultSet(PreparedStatement) 오류

    Date2008.11.21 Category응용개발 Byadmin Views28027
    Read More
  6. loadjava 사용 시 inner class 로딩은 어떻게?

    Date2008.11.21 Category응용개발 Byadmin Views27449
    Read More
  7. 64bit OS 에서 사용가능한가요?

    Date2008.11.21 Category운영관리 Byadmin Views17415
    Read More
  8. 데이터베이스를 다른 머신으로 옮기는 방법

    Date2008.11.21 Category운영관리 Byadmin Views27652
    Read More
  9. HP-ux에서 jvm loading이 실패하는 경우 조치 사항

    Date2008.11.21 Category운영관리 Byadmin Views22432
    Read More
  10. tomcat 5.5 버전 이상에서 dbcp(커넥션 풀링) 설정법

    Date2008.11.21 Category응용개발 Byadmin Views28526
    Read More
  11. 데이터 필드의 타입 변경하기

    Date2008.11.21 Category질의작성 Byadmin Views18418
    Read More
  12. 예약어를 테이블명이나 컬럼명으로 사용시

    Date2008.11.21 Category질의작성 Byadmin Views37305
    Read More
  13. embedded sql 에서 char 사용시 주의 사항

    Date2008.11.21 Category응용개발 Byadmin Views19007
    Read More
  14. MySQL의 limit 명령어 처리

    Date2008.11.21 Category마이그레이션 Byadmin Views32682
    Read More
  15. 응용프로그램에서 질의 처리시 commit/rollback 처리 문제

    Date2008.11.21 Category응용개발 Byadmin Views21589
    Read More
  16. 백업파일을 이용하여 데이터베이스가 없는 다른 서버에서 복구하는 방법

    Date2008.11.21 Category운영관리 Byadmin Views22035
    Read More
  17. 중복된 데이터에 대하여 일련번호를 붙이는 방법

    Date2008.11.21 Category질의작성 Byadmin Views17359
    Read More
  18. 중복된 데이터를 1개만 남기고 지우는 방법

    Date2008.11.21 Category질의작성 Byadmin Views17305
    Read More
  19. select 결과중 몇개만 가져오는 방법

    Date2008.11.21 Category질의작성 Byadmin Views19906
    Read More
Board Pagination Prev 1 ... 5 6 7 8 9 10 11 12 13 14 Next
/ 14

Contact Cubrid

대표전화 070-4077-2110 / 기술문의 070-4077-2113 / 영업문의 070-4077-2112 / Email. contact_at_cubrid.com
Contact Sales