Good evening Community.
I have a program in java, which I pass as an argument the authors.sql file (database in postgresql) which contains a single line:
INSERT INTO authors VALUES ('CEVA', 'K.', 'Cherteston')
At the moment of reading the instruction and executing the INSERT INTO statement, I get the following exception:
org.postgresql.util.PSQLException: ERROR: syntax error at or near "INSERT" Position: 1
Does anyone see something wrong with the contents of the authors.sql file?
I have attached an image that shows the line where the exception occurs as well as the string containing the sql INSERT INTO statement, I hope it helps.
Thanks for your time