1.登陸到當前用戶table
2.select 'grant select on XYD_IDX_DEV.' || t.table_name || ' to DMC_ZGRS_RPTWEB;' from user_tables t where table_name like '%GX%';登錄
3.執行下面生成的語句select