I'm using FDB module to fetch data from Firebird database using Python.
I'm trying to fetch data from table named @TABLE_NAME
, it was not my idea to include "@" in the table name, and it makes it impossible to execute statements on it. When I try to fetch data from normal table, everything works just fine.
This command:
cur.execute("SELECT * FROM @TABLE_NAME")
return this error:
fdb.fbcore.DatabaseError: ('Error while preparing SQL statement:\n- SQLCODE: -104\n- Dynamic SQL Error\n- SQL error code = -104\n- Token unknown - line 1, column 15\n- @', -104, 335544569)
I have no clue what to do and I would apprieciate some help.