Jump to content

update query problem


vbnullchar

Recommended Posts

i wanted to update all my tables field value to "0", but the problem is i got 20 fields

 

the usual way "update table1 set field1=0,field2=0,field3=0....field20=0 where id='my_id'";

 

is there a way to update all fields without specifying the fields to update?

Link to comment
https://forums.phpfreaks.com/topic/43431-update-query-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.