We sell a toolkit for called the Enterprise Connectivity toolkit that includes a library of SQL functions for communicating with ODBC and ADO database sources. You can find info on this toolkit here: http://sine.ni.com/apps/we/nioc.vp?cid=1419〈=US. The toolkit will be your best alternative, but if you don't want it you could use ActiveX communication with Microsoft's Data Access Components (MDAC). You can download the MDAC runtime here: http://www.microsoft.com/data/download.htm#27RTMinfo.
Note, that the SQL toolkit will be a lot easier to program.
Best Regards,
Chris Matthews
National Instruments