SQL Procedure error

前端 未结 6 1642
情话喂你
情话喂你 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:43

    CREATE PROCEDURE was introduced to PostgreSQL in version 11, so if you are using an earlier version you will get ERROR: syntax error at or near "PROCEDURE"

提交回复
热议问题