Hi Frans,

kalo perintah update bisa mengurangi jumlah baris dari
3 jadi 1, itu rada ajaib sih.

Cuma updatenya bisa dibuat seperti ini:

UPDATE BI_LD_CORPORATE
SET co_dept_name2 = REPLACE(co_dept_name2,',BENIH INTI
SUBUR INTANI-SURABAYA','') || ',BISI
INTERNATIONAL,SURABAYA'
WHERE co_dept_name2 LIKE '%,BENIH INTI SUBUR
INTANI-SURABAYA';

Tanya kenapa :p

Regards,
tomi

--- frans pandapotan <[EMAIL PROTECTED]>
wrote:

> Hallo semua...
> 
> Mohon pencerahannya donk,
> 
> Saya lg bingung untuk mengupdate tabel, tabelnya
> seperti ini :
> Tabel : BI_LD_CORPORATE
> Column : CO_DEPT_NAME2
> Value Column :
> 1. ACCOUNTING LOMBOK,BENIH INTI SUBUR
> INTANI-SURABAYA
> 2. ACCOUNTING PARE,BENIH INTI SUBUR INTANI-SURABAYA
> 3. ACCOUNTING,BENIH INTI SUBUR INTANI-SURABAYA
> Nah saya mau update value column hanya character
> BENIH INTI SUBUR INTANI-SURABAYA dengan BISI
> INTERNATIONAL-SURABAYA.
> Saya pakai sql statemant dengan query seperti ini :
> UPDATE BI_LD_CORPORATE
> SET co_dept_name2 = LTRIM(RTRIM('%,BISI
> INTERNATIONAL,SURABAYA'))
> WHERE co_dept_name2 LIKE '%,BENIH INTI SUBUR
> INTANI-SURABAYA'
> Hasilnya jadi satu column doang seperti ini :
> 1. %,BISI INTERNATIONAL,SURABAYA
> Mau saya hasil dari value column diatas hanya BENIH
> INTI SUBUR INTANI-SURABAYA menjadi BISI
> INTERNATIONAL-SURABAYA. Hasil seperti ini :
> 1. ACCOUNTING LOMBOK,BISI INTERNATIONAL-SURABAYA
>  2. ACCOUNTING PARE,BISI INTERNATIONAL-SURABAYA
>  3. ACCOUNTING,BISI INTERNATIONAL-SURABAYA
> 
> mohon bantuannya ya saudara-saudara......
> 
>        
> ---------------------------------
> Moody friends. Drama queens. Your life? Nope! -
> their life, your story.
>  Play Sims Stories at Yahoo! Games. 
> 
> [Non-text portions of this message have been
> removed]
> 
> 
> 
> --
> -----------I.N.D.O - O.R.A.C.L.E---------------
> Keluar: [EMAIL PROTECTED]
> Website: http://indo-oracle.blogspot.com
> Mirror: http://indooracle.wordpress.com
> -----------------------------------------------
> 
> Bergabung dengan Indonesia Thin Client User Groups, 
> Terminal Server, Citrix, New Moon Caneveral, di:
> http://indo-thin.blogspot.com 
> Yahoo! Groups Links
> 
> 
> 
> 
> 



       
____________________________________________________________________________________
Looking for a deal? Find great prices on flights and hotels with Yahoo! 
FareChase.
http://farechase.yahoo.com/

Kirim email ke