Creating the User Defined Functions
This section describes the instructions install the User Defined Functions (UDFs). Create the UDFs with or without a certificate-based login. For more information about certificate-based login, refer to Managing Certificate-Based Login.
Note: If the
TRUSTWORTHYdatabase property isOFF, create a certificate-based login from the signed.dllfile provided by Protegrity. Create the certificate-based login before creating the UDFs. If theTRUSTWORTHYdatabase property isON, create the UDFs without creating a certificate-based login.
To install the user-defined functions:
Note: In MSSQL Server, the
salogin is disabled by default. Enable thesalogin to connect to the database using thesauser. By default, the database name ismaster.
To connect to the database, login as the privileged user with the CREATE ASSEMBLY permissions.
To run the scripts, navigate to the
C:\Program Files\Protegrity\Database Protector\sqlserver\sqlscriptsdirectory.To execute the registered assembly, execute the
CreateAssembly.sqlscript.Open the
CreateFunctions.sqlfile.Replace the default database name with the database to install the UDFs.
Save the changes to the
CreateFunctions.sqlscript.To create the UDFs, execute the
CreateFunctions.sqlscript.Note: After creating the UDFs, Protegrity recommends to restart the MSSQL service. For more information, refer to Restarting the SQL server.
Feedback
Was this page helpful?