你存储过程里面没有commit?锁表了吧

解决方案 »

  1.   


    没有锁表,
    另外加上了commit 还是一样的效果,只执行了一次
      

  2.   


    没有锁表,
    另外加上了commit 还是一样的效果,只执行了一次
    T7没有主键吧。。
      

  3.   


    没有锁表,
    另外加上了commit 还是一样的效果,只执行了一次
    T7没有主键吧。。create table T7
    (
      ID      NUMBER,
      NOWTIME VARCHAR2(40)
    )
      

  4.   


    没有锁表,
    另外加上了commit 还是一样的效果,只执行了一次
    T7没有主键吧。。create table T7
    (
      ID      NUMBER,
      NOWTIME VARCHAR2(40)
    )
    SQL> show parameter job_queue_processesNAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    job_queue_processes                  integer     0SQL> alter system set job_queue_processes=2;System altered
    查看一下这个参数是否为0,如果为0需要进行修改1-36之间的值
      

  5.   


    没有锁表,
    另外加上了commit 还是一样的效果,只执行了一次
    T7没有主键吧。。create table T7
    (
      ID      NUMBER,
      NOWTIME VARCHAR2(40)
    )
    SQL> show parameter job_queue_processesNAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    job_queue_processes                  integer     0SQL> alter system set job_queue_processes=2;System altered
    查看一下这个参数是否为0,如果为0需要进行修改1-36之间的值SQL> show parameter job_queue_processes
     
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    job_queue_processes                  integer     1000
     
      

  6.   


    没有锁表,
    另外加上了commit 还是一样的效果,只执行了一次
    T7没有主键吧。。create table T7
    (
      ID      NUMBER,
      NOWTIME VARCHAR2(40)
    )
    SQL> show parameter job_queue_processesNAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    job_queue_processes                  integer     0SQL> alter system set job_queue_processes=2;System altered
    查看一下这个参数是否为0,如果为0需要进行修改1-36之间的值SQL> show parameter job_queue_processes
     
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    job_queue_processes                  integer     1000
     
    真心不知道了
      

  7.   

    重启一下服务,再重建job试试。。真的没道理啊。。