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
# Note: SQL 92 has restrictions for identifiers starting with underscore (e.g. http://www.frontbase.com/documentation/FBUsers_4.pdf)
4130
4130
ifretVal.upper() inkb.keywordsor (notisTableand (retValor" ")[0] =='_') or (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)
4131
-
retVal=unsafeSQLIdentificatorNaming(retVal)
4132
-
4133
-
ifBackend.getIdentifiedDbms() in (DBMS.MYSQL, DBMS.ACCESS, DBMS.CUBRID, DBMS.SQLITE): # Note: in SQLite double-quotes are treated as string if column/identifier is non-existent (e.g. SELECT "foobar" FROM users)
ifBackend.getIdentifiedDbms() in (DBMS.MYSQL, DBMS.ACCESS, DBMS.CUBRID, DBMS.SQLITE): # Note: in SQLite double-quotes are treated as string if column/identifier is non-existent (e.g. SELECT "foobar" FROM users)
0 commit comments