christa Posted April 8, 2010 Share Posted April 8, 2010 good day! I use mysql v4.1.x and, via php script, i want to execute this query: SHOW TABLE STATUS WHERE Name IN ('mytab', 'anothertab, '1234_tab') But, the syntax that works in 4.1 is: SHOW TABLE STATUS LIKE 'mytab' How can i check more tables? Link to comment https://forums.phpfreaks.com/topic/197973-show-table-status-in-41/ Share on other sites More sharing options...
Mchl Posted April 8, 2010 Share Posted April 8, 2010 Unless you can find a LIKE pattern for them, you can. In your example: SHOW TABLE STATUS LIKE '%tab'; will show all tables that end with 'tab'. Remember, 4.1 is no longer supported. High time to upgrade. Link to comment https://forums.phpfreaks.com/topic/197973-show-table-status-in-41/#findComment-1038876 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.