Hi again.
Yes that worked. I must have been blind or something because i have looked at the SCHEMA() function together with the INFORMATION_SCHEMA, but was unable to make it work. Its as simple as this:
SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = SCHEMA() AND TABLE_NAME LIKE 'TEST%'
I redraws my patch for the SHOW TABLE command that i have posted in another thread.
Thank you for the help.
/Jacob