0 - 2 of 2 tags for dynamic cursor

Hello,
I am trying to parameterize on object referenced in my dynamic cursor. Let's say I have a table in three different databases called AuditLogs that I want to dynamically query the database to be able to check the row count based on the database name supplied in the stored procedure.
Something like this:
REPLACE PROCEDURE Test