Hi,
Check for ODBC(google and msdn will help you)
You can direcly use ODBC in Labwindows by Odbc32.dll and SqlAkw32.dll windows library.
(add c:\Program Files\National Instruments\CVI71\sdk\lib\Odbc32.Lib
and c:\Program Files\National Instruments\CVI71\sdk\lib\SqlAkw32.Lib to your project).
Long time ago, i experimet with this
My experiment example Get data from server with DNS name "PQ" and database name "UI2" to file "PQ.CSV"
DNS item is created with utility "ODBC source" (located in windows control panel)
I hope this help.
P.S. RowFetch is file with original example which i first port to CVI