Re: pl/sql question

From: Ken Johnson <ken.johnson_at_mail.tapestry.com>
Date: 1996/06/27
Message-ID: <31D35407.711A_at_mail.tapestry.com>#1/1


sko wrote:
>
> how do you set a variable equal to the VALUE of the variable vs. the
> string is building? here's an example...
>
> /************/
>
> #accum01 := 100
> $count := '01'
>
> $variable := '#accum'||$count --> ???
>
> /************/
>
> how do i set $variable = 100 vs. $variable = '#accum01'?
>
> thanks.
>
> --
> email: sko55_at_wwa.com

If I understand your question correctly, you would need to do the following:

        $variable := to_char(#accum) || $count;

-- 
-------------------------------------------------
Ken Johnson -  Technical Consultant
Tapestry Computing, Inc. http://www.tapestry.com
Received on Thu Jun 27 1996 - 00:00:00 CEST

Original text of this message