SQL Procedure error

前端 未结 6 1630
情话喂你
情话喂你 2021-01-26 13:57

Changed into a procedure, getting a syntax error at \'PROCEDURE\' any ideas?

CREATE PROCEDURE performance_Report
 @startDate DATE,
 @endDate DATE
AS
    SELECT S         


        
6条回答
  •  说谎
    说谎 (楼主)
    2021-01-26 14:45

    PostgreSQL doesn't have "CREATE PROCEDURE". It is reported that most of what you might need stored procedures for in other databases can be done in PostgreSQL with CREATE FUNCTION.

提交回复
热议问题