3
Answers

how can I ignore this and update only the data that is not empty?

Photo of Daanish G

Daanish G

3y
905
1

Hey
I have a request:
UPDATE category
SET name = (?) , title = (?), image = (?)
WHERE id = (?)

Instead of (?) I substitute values, but sometimes they can be empty and the request is not accepted, how can I ignore this and update only the data that is not empty?

Answers (3)