hoÏ!!!
je cherche à modifier ma requête update pour y integrer une option where mais pas moyen, voilà la requête:
update table
set champ=case
when(champ like'%toto%')then replace(champ,'toto','toto et titi') else chemin end;
je voudrai la modif pour avoir qq chose du type:
update table
set champ=case
when(champ like'%toto%')then replace(champ,'toto','toto et titi') where champ2 ='valeur' else chemin end;

 

 
		
		 
        

 
			
			


 
   


 fonction "REPLACE" avec condition
 fonction "REPLACE" avec condition
				 Répondre avec citation
  Répondre avec citation 
			
Partager