halo juga, ini dikarenakan kodep nya menghasilkan lebih dr satu row,
jadi tidak bisa digunakan untuk update idpel.

sytaxnya salah dengan kata lain :)

seharusnya ada sytax tambahannya sehingga hasil dr
  (select kodep from idp) adalah Hanya 1 rows,
mungkin jadi begini:

   Update PPD set PPD.idpel = (Select idp.idpel from idp where
   idp.kodep=PPD.kodep);


post lg jika masih salah ya.

On Tue, 11 Apr 2006, Hendra wrote:

> Update PPD set idpel = (Select idpel from idp) where kodep in
> (select kodep from idp);
>
> yang muncul adalah message :
> single-row subquery returns more than one row


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/mailplus/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Kirim email ke