From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Change field in database

Solved!
Go to solution

Is there a way to change (update) one field in a database?

So I have a 2D-array in the database and I know the index of the row and column of the field I want to change.

Another way is reading the 2D-array, changing the 2D-array deleting the 2D-array from the database and insert the new 2D-array in the database.

But I'm afraid this will make the program slow.

So I hope there is faster/easier way?

 

Thanks

0 Kudos
Message 1 of 3
(2,708 Views)
Solution
Accepted by topic author gihlutax
You would use the SQL UPDATE command.

http://www.w3schools.com/sql/sql_update.asp
0 Kudos
Message 2 of 3
(2,690 Views)

OK I see, I now see the condition terminal on the update function of the connectivity toolkit, I did'nt see it 🙂

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