Changed into a procedure, getting a syntax error at \'PROCEDURE\' any ideas?
CREATE PROCEDURE performance_Report @startDate DATE, @endDate DATE AS SELECT S
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.