Jump to content
Sign in to follow this  
shahril

Query data from MS SQL Server from different PC

Recommended Posts

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 by shahril

Share this post


Link to post
Share on other sites
1 hour ago, kotak123 said:

Can u give an example to do that.

Have you installed the NI Database and Connectivity Toolkit?

Share this post


Link to post
Share on other sites

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?

 

Share this post


Link to post
Share on other sites

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.

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.