Complete the following steps before you remove a registered external language script.
- Verify you have the EXECUTE privilege on the REMOVE_FILE external stored procedure.
- Check if the default database is where the script file was registered. If not, use the DATABASE statement to change the default database.
- Verify you have the DROP PROCEDURE or DROP FUNCTION privilege on either:
- The default database
- The file that you are removing from the default database.