Pro*C text insertion Question
Date: Mon, 27 Jun 1994 04:54:06 GMT
Message-ID: <1994Jun27.045406.47614_at_frodo.cc.flinders.edu.au>
I was wondering if anyone can solve the problem I have. I am reading text from a file and extracting certain information from each file.
I have declared something to be of type long
e.g text_is long,
Now how can I insert a line of text into this type one line after another until the file has been completely read.
I have tried the following
exec sql update set text_is = :line
where mess_id =:get_id;
all this does is overwrites each existing line in the database column with the line just read and inserted into.
I guess a cursor wont help as I am trying to insert data into a table, not extract it.
Is there another way to do it. I have no experience in the data processing data entry field of databases so I guess someone out there knows how to go about these things.
Thanks. Matthew CarrReceived on Mon Jun 27 1994 - 06:54:06 CEST