LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

database modify element in row

Solved!
Go to solution

Hi all,

 

I have a question about the database toolkit.  How do I query a particular row in a table and modify an element in that row?  By doing this, the database table is getting updated.

 

Yik

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 1 of 3
(2,551 Views)
Solution
Accepted by topic author jyang72211

You use the Execute Query and do an UPDATE

 

UPDATE table_name
SET column1=value, column2=value2,...
WHERE some_column=some_value

Message 2 of 3
(2,539 Views)

When I write sql query, I always use it to get data, and I have never tried to update a table in a database.  I didn't know that you can use the querying function to update a table.  Thanks, it worked.

 

Yik

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 3 of 3
(2,517 Views)