cancel
Showing results for 
Search instead for 
Did you mean: 

execute .sql file

Highlighted
SteveBale
Member

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

1 REPLY 1
Dennis_Knutson
Knight of NI

Re: execute .sql file

Message contains a hyperlink
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.