Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> How to Put Data from SELECT Into Javascript Array/Variables
Good morning. I have read many messages about how to collect info from
an HTML page and send it to a PL/SQL procedure. But how can you take
info from a SELECT and dump it into Javascript? For example, in Perl
you would do the following (for example, after reading the contents of
a file into a perl array...):
print "<javascript_array> = new Array(" . join (',',@<perl_array>) . ") \n";
I assume it's possible with PL/SQL. Anyone got a clue?
Oh yea, and while I'm at it, how about a way to create an associative array in PL/SQL based on a SELECT statement. I think I read they don't exist in PL/SQL and I've seen a few workarounds... Anyone done something like this before and know the best way?
Thanks much in advance.
syg
ps. Please don't send email, respond via the newsgroup/Deja.com, as I'm out of the office this week. Thanks!
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
Received on Thu Jun 10 1999 - 03:00:51 CDT
![]() |
![]() |