You need to run them on the Oracle database machine.
Example:
C:\>sqplus {wc_schema_username}/{wc_schema_user_pw}@{Windchill_SID} @{Path_to_SQLScript}
C:\>sqlplus guest/guest@wind @c:\temp\wc7_find_download_caddocs_cadfilename.sql
When prompted you would need to specify the filename of the CAD Doc.