uni_blktxt.c

The uni_blktxt.c sample program uses the bulk-copy routines to copy static data to a server table. There are three rows of data that are bound to program variables and then sent to the server as a batch. The rows are again sent using blk_textxfer to send the text data. For more information about this sample program, see the leading comments in the sample source file.

NoteThis example requires a SQL Server version 4.9.1 or later.