C: DB-Library for C Sample Programs

Click to open or copy the files for the DbLib C samples.

These samples are for the Microsoft SQL Server Workstation System 6.5, for Windows NT for Intel, Alpha AXP, MIPS, and PowerPC platforms.

The Readme file in this directory describes the DB-Library for C sample programs included with Microsoft(R) SQL Server(TM) Workstation System 6.5.

For additional information about SQL Server 6.5, DB-Library for C, and ODBC, see the following sections in the Microsoft SQL Server Programmer's Toolkit:

Overview of DB-Library Samples

Sample Description
Example1 Demonstrates sending queries in a command batch.
Example2 Demonstrates working with data files.
Example3 Demonstrates binding aggregate and computing results.
Example4 Demonstrates using row buffering.
Example5 Demonstrates converting data with dbconvert.
Example6 Demonstrates querying and updating the database.
Example7 Demonstrates using browse-mode functions.
Example8 Demonstrates using remote stored procedures and return parameters.
DataFile Data file used by the Example2 and Example6 programs.
NmPsDmp Demonstrates using a named pipe dump device. A Windows NT-based console sample.
SqlCurs Demonstrates using cursor functions.
SQLexamp Command-line interpreter.
SQLtestC Windows NT-based console sample.
SQLtestN Windows NT-based GUI sample.
TextCopy Windows NT-based console text and image sample. Uses GETOPT.
TwoPhase Two-phase commit example.

Building SDK Samples