Getting a list of cms tables in a drop down in a section

3 posts by 1 authors in: Forums > CMS Builder
Last Post: October 24, 2014   (RSS)

In case anyone else is looking for this:

SELECT DISTINCT(REPLACE(TABLE_NAME,'cms_','')) as shortName,  REPLACE(TABLE_NAME,'cms_','') as altName
  FROM INFORMATION_SCHEMA.TABLES
 WHERE TABLE_NAME LIKE 'cms_%'
 ORDER BY TABLE_NAME

Here's an even better answer to the same question asked two years ago....by me ;)

http://www.interactivetools.com/forum/forum-posts.php?postNum=2217858