CREATE SHARE
Description
The CREATE SHARE
statement is used to create a SHARE object for data management and usage.
Syntax
Parameter Description
-
share_name: Specify the name of the SHARE to be created. The rules for SHARE names are as follows:
- Supports letters, underscores, and numbers; special characters and spaces are not allowed;
- Only supports starting with a letter or an underscore, letters are automatically converted to lowercase;
- Length is 1-255 bytes;
- Within the same account, share_name must be unique.
Example
Create SHARE
Notes
- When creating a SHARE, please ensure that the share_name complies with the naming rules, otherwise it will not be successfully created.
- After creating a SHARE, you can use the
SHOW SHARES
statement to view all SHARES under the current account. - You can use the
DROP SHARE
statement to delete SHARES that are no longer needed.