update blah
set blah=2
where blah=2
if @@ROWCOUNT = 0
insert into blah()
anything in mysql that does that
William Wheatley
Coldfusion Guru
Do not meddle in the affairs of dragons,
for you are crunchy and taste good with ketchup.
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
