SQL Procedure error

前端 未结 6 1544
北荒
北荒 2021-01-26 14:01

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

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


        
6条回答
  •  旧时难觅i
    2021-01-26 14:44

    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"

提交回复
热议问题