Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> PL/SQL Procedure
I am in the process of updating tables on the local database and I am
selecting data from the remote database from different tables.
I have a dblink setup on my local database. I am using this procedure
but its not working. I need to submit a procedure as a nightly job for
multiple tables at the local oracle database on windows NT machine. I
need to get the updated information from the remote database every
night so that the new info. appears on reports in the morning.
The code below is what i am trying to use.
Please help me in building this procedure.
Any help will be appriciated.
Thanks.
CREATE OR REPLACE PROCEDURE "SHIP"
DECLARE
v_ShippingInfo SHIPPING_INFO.SHIPPING_METHOD_ID%TYPE; v_ShippingMethodName SHIPPING_INFO.SHIPPING_METHOD_NAME%TYPE; v_ShippingAmount SHIPPING_INFO.SHIPPING_AMOUNT%TYPE;CURSOR c_SHIP IS
SHIPPING_INFO.SHIPPING_METHOD_NAME, SHIPPING_INFO.SHIPPING_AMOUNT
WHEN NO_DATA_FOUND THEN Null; WHEN OTHERS THEN Null;