简体   繁体   中英

How can I change the data in TDengine?

I'm using TDengine database for collected sensor data. Sometimes, there will be some error in collected data, and they will be also stored in the database. The data is inserted by timestamp.

How can I change them when I found the error?

you cannot if your database option is 0, but you can update the data by using

insert into dbname.tableName values(timestamp_value, col1_value, ...)

if your database option is 1 or 2. just keep in mind that the timestamp_value should keep the same with the data you want to update.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM