I (and others, see http://inductiveautomation.com/forum/viewtopic.php?f=70&t=5891&p=15753&hilit=sqltagprop#p15753) could really use additional read only access to the internal SQLTag DB.
I propose this access via a script function that would protect the internal DB from any harm. A candidate function patterned after “system.alert.queryAlertStatus” would look something like:
system.internalDb.querySQLTagProperties(tagPath, propName1, propName2, propName3, …)
This function would return a dataset drawing from the internal SQLTAG, SQLTAGPROP, … tables and real-time values as needed.