You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ifretVal.upper() inkb.keywordsor (retValor" ")[0].isdigit() ornotre.match(r"\A[A-Za-z0-9_@%s\$]+\Z"% ('.'if_else""), retVal): # MsSQL is the only DBMS where we automatically prepend schema to table name (dot is normal)
4069
4069
retVal=unsafeSQLIdentificatorNaming(retVal)
4070
4070
4071
-
ifBackend.getIdentifiedDbms() in (DBMS.MYSQL, DBMS.ACCESS):
4071
+
ifBackend.getIdentifiedDbms() in (DBMS.MYSQL, DBMS.ACCESS, DBMS.SQLITE): # Note: in SQLite double-quotes are treated as string if column/identifier is non-existent (e.g. SELECT "foobar" FROM users)
4072
4072
retVal="`%s`"%retVal
4073
-
elifBackend.getIdentifiedDbms() in (DBMS.PGSQL, DBMS.DB2, DBMS.SQLITE, DBMS.HSQLDB, DBMS.H2, DBMS.INFORMIX):
4073
+
elifBackend.getIdentifiedDbms() in (DBMS.PGSQL, DBMS.DB2, DBMS.HSQLDB, DBMS.H2, DBMS.INFORMIX):
4074
4074
retVal="\"%s\""%retVal
4075
4075
elifBackend.getIdentifiedDbms() in (DBMS.ORACLE,):
0 commit comments