SQL Procedure error

前端 未结 6 1627
情话喂你
情话喂你 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 15:04

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

    CREATE FUNCTION performance_Report(date, date)
    

提交回复
热议问题