Example Code

Calling an SQL Stored Procedure Using the Database Connectivity Toolset

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW Database Connectivity Toolkit

Code and Documents

Attachment

Description

This example calls stored procedures in SQL Server using the LabVIEW Database Connectivity Toolset. The VI uses two methods to call the built-in stored procedure sp_helpuser -- one method uses parameters and the other does not.


Related Links:
LabVIEW Database Connectivity Toolkit, now included with LabVIEW Professional

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.