Creating Stored Procedures in Amazon Redshift