LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the sql query result?

Solved!
Go to solution

Hi,

 

Currently I am using LV2012 to connect a Oracle database server. After the installations/settings for Oracle Express and Oracle ODBC driver done.

 

I am sucessfully to use the SQL command to query the data through my window command prompt. 

 

Now the problem is, how I do the same task in Labview by using the database connectivity toolkits?

 

I have build a VI for query as attached, but i have no idea what pallete to use to get the query result.

 

Please help me ~~

 

 

0 Kudos
Message 1 of 3
(2,551 Views)
Solution
Accepted by topic author TanTan

Here is a piece of code I use to test SQL commands, you can use the part that retrieves sql results.

It is also possible to get the column headers back, but that is for next lesson!

😉

 

 

0 Kudos
Message 2 of 3
(2,544 Views)

This is how I execute a store procedure. I hope it helps.

0 Kudos
Message 3 of 3
(2,532 Views)