select 'grant select on ZD.'||Object_name||' to ZD;' from dba_objects where owner='OA';
create user ** identified by *;
GRANT connect to **;