Replace #Run with #With function to allow for DB agnostic queries.