sql-metadata icon indicating copy to clipboard operation
sql-metadata copied to clipboard

Parser(sql).tables is listing variable name in SELECT-INTO as table name

Open tkimweston opened this issue 2 years ago • 0 comments

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.

tkimweston avatar May 23 '23 15:05 tkimweston