Hello I have a somewhat unique problem I need to select the first row that has NULL in the Status column and change its value to the text (processing)
To clarify I will use SQLite in a program that will need to process entries in a database. The columns are URL Name Status
The Name and URL is not something that I can control. The Status column is used for the program all new entries come in with a NULL value I need to mark the first one with the text (processing) and then the program will refer to the row that has a value of (processing) in the status column and after it finishes change it to [FINISHED]
Also I don't want to select any row that also has NULL in the URL column.
I tried this code only its not getting me anywhere
SELECT * FROM List WHERE Status IS NULL ORDER BY ROWID ASC LIMIT 1
update List set Status = replace ( Status, NULL ,'(processing)')
commit;
What I definitively don't want to do is change all NULL values in the column Status at the same time. Only the first.