Error in Oracle stored procedure

前端 未结 2 734
借酒劲吻你
借酒劲吻你 2021-01-29 07:55

When trying to create this stored procedure, I\'m getting an error:

PLS-00428: an INTO clause is expected in this SELECT statement

2条回答
  •  走了就别回头了
    2021-01-29 08:33

    It looks like you're expecting an Oracle stored procedure to work the same way as a SQL Server SP - they are different - in Oracle you need to select INTO variables or a cursor then do something with the values. If you're just trying to select the values as in SQL server, it doesn't work like that.

提交回复
热议问题