atau bisa juga pake Replace untuk menghilangkan space yang di tengah2 Replace spacenya dengan Null :)
On 4/26/2010 12:46 AM, inijoey wrote: > > Kalau masalah space, oracle sudah nyediain fungsi trim, ltrim & rtrim. > Silakan dicoba sesuai kebutuhan. > > regards, > joey > > On 4/26/2010 11:41 AM, david wahyudi wrote: > > > > mas...mbak semua, > > gimana sih cara gabungin field varchar dan number biar hasilnya gak > > ada spasinya?? > > sql saya seperti ini : > > > > select kode||tochar(id,'000000')||'-'||tochar(urut_masuk,'000000') > > from buku > > > > hasilnya sepert ini: > > > > XXX01 000001- 000001 > > > > biar hasilnya spt ini XXX01000001-000001 tanpa spasi gimana??? > > > > [Non-text portions of this message have been removed] > > > > > > [Non-text portions of this message have been removed] > > > > > > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 9.0.814 / Virus Database: 271.1.1/2835 - Release Date: 04/25/10 > 14:31:00 > > [Non-text portions of this message have been removed]

