Complete the following steps before you remove a registered external language script:
- Verify that 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 that you have the DROP PROCEDURE or DROP FUNCTION privilege on the default database or the file you are removing from the default database.