在plsql里面伢,在存储过程上点击右建,选“测试”。

解决方案 »

  1.   

    别人的可调。都是用plsql连接的,请问设置plsql的连接方式在哪里设置,该怎样设置呢?谢谢了
      

  2.   

    看看你\oracle\ora92\network\ADMIN\tnsnames.ora里的内容?
    还有具体的错误信息是什么?ora-xxxxx?
      

  3.   

    兄弟,tnsnames.ora还有和调试有关的信息?
    LB =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 128.128.2.2)(PORT = 1521))
        )
        (CONNECT_DATA =
          (SERVICE_NAME = twyydb)
        )
      )
    这是我使用的本地命名;
    并没有报ora-xxxxx,而是弹出一个对话框,显示:“调试不可能在单一模式里”
      

  4.   

    去你的tools-->preferences-->connection里的选项session mode看看,是不是选成了第三个?如果是single那就改成第一个
      

  5.   

    你这个分可真难得啊...你要不都给我我就跟你急,哼哼你可以看看帮助嘛,具体来说就是调试要用多个session的模式才行。你登录一次就是一个session?Multi session - Each Test Window, SQL Window and Command Window will have its own session, and another session will be used for compilations. This is the most flexible setting, and will obviously lead to the largest amount of database sessions. Another possible disadvantage is that updates in Window X will only be visible in Window Y after they are committed.?Dual session - The Test Windows, SQL Windows and Command Windows will share one session, and another session will be used for compilations. Disadvantage of this mode is that only one window can execute at a time.?Single session - All windows and all compilations use the same session, making transaction management difficult. The debugger is disabled in this mode. Only use this setting if you are restricted to using one database session.