On 1/4/08, 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.

DELETE FROM table WHERE ID=1
INSERT INTO table(ID) VALUES(1)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:295839
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to