Creating user-defined functions (UDFs)

The user-defined functions in a database are available under the User Defined Functions node of the database in the object explorer tree.

To create a user-defined function, select the node of the database that you want to create the function for in the object explorer tree and then click Object > User Defined Functions > New in the top menu.

To continue, fill in the UDF Properties form, click OK and press F7. Log in to the NPS host then to finish adding the function.
Have more questions? Submit a request


  • 0
    Michał Witczak

    How to Add java language function?

  • 0
    Dustin Wells


    UDF only support CPP libraries. You would have to port the function over to CPP and then add a custom library. Thanks.



Please sign in to leave a comment.

** Aginity, Inc.’s Provision of Scripts and Similar Materials at Help Desk Center. For the convenience of Aginity Amp™ clients, we provide code snippets, scripts and similar materials at this Help Desk Center. Such materials are reference materials provided for illustration purposes only. These are intended to serve as an example for self-service clients and are generally geared to respond to common questions asked by similar clients. Such materials constitute Aginity’s intellectual property. Aginity Amp clients and their authorized users are permitted to use these materials in connection with their software license and/or subscription of Aginity Amp. Nothing herein shall limit Aginity’s right to use, develop, enhance, modify or market any of these materials as part of its business. These materials are not formally supported by Aginity or its affiliates. Usage of these materials does not guarantee any specific results, uptime, performance or error-free operation. Aginity disclaims all warranties of any kind, whether express, implied, statutory or otherwise, including any implied warranty of merchantability or fitness for a particular purpose.

Powered by Zendesk