SQL Query to pull Templates from Config DB

Hi all,
I have managed this before and cant find the query :frowning:

I want a query that will pull the template options from config DB. Any help much appreciated!

Hi,

Here is the code:

SELECT templ.name,aopt.section,aopt.opt,aopt.val
FROM cfg_app_prototype templ
LEFT JOIN cfg_app_option aopt ON aopt.object_dbid = templ.dbid AND object_type = 20
ORDER BY templ.name,aopt.section,aopt.opt

R.

1 Like

Thanks Rene your a star ;D

1 Like