阅读背景:

使用Regex从包含SQL查询的文件中提取表名

来源:互联网 

I've a text file containing large number of queries. I want to get all the distinct tables used in the entire file in all the queries. The table name can come after a 'from' or 'join'. How can i extract them by doing a regex match. Can anyone suggest a regular expression to get the matches?I've a text file containing large number of que




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: