PL/SQL: how do i prompt user input in a procedure?

前端 未结 4 2008
渐次进展
渐次进展 2020-12-09 23:26

This is a question about a small part of a large project I\'m doing. I tried the following but I just get the two errors below it:

SET SERVEROUTPUT ON

CREAT         


        
4条回答
  •  清歌不尽
    2020-12-10 00:22

    You cannot directly receive messages from the client in a PL/SQL procedure or package.

    The best you can do to emulate this is to interface with table data, and have users insert data into the table and react to that, or use Advanced Queueing (which amounts to pretty much the same thing).

    Alternatively, accept the user input as parameters when the procedure is called.

提交回复
热议问题