Thanks Teja Its Working now
On Tue, Jan 31, 2023 at 7:41 AM Teja Jakkidi <teja.jakkidi05@xxxxxxxxx> wrote:
Hello Kaushik,Did you grant usage on schema to the user??Grant usage on schema schemaname to username;Thanks,Teja. J.On Jan 30, 2023, at 6:08 PM, Ankur Kaushik <ankurkaushik@xxxxxxxxx> wrote:Hi,I am trying to select records from table for other schema but unable to fetch due to permission denied errorGRANT SELECT ON ALL TABLES IN SCHEMA condenastvms_uat TO edw;
sdp_edw=> select count(*) from condenastvms_uat.activity_logs;
ERROR: permission denied for schema condenastvms_uat
LINE 1: select count(*) from condenastvms_uat.activity_logs;
Regards
Ankur