DESCRIBE SEQUENCE

시퀀스의 간격을 포함하여, 시퀀스에 대해 설명합니다.

DESCRIBE는 DESC로 축약할 수 있습니다.

참고 항목:

ALTER SEQUENCE , CREATE SEQUENCE , DROP SEQUENCE , SHOW SEQUENCES

구문

DESC[RIBE] SEQUENCE <name>
Copy

매개 변수

name

설명할 시퀀스의 식별자를 지정합니다.

사용법 노트

  • 이 명령의 출력을 후처리하기 위해 파이프 연산자 (->>) 또는 RESULT_SCAN 함수를 사용할 수 있습니다. 두 구문 모두 출력을 쿼리할 수 있는 결과 세트로 간주합니다.

    For example, you can use the pipe operator or RESULT_SCAN function to select specific columns from the SHOW command output or filter the rows.

    When you refer to the output columns, use double-quoted identifiers for the column names. For example, to select the output column type, specify SELECT "type".

    You must use double-quoted identifiers because the output column names for SHOW commands are in lowercase. The double quotes ensure that the column names in the SELECT list or WHERE clause match the column names in the SHOW command output that was scanned.

DESC SEQUENCE my_sequence;
Copy