![]() |
PLEASE Help, Mysql question
I need to "empty" a field within a table.
How do I do that ? (truncet) I can empty the table itself but there's 20 other fields I don't want to "empty" |
probably not the best way... but
update <tablename> set <fieldname> = "" if that doesnt work, add where 1 = 1 |
Could ya not drop the field from the table then re-add it?
|
UPDATE whatever SET field='' WHERE field !='';
|
All times are GMT -7. The time now is 05:30 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123