TIL 18일_5차

Moon-Tree·2023년 1월 23일
0

Run SQL Command Line 사용법

  • 사용자 계정 만드는 방법
    create user 아이디 identified by 비밀번호;

  • 사용자 계정 삭제 하는 방법
    drop user 아이디;

  • 사용자 계정 변경
    alter user 아이디 identified by 변경 비밀번호;

  • 사용자 계정 조회
    select * from dba_users;

  • 로그인 되어 있는 계정 조회
    show user;

  • 터미널 환경 화면을 깨끗이 지우는 방법
    clear screen or cl scr

  • 권한 부여
    grant 권한명 to 아이디;
    grant connect, resource to 아이디;

  • 권한 회수
    revoke 권한명 from 아이디;

  • 작성 했던 코드 목록 보기
    F7

  • 계정 연결
    conn 아이디/비밀번호;

profile
Backend Developer

0개의 댓글