Hello all,I have a need to execute sql scripts in a file with comments in Python 2.7. here is m code snippet:sqlF = r'{}\{}'.format(sFldr_sql,sSQLFile)sql_file_contents = open(sqlF,'r').read()cur.execute(sql_file_contents) the file can be executed from pgAdmin successfully. However, the code above runs quietly without any issues raised but NO results was worked out.
pgsql-sql by date:
Соглашаюсь с условиями обработки персональных данных