Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: How to store the results of several scripts in a table
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’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