Skip to contents

Identify queries or tables names from the user supplied string

Usage

sql_identify_table_and_query(src, tables)

Arguments

src

the user supplied string. This is usually an SQL query or a table name or a combination of both.

tables

the list of all tables in the database

Value

a list with the identified queries and tables