Thank You Everyone
I needed a query to select the correct script that included all the table names for a particular database, and change the owner to a different schema. I finally figured out my problem and was able to write the query correctly.
Thank You everyone
Andrew SQLDBA