Heidestrand
Registered User.
- Local time
- Today, 09:20
- Joined
- Apr 21, 2015
- Messages
- 73
Hello,
I have a small problem: I have a table with over 20 columns. In every column there are some 1's, but the other cells or tuples are empty. In these empty cells I want to write a 0. So I need an UPDATE query.
But what should I write for the WHERE condition? So he should check every cell and if there's no 1, write a 0.
Can you please help me very quick? Thanks in advance =)
Best regards,
Heide
I have a small problem: I have a table with over 20 columns. In every column there are some 1's, but the other cells or tuples are empty. In these empty cells I want to write a 0. So I need an UPDATE query.
But what should I write for the WHERE condition? So he should check every cell and if there's no 1, write a 0.
Can you please help me very quick? Thanks in advance =)
Best regards,
Heide