CREATE OR REPLACE FUNCTION insertuser (username VARCHAR, emails VARCHAR, address VARCHAR, creditcard INTEGER, purchase VARCHAR, product_id VARCHAR, number_of_products INTEGER)
I keep getting the error
ERROR: syntax error at end of input
LINE 10: ^
SQL state: 42601
Why is this happening and how can I fix it?
I've tired to add parentheses and refreshed just in case my server timed out