yzjkzq
yzjkzq
same as SELECT NULL ALIAS1, field1, field2 FROM ....... for oracle
i made it by adding "T.String.Single" to "ttypes" of "grouping.py::group_identifier()", but no further test.
def getTableName(sql): result = set() tokens = re.split(r"[\s)(;`]+", sql.upper()) get_next = False for tok in tokens: if get_next: if tok not in ["", "SELECT"]: result.add(tok) get_next = False get_next =...