Samples
Utility Samples
The following samples illustrate Microsoft® SQL Server™ 2000 utility development.
Sample | Description |
---|---|
Bii | Utility sample. Stand-alone console application that mimics the bcp utility that ships with Microsoft® SQL Server™ 2000. |
Pbalance | C++ sample. Displays instance names, process identifiers, CPU-time as a percentage, high and low thresholds of the CPU-time, and the process priorities of instances of Microsoft® SQL Server™ 2000 running on the local computer. |
To install the samples during SQL Server installation
- On the Setup Type page, select Custom.
- On the Select Components page, under Components, select Code Samples.
Samples are installed as a self-extracting file. To extract the samples, double-click Unzip_utils.exe, located at
C:\Program Files\Microsoft SQL Server\80\Tools\Devtools\Samples\Utils.
Prerequisites
C++ samples require Microsoft Visual C++ version 6.0.