Iam trying to insert my automation testcase results to Postgresql but iam getting in to the error
org.postgresql.util.PSQLException: ERROR: syntax error at or near “To”
my query:-
String sql = “INSERT INTO RegressionExecutionReport(RegressionMonth,AppName,Modules,SectionName,SubSection,Scenarios,Testdescription,Results,BrowserStackExecution,TimeStamp)”
+ “VALUES ” + “(” + regressionMonth + “, ” + appName + “, ” + module + “, ” + section + “,” + subsection + “,” + scenario + “,” + testdescription + “,”+ results + “,” +browserStackExecution + “,” + timestamp+”)”;