Description
This command is used to view information about all Table Streams under the current database schema. Table Streams are a type of real-time data stream that allows you to perform real-time analysis and processing of data in the table.
Syntax
Parameter Description
- IN schema_name (optional): Specifies the schema name to view. If not specified, the default schema of the current user is viewed.
- LIKE pattern (optional): Filters the command output by object name using case-insensitive pattern matching. Supports SQL wildcards (
%
and_
). Note: Cannot be used with the WHERE clause. - WHERE expr (optional): Supports filtering based on the fields displayed by show table streams.
Example
- View all table streams under the current schema:
Result:
-
View all table streams under the specified schema:
-
View the streams of tables under the current schema that contain "test" in their names:
-
View table streams that meet specific conditions with the WHERE clause: