desktop_task_schedule/code/db/获取datacenter select权限.sql

5 lines
120 B
MySQL
Raw Normal View History

2023-03-21 03:42:12 +00:00
SELECT 'grant select on datacenter.' || table_name || ' to public;'
FROM dba_tables t
WHERE t.owner = 'DATACENTER';