3
Answers

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

Daanish G

Daanish G

2y
805
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)