Background Image

FORUM

조회 수 4130 추천 수 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 디렉토리 압축


계정 생성 시에 members, groups로 그룹이나 그룹의 멤버를 추가하는건 알겠는데


그룹에서 계정을 삭제시키는건 어떻게 쿼리를 날려야 하는지 모르겠네요..


예를들어 dba 그룹에 dba, test1 이렇게 멤버가 들어가 있다면 test1을 어떻게 그룹멤버에서 지울 수 있을까요??


다양한 쿼리로 가능하다면 그 쿼리에 대해 알려주시면 감사하겠습니다.

  • ?
    오명환 2018.01.17 10:54
    간단히 예제를 들어서 설명드립니다. 이 작업은 dba user에 의해서만 가능합니다.

    (1) company group에 u1, u2 사용자를 member로 만듭니다.
    create user company;
    create user u1 groups company;
    create user u2 groups company;

    (2) company group에서 u1를 member에서 제외합니다. (db_user class의 method를 사용하여 member에서 제거할 수 있습니다.)
    call find_user('company') on class db_user to x1;
    call drop_member('u1') on x1;

    (3) company group를 확인하는 방법
    select u.name from db_user as u, TABLE(u.direct_groups) as g(x) where x.name = 'COMPANY';

List of Articles
번호 제목 글쓴이 날짜 조회 수
공지 CUBRID 사용자를 위한 DBeaver 도구 출시 안내 21 admin 2024.04.23 135700
405 CentOS 5.3 64bit, cubird 2008 r2.0 설치오류문제 2 비타500 2009.09.10 13801
404 Caused by: java.lang.NullPointerException: null at cubrid.jdbc.driver.CUBRIDResultSet.getMetaData(CUBRIDResultSet.java:668) 1 secret 최원영 2016.10.11 19
403 Cannot make connection to master server.... Bad file descriptor T.T 4 노스 2010.11.05 14367
402 Cannot cummunicate with broker.. 1 file 진석 2020.12.29 3349
401 Cannot connect to a broker 오류 문의드립니다. 3 file info_Ss 2024.12.16 4610
400 Cannot connect to a broker 1 sjnoh 2010.08.10 30035
399 Cannot communicate with the broker에러 1 file 지구디큐 2020.06.09 3976
398 Cannot communicate with the broker 큐브리드 오류 1 조던 2021.10.18 5208
397 Cannot communicate with the broker 오류 7 secret 금먼지 2017.02.03 42
396 Cannot communicate with the broker 오류 2 미스터투 2013.04.16 18777
395 Cannot communicate with the broker 에러 로컬백업 2025.07.15 1415
394 Cannot communicate with the broker or received invalid packet 오류 문의 드립니다 1 file Kim 2020.01.09 4870
393 Cannot communicate with the broker or received invalid packet (UNION 사용) 에러 1 도여도여도여도여 2020.11.05 4237
392 Cannot coerce value of domain character to domain " 에러 관련 문의 4 잉여개발자 2018.04.05 5522
391 Cannot coerce value of domain "character varying" to domain "datetime" 에러 질문이요 1 file ddddd 2020.03.30 4406
390 Cannot allocate query entry any more. Maximum allocatable entries are 100. 4 jslee 2022.02.21 3767
389 CURSOR 관련 사항입니다. 1 secret 임동현 2017.03.22 15
388 CUBRIO 삭제 후 재설치 문의입니다. 1 file 미키 2021.09.13 3639
387 CUBRID와 관련된 프로세스 관련 문의드립니다. 1 secret 질의응답요청 2015.03.28 10
386 CUBRID와 PHP 연동 문제 1 Ele 2010.06.06 16140
Board Pagination Prev 1 ... 188 189 190 191 192 193 194 195 196 197 ... 213 Next
/ 213

Contact Cubrid

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