To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This VI gets a Record set from database and include the column headers.
Description
This VI will return a Record set with the option to include the column names in the first row of a multidimensional string array created on the fly from the tables you wish to read.
Requirements
Steps to Implement or Execute Code
Additional Information or References
VI Snippet
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
Hi,
Is there a way to select the column headers after the query has been executed? For example, I am selecting data from different tables using JOIN, so my result would be different columns from separate tables. I want to be able to see the column headers.
Hi hsalman
'Get Column List' should contain what you need.