DROP APPLICATION ROLE

시스템에서 지정된 애플리케이션 역할을 제거합니다.

참고 항목:

CREATE APPLICATION ROLE , ALTER APPLICATION ROLE , SHOW APPLICATION ROLES

구문

DROP APPLICATION ROLE [ IF EXISTS ] <name>
Copy

매개 변수

name

삭제할 애플리케이션 역할의 식별자를 지정합니다. 식별자에 공백이나 특수 문자가 포함된 경우 전체 문자열을 큰따옴표로 묶어야 합니다. 큰따옴표로 묶인 식별자도 대/소문자를 구분합니다.

사용법 노트

  • 이 명령은 Native App Framework를 사용하여 만든 애플리케이션의 컨텍스트 내에서만 실행할 수 있습니다.

  • 삭제된 애플리케이션 역할은 복구할 수 없으며, 애플리케이션 내에서 다시 만들어야 합니다.

  • Application roles are not versioned. When dropping an application role from a setup script, you must ensure that no running version of the application relies upon the role being dropped. Snowflake recommends to either avoid dropping application roles that may be in use or to wait until the version that depends on the role being dropped has itself also been dropped.

  • IF EXISTS 절이 지정되고 대상 오브젝트가 존재하지 않는 경우 이 명령은 오류를 반환하지 않고 성공적으로 완료됩니다.

DROP APPLICATION ROLE APP_ROLE;
Copy