Hallo PBer's
mau tanya nih !
database : SQL Anywhere/ASA
saya punya tabel begini (misal sebuah tabel dg nama cust_voucher)
cust jml_voucher
A 5
B 6
C 8
bagaimana perintah selectnya jika saya menginginkan row yang dihasilkan
sebanyak jml_voucher dg kondisi cust.
misal (perintah sql yg salah) : select cust from cust_voucher where cust = 'A'
saya ingin hasilnya :
cust
A
A
A
A
A
boleh juga kalau ada yang punya ide/pengalaman dengan menggunakan store
procedure.trim's .
ipul
---------------------------------
Do you Yahoo!?
Yahoo! Mail - now with 250MB free storage. Learn more.
[Non-text portions of this message have been removed]
IndoPB - Indonesia PB User Group
To Post a message, send it to: [EMAIL PROTECTED]
To Unsubscribe,send a blank message to: [EMAIL PROTECTED]
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/indopb/
<*> 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/