On this page

USE

Updated on 2022-11-18 GMT+08:00

Syntax

  • USE catalog.schema
  • USE schema

Description

This statement is used to specify the catalog and schema used by the current session. If the catalog is not specified, the current catalog is used by default.

Example

To specify the current session to the schema named test in the Hive catalog:

USER hive.test

Precautions

None

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback