sql-metadata
sql-metadata copied to clipboard
Parser(sql).tables is listing variable name in SELECT-INTO as table name
Parser('SELECT C1, C2 INTO VAR1, VAR2 FROM TEST_TABLE').tables) is returning VAR1 and VAR2 as table names
['VAR1', 'VAR2', 'TEST_TABLE']
Tested @VAR1, @VAR2 and :VAR1, :VAR2 (Oracle bind variable names) and the result is the same.