ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

execute .sql file

Hello all,

 

Does anybody know how I can programatically execute a .sql file through LabVIEW. Either with or without the database toolkit would be useful. I have mssql installed so sqlcmd etc are available if required.

 

Many Thanks,

 

Steve

0 Kudos
Message 1 of 2
(2,941 Views)
I don't use the database toolkit but I'm sure there's a function to execute a SQL command. I do use LabSQL and have read a .SQL file and created an array of commands that were executed one by one. I would avoid any solution that is dependent on a utility unique to a specific database.
Message 2 of 2
(2,940 Views)