General Functions
pty_getVersion
This function returns the version of the installed protector.
Signature:
pty_getVersion()
Parameters:
None
Returns:
This UDF returns the version number as the NVARCHAR datatype.
Example:
DECLARE
@data NVARCHAR(64)
SELECT @data = <database_name>.dbo.pty_getVersion()
PRINT @data;
pty_whoAmI
This function returns the name of the logged in user.
Signature:
pty_whoAmI()
Parameters:
None
Returns:
This UDF returns the name of the user as the NVARCHAR datatype.
Example:
DECLARE
@data NVARCHAR
SELECT @data = <database_name>.dbo.pty_whoAmI()
PRINT @data
Feedback
Was this page helpful?