I have a new sequence in my database.
What permissions do I need to grant to my web user in order for the sequence to be used? I tried granting select on the sequence, but the web user still can't seem to see it.
I have a new sequence in my database.
What permissions do I need to grant to my web user in order for the sequence to be used? I tried granting select on the sequence, but the web user still can't seem to see it.
I think "select" should be sufficient. Is your query correctly qualifying the schema that the sequence exists in?
select someschema.somesequence.nextval from dual;
GRANT SELECT, ALTER ON SOMESCHEMA.SQ_SOMESEQUENCE TO OTHERSCHEMA WITH GRANT OPTION;
© 2022 - 2024 — McMap. All rights reserved.