0DayMusic.Net Board | 0DayReleases

FAQ Search Memberlist Usergroups

 0DayMusic.Net Board Forum Index

   ProfileProfile    Log in to check your private messagesLog in to check your private messages    GalleriesGalleries    Log inLog in    RegisterRegister 

Search found 1 match
0DayMusic.Net Board Forum Index
Author Message
  Topic: MYSQL - How to use UPDATE with IF-ELSE condition
gmybft

Replies: 0
Views: 348

PostForum: 0daymp3.net Informations   Posted: Tue 4:41, 30 Nov 2010   Subject: MYSQL - How to use UPDATE with IF-ELSE condition
I have three columns - id, programname, status

I wanted to use UPDATE with IF condition something like this:


UPDATE elec_products
IF(programname ='Argos')
(
SET status = 1
)
...
 
Page 1 of 1
All times are GMT + 2 Hours
Jump to:  
 


fora.pl - załóż własne forum dyskusyjne za darmo
Powered by phpBB © 2001, 2002 phpBB Group

 

Style Created Freely By