shahril Posted August 29, 2017 Report Posted August 29, 2017 (edited) Hi all, I need to query data from MS SQL server at different PC using LAN cable. Do you guys have any example to do this? Please help. Edited August 29, 2017 by shahril Quote
Neil Pate Posted August 29, 2017 Report Posted August 29, 2017 I have had good success using the NI Database toolkit. Quote
shahril Posted August 30, 2017 Author Report Posted August 30, 2017 Hi neil, Can u give an example to do that. Quote
JKSH Posted August 30, 2017 Report Posted August 30, 2017 1 hour ago, kotak123 said: Can u give an example to do that. Have you installed the NI Database and Connectivity Toolkit? Quote
shahril Posted August 30, 2017 Author Report Posted August 30, 2017 Hi JKSH, Yes i have NI Database and Connectivity Toolkit but don't know where to start. Quote
shahril Posted August 30, 2017 Author Report Posted August 30, 2017 Hi guys, My task required me to query data from MS SQL Server at another PC using LAN cable. Do i need to install MS SQL Client at my PC to query data at MS SQL server PC using LAN or just using NI Database and Connectivity Toolkit? Also how setup need to be done? Quote
smithd Posted August 30, 2017 Report Posted August 30, 2017 https://forums.ni.com/t5/LabVIEW/How-to-link-SQL-server-to-Labview-with-Database-Toolkit/td-p/967330 Fundamentally you need to pick out a driver that supports remote communication (readme has specific info on ms sql), then you make a configuration file or string which describes how you will talk to it (see link above), and then you use that to initiate a connection as shown in the examples in the example finder. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.