Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: How to store the results of several scripts in a table

Re: How to store the results of several scripts in a table

From: Daniel Morgan <damorgan_at_exxesolutions.com>
Date: Sat, 14 Jun 2003 10:21:19 -0700
Message-ID: <3EEB598E.A7C87DC7@exxesolutions.com>


fawad wrote:

> Hello,
> I am using a main script which contains several sub scripts which I
> run to evaluate the performance of the database
> These scripts generate result files(text files) .But now I want that
> these scripts should not create result files but put the result into a
> following table every time when I run the main script.
>
> The table something like this: "result_id, script_id (Foreign Key),
> time_stamp, result (Text)"
>
> I have also a table structure, that manages my scripts. The columns
> of that table are "script_id, category, description, script".
>
> I can&#8217;t understand how to do this .Could some one please give me
> suggestion/coding.
>
> Regards
>
> Fawad

Try:

INSERT INTO <table_name>
(<column_name>, <column_name>, <column_name>) VALUES
(<value>, <value>, <value>);
COMMIT; Its been working for years and seems to be bug free. ;-)

--
Daniel Morgan
http://www.outreach.washington.edu/extinfo/certprog/oad/oad_crs.asp
damorgan_at_x.washington.edu
(replace 'x' with a 'u' to reply)
Received on Sat Jun 14 2003 - 12:21:19 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US