Tech Blog · February 26, 2023
Tech Tip: How to Parse an SQL Command?
It is not easy to extract object names from an SQL command since they may be written in different ways (with/without schema, databases name included …). Still, there are many option to extract objects from an SQL query that you can try. This quick tip illustrates different approaches to parse a SQL Command. Regular expressions are patterns used to match character combinations in strings. They can be used to extract…