Uninstalling the User Defined Functions (UDFs)
Log in to the server as the user with the required permissions.
Navigate to the
/opt/protegrity/databaseprotector/teradata/sqlscripts/directory.To start the
btequtility, run the following command:/opt/protegrity/databaseprotector/teradata/sqlscripts/ # bteqPress ENTER.
The prompt to log in to the database appears.Enter your logon or BTEQ command:To log in to the database, run the following command:
.logon <username>Press ENTER.
The prompt to enter the database password appears.To proceed with the removal of the UDFs, type the database password.
Press ENTER.
The connection to the Teradata database is completed successfully.*** Logon successfully completed.To remove the installed UDFs from the Teradata Data Warehouse Protector, run the following query:
.run file=dropobjects.sqlPress ENTER.
The script removes each of the UDFs and the following message for each of the removed UDF appears.*** Function has been dropped. *** Warning: 5607 Check output for possible warnings encountered in compiling and/or linking UDF/XSP/UDM/UDT. *** Total elapsed time was 1 second.To remove the Varchar Unicode UDFs installed on the Teradata Data Warehouse Protector, run the following query:
.run file=dropvarcharunicode.sqlPress ENTER.
The script removes each of the UDFs and the following message for each of the removed UDF appears.*** Function has been dropped. *** Warning: 5607 Check output for possible warnings encountered in compiling and/or linking UDF/XSP/UDM/UDT. *** Total elapsed time was 1 second.To remove the Decimal UDFs installed on the Teradata Data Warehouse Protector, run the following query:
.run file=dropdecimalobjects.sqlPress ENTER.
The script removes each of the UDFs and the following message for each of the removed UDF appears.*** Function has been dropped. *** Warning: 5607 Check output for possible warnings encountered in compiling and/or linking UDF/XSP/UDM/UDT. *** Total elapsed time was 1 second.
Feedback
Was this page helpful?