Hi PBers,

Database SQLServer 7,
Saya punya stored procedure seperti ini :
create procedure sp_GetDateChar
   @@TGL char(10) OUTPUT
as
begin
  select @@TGL=Convert(char(10),Getdate(),111)
end

di powerbuilder(8) saya deklarasi :
string  ls_today

DECLARE GetServerDate PROCEDURE FOR
                sp_GetDateChar @ls_today=:ls_today OUTPUT;

EXECUTE GetServerDate;

(i) tapi kenapa ls_today-nya string kosong terus ya  ...?
     anyone could give a clue ?


saya juga sudah coba deklarasi pake di u_tr :
function long sp_GetDateChar(string @TGL) RPCFUNC ALIAS 
FOR "dbo.sp_GetDateChar"

(ii) tp kok syntax error ya ?

thx banget

=============================================
Netkuis Instan untuk wilayah Bandung (kode area 022) - SD,SMP,SMA
Berhadiah total puluhan juta rupiah... periode I dimulai 1 April 2004
=============================================


------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/NhFolB/TM
--------------------------------------------------------------------~-> 

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/
 

Kirim email ke