sequence doesn't exist ORA-02289

后端 未结 3 524
闹比i
闹比i 2021-01-03 02:41

I have a problem getting my SEQUENCE. I have created a sequence as administrator and have grant select and alter privileges to the other user.

CREATE SEQUE         


        
3条回答
  •  南方客
    南方客 (楼主)
    2021-01-03 03:01

    Have you tried using the fully qualified name in your code?

    select ..nextval from dual;
    

    If you already have, can you edit the question to post the output of the following commands. The "OWNER", "USER" in your examples are a bit confusing.

    select sequence, owner from all_sequences where sequence_name = 'TOT_SEQ'; select grantor, table_name, privilege from all_tab_privs where sequence_name = 'TOT_SEQ';

提交回复
热议问题