SQL Procedure error

前端 未结 6 1545
北荒
北荒 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条回答
  •  故里飘歌
    2021-01-26 14:57

    Are you sure you didn't mean to use CREATE FUNCTION:

    CREATE FUNCTION performance_Report(date, date)
    

提交回复
热议问题