[kingbase database] view all table names in kingbase

Enter the kingbase database, and select the database to be queried on the database activity page.
Enter the following command in the SQL command line tool:

SELECT relname 
FROM sys_class 
WHERE relkind = 'r' 
AND relnamespace = (SELECT oid FROM sys_namespace WHERE nspname = 'public');

After executing the command, the names of all the tables in the database will be displayed.
insert image description here

Guess you like

Origin blog.csdn.net/luansj/article/details/131533400