$ 0 0 I think I figured it out the second I hit the submit button. Change from: SET SqlStr = 'SELECT count(*) FROM '|| '?' || '.AuditLogs '; To SET SqlStr = 'SELECT count(*) FROM '|| DBName || '.AuditLogs ';
I think I figured it out the second I hit the submit button.
Change from:
SET SqlStr = 'SELECT count(*) FROM '|| '?' || '.AuditLogs ';
To
SET SqlStr = 'SELECT count(*) FROM '|| DBName || '.AuditLogs ';