Does anyone know of any code or tools that can infer literal values from SQL statements?
The reason for the request is that I want to correctly judge the SQL workload in our database, and I'm worried about missing bad instructions whose resource usage is masked because they appear as separate statements. When in fact they are almost the same, except that different identifiers are transmitted.
I would prefer a database independent solution if one exists. I thought there might be a great Perl module for this, but I did not find it.
Thank you for your help.
source
share