Last active
May 17, 2018 10:47
-
-
Save shestakow1993/27a278fddf2521e31f006561fe2afb58 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select TABLE_NAME from information_schema.TABLES WHERE TABLE_TYPE='BASE TABLE' and TABLE_SCHEMA ='bgbilling' and TABLE_NAME LIKE 'pattern1%'INTO OUTFILE '/tmp/passwdp1.txt' ; | |
select TABLE_NAME from information_schema.TABLES WHERE TABLE_TYPE='BASE TABLE' and TABLE_SCHEMA ='bgbilling' and TABLE_NAME LIKE 'pattern2%'INTO OUTFILE '/tmp/passwdp2.txt' ; | |
.... | |
.... | |
select TABLE_NAME from information_schema.TABLES WHERE TABLE_TYPE='BASE TABLE' and TABLE_SCHEMA ='bgbilling' and TABLE_NAME LIKE 'patternN%'INTO OUTFILE '/tmp/passwdpn.txt' ; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment