Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
"Billy Wheeler" — — source: Informix-list mailing list archive (1991-1998)
On 6 Dec 97 at 8:28, Ed Schaefer wrote:
> Anybody out there written a stored procedure to return a random
> number. Any help is appreciated!
Blunt, slow and ugly (just like me! :-) --
SYSTEM("exit `echo $RANDOM`") -- (Needs ksh)
I think. I'm not really sure how you return things to SPs. Guaranteed
to be slow due to the system call, I'm afraid.
HTH.
--
Ciao,
Billy
Back at the gold-face in sunny Gauteng...
Informix FAQ @ http://www.iiug.org/techinfo/faq/faq_top.html
Drivel @ http://www.west.co.za/tasteless/
Your privacy choices
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.