ah yeah then delete the row and readd it.. On Jan 4, 2008 10:11 AM, Ben Doom <[EMAIL PROTECTED]> wrote: > He wants to clear all *columns*, not rows. > > --Ben Doom > > Greg Morphis wrote: > > UPDATE table > > SET foo = '', > > Moo = '', > > Goo = '' > > > > > > leave out the WHERE clause.. it'll empty all rows > > > > On Jan 4, 2008 9:47 AM, Chad Gray <[EMAIL PROTECTED]> wrote: > >> Is there anyway to clear the data in a row in a database without using > >> > >> UPDATE table > >> SET foo = '', > >> Moo = '', > >> Goo = '' > >> WHERE ID = 1 > >> > >> I don't want to clear the ID just the other fields. > >> > >> My table has 50 fields and I don't feel like typing out all of them and > >> setting them to blank. > >> > >> > >> > >> > >> > > > > > >
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295849 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

