Compiling and Linking the Sample UDFs for Windows

Run the build.bat script to compile and link the sample scalar and aggregate UDFs, table UDFs, and TPFs found in the samples\udf directory.

  1. Navigate to %ALLUSERSPROFILE%\samples\udf.
  2. Run build.bat:
    Parameter Description
    -clean

    Deletes the object and the build directory

    -v3

    Builds sample scalar and aggregate UDFs with the v3 API

    -v4

    (Default) Builds sample table UDFs and TPFs with the v4 API