db execute statement stuff

execute (cached) prepared statement and collect any result rows