Closed rheilek closed 6 months ago
If go_ora.AddSessionParam(db, "CURRENT_SCHEMA", schema) used, single quotes at "alter session set %s='%s'" raises ORA-02421: missing or invalid schema authorization identifier.
go_ora.AddSessionParam(db, "CURRENT_SCHEMA", schema)
"alter session set %s='%s'"
I think the caller should do escaping (add quotes) if necessary.
go_ora.AddSessionParam(db, "CURRENT_SCHEMA", schema) go_ora.AddSessionParam(db, "nls_date_format", "'DD-MON-YYYY HH24:MI:SS'")
If
go_ora.AddSessionParam(db, "CURRENT_SCHEMA", schema)
used, single quotes at"alter session set %s='%s'"
raises ORA-02421: missing or invalid schema authorization identifier.I think the caller should do escaping (add quotes) if necessary.