Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

Variable Object Name in Dynamic Cursor - response (1) by thompsonhab

$
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 ';


Viewing all articles
Browse latest Browse all 27759

Trending Articles