Background Image

FORUM

Kim
조회 수 2120 추천 수 0 댓글 1
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
* 질문 등록 시 다음의 내용을 꼭 기입하여 주세요.
OS
Window7 32bit, Linux 64bit 등
CUBRID Ver.
[cubrid_rel] 수행 결과
CUBRID TOOL Ver.
[도움말]-[버전정보] 확인
응용 환경(API)
java, php, odbc 등 입력

* CUBRID 응용 오류, SQL 오류 또는 SQL 튜닝 관련된 문의는 반드시 다음의 내용을 추가해 주세요. 비밀글이나 비밀 댓글도 가능합니다.
* 저희가 상황을 이해하고, 재현이 가능해야 알 수 있는 문제들이 많습니다. 가능한 정보/정황들을 부탁합니다.
에러 내용 및 재현 방법 재현 가능한 Source와 SQL
관련 테이블(인덱스, 키정보 포함) 정보 CUBRID 홈 디렉토리 아래 log 디렉토리 압축


-------------- 아래에 질문 사항을 기입해 주세요. ------------------------------------------------------------------------


안녕하세요
큐브리드 관련해서 아래 2가지 사항에 문의 좀 드리려고 합니다

1. 큐브리드 버전별로 테이블/컬럼 코멘트 조회방법 
   10.xx 버전에서는 아래 쿼리로 코멘트가 조회되는데 10.xx 이전버전에서는 버전별로 쿼리로 코멘트 조회하는 방법 좀 알수 있을까요?

SELECT A.class_name AS table_name,
       A.comment AS table_kor,   
       B.attr_name AS column_name,
       B.comment AS column_kor
  FROM db_class  A,                                      
       db_attribute B   
 WHERE A.class_name = B.class_name

2. 큐브리드 버전을 확인할 수 있는 SQL문이 있는지요

  • ?
    큐브리드_김주현 2020.09.21 22:23
    큐브리드를 이용해 주셔서 감사합니다.
    1.
    CUBRID 9 버전에서는 cubrid manager를 통해 지원 됩니다.
    https://www.cubrid.org/manual/ko/9.3.0/cm/other_feature.html#id13
    위와 같이 manager를 사용하시거나 comment관련 테이블을 생성하여 아래와 같이 입력 후 조회 하셔도 됩니다.
    1. table 생성
    csql > create table _cub_schema_comments (table_name varchar(255), column_name varchar(255), description varchar(4096), last_updated TIMESTAMP, last_updated_user varchar(4096), constraint [pk_cub_schema_comments] primary key(table_name, column_name));


    2.설명 insert
    csql> insert into _cub_schema_comments values ('cubtest','code1','DBATEST',sysdatetime,'test2');
    -> last_updated_user 의 값은 설명에 대한 작성자 개념이지, 소유권자가 아닙니다.


    CUBRID 10 버전에서는 스키마에서 지원되도록 되었습니다.
    create table 혹은 alter table 구문에서 comment를 입력할 수 있습니다.
    https://www.cubrid.org/manual/en/10.1/sql/schema/table_stmt.html#create-table
    https://www.cubrid.org/manual/en/10.1/sql/schema/table_stmt.html#table-s-comment
    https://www.cubrid.org/manual/en/10.1/sql/schema/table_stmt.html#column-s-comment

    2. sql 은 SELECT VERSION(); 이고 , 명령어로는 cubrid_rel로 확인 가능합니다.

    감사합니다.

  1. CUBRID 사용자를 위한 DBeaver 도구 출시 안내

    Date2024.04.23 Byadmin Views31
    read more
  2. SQLGate for CUBRID 영구 무료 라이선스 제공

    Date2020.04.09 Byadmin Views4456
    read more
  3. 8.4.4버젼 charset 확인

    Date2023.05.23 By네오랜덤 Views190
    Read More
  4. 쿼리 속도 차이 질문

    Date2023.05.18 By하얀미스 Views143
    Read More
  5. spring boot 에서 HikariPool-1 - Driver does not support get/set network timeout for connections. (java.lang.UnsupportedOperationException) 질문 드립니다.

    Date2023.05.18 Bykjaminam Views780
    Read More
  6. cci 프로그래밍에서 DB LINK 관련 문의

    Date2023.05.18 Byjjune1206 Views131
    Read More
  7. 큐브리드 매니저 실행이 오류

    Date2023.05.18 By청주시청 Views101
    Read More
  8. ddl 추출

    Date2023.05.17 By네오랜덤 Views104
    Read More
  9. 하나의 쿼리에서 복수 테이블 업데이트 방법 문의

    Date2023.05.17 By도담도담 Views134
    Read More
  10. cubrid driver 설치 문의

    Date2023.05.08 By고구망구망 Views437
    Read More
  11. 큐브리드 매니저 접속 이 안됩니다. 확인 요청 드립니다.

    Date2023.04.28 By뿡이 Views128
    Read More
  12. Fk값 가져오기

    Date2023.04.24 By네오랜덤 Views165
    Read More
  13. 서버 메모리 교체 및 ha 상 데이터 삭제 절차

    Date2023.04.20 By레피엘 Views112
    Read More
  14. java stored procedure 에 loadjava 로 jar 파일 로드 시 java.lang.ClassNotFoundException 에러 문의

    Date2023.04.18 By개미가불쌍해 Views147
    Read More
  15. Cubrid stored procedure 스케쥴 등록 형식

    Date2023.04.17 ByRoy Views112
    Read More
  16. 암호화 함수 MDB_ENC 질문입니다

    Date2023.04.17 ByBE-DEV Views82
    Read More
  17. auto_increment 추가 방법 문의

    Date2023.04.14 By부패방지운영팀 Views265
    Read More
  18. CUBRID 사용자 계정 생성 관련 문의

    Date2023.04.14 By몽키스패너 Views130
    Read More
  19. order by 이후 rownum이 의도와 다르게 찍힙니다.

    Date2023.04.14 By바보똥개 Views143
    Read More
  20. 백업 및 복구 시 cubrid 버전 간 호환 문의

    Date2023.04.13 By플레이어블 Views71
    Read More
  21. centos8에서 쉘스크립트 실행시 csql: command not found 오류 발생

    Date2023.04.13 Bykjn4345 Views179
    Read More
  22. 큐브리드 timestamp 오류 문의

    Date2023.04.12 Byjjun7204 Views152
    Read More
Board Pagination Prev 1 ... 3 4 5 6 7 8 9 10 11 12 ... 200 Next
/ 200

Contact Cubrid

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