The RPC command example program, rpc.c, sends an RPC command to a server and processes the results. For more information about this example program, see the leading comments in the example source file.
This example requires a SQL Server version 4.9.1 or
later.