Pular para o conteúdo
Visualizando 3 posts - 1 até 3 (de 3 do total)
  • Autor
    Posts
  • #103880
    mpungan
    Participante

      Pessoal, alguém sabe porque ocorre esse erro, quando tenta-se se usar global temporary tables para um determinado usuário. Qual o grant que deve ser dando, ou permissão para o usuário executar isso.

      Relatório de erro:
      ORA-01031: insufficient privileges
      ORA-06512: at “EAD.PROC_ALTERAR_PERIODO_CURSO”, line 49
      ORA-06512: at line 2
      01031. 00000 – “insufficient privileges”
      *Cause: An attempt was made to change the current username or password
      without the appropriate privilege. This error also occurs if
      attempting to install a database without the necessary operating
      system privileges.
      When Trusted Oracle is configure in DBMS MAC, this error may occur
      if the user was granted the necessary privilege at a higher label
      than the current login.
      *Action: Ask the database administrator to perform the operation or grant
      the required privileges.
      For Trusted Oracle users getting this error although granted the
      the appropriate privilege at a higher label, ask the database
      administrator to regrant the privilege at the appropriate label.

      Att.

      Mpungan

      #103894
      Avatar photoRegis Araujo
      Participante

        @Mpungan

        Boa tarde meu caro..

        O erro realmente é na temporary table?? O que tem na linha 49 ?

        Tem como vc postar algo desta proc aqui??

        Abraços..!

        #103901
        mpungan
        Participante

          Sim realmente era erro com esta tabela, o que acontece é que para executar o owner tem que ter grant create table explicito, se o owner tiver o grant de resource, que conte o grant de create table não vai funcionar.

          Att.

          Mpungan

        Visualizando 3 posts - 1 até 3 (de 3 do total)
        • Você deve fazer login para responder a este tópico.