Updating the createvarcharunicode.sql file
Log in to the server as the user with the required permissions.
Navigate to the
/opt/protegrity/databaseprotector/teradata/sqlscripts/directory.To update the output buffer length in the
createvarcharunicode.sqlfile, run the following command:vim createvarcharunicode.sqlPress ENTER.
The vim utility starts and the contents of thecreatevarcharunicode.sqlfile appears.Ensure to update the value of the output buffer length for the PTY_VARCHARUNICODEINS, PTY_VARCHARUNICODESEL, and PTY_VARCHARUNICODESELEX UDFs as per your requirements.
To save changes to the
createvarcharunicode.sqlfile, run the following command:# :wqImportant: To reflect any changes made to the
createvarcharunicodefile, you must restart the Teradata Database.To restart the Teradata Database, run the following command:
# tpareset -f <reason for restart>Important: Updating the
createvarcharunicode.sqlfile does not require atpareset.Press ENTER.
A prompt to continue with restarting the database appears.You are about to restart the database on the system 'localhost' Do you wish to continue (default: n) [y,n]To continue with restarting the database, type y.
The Teradata Database restarts successfully.
Feedback
Was this page helpful?