Data in the table not migrated
Hi all,
im getting a problem when migrating mysql to oracle table data.
IM using sql developer 4.0 for migration.
here on the 720 tables, I got given in 450 tables only, the rest is blank.
I found an error in my diary as follows
Impossible to move data: Streaming result set com.mysql.jdbc.RowDataDynamic@109f37d is still active.
No statement can be issued when the continuous result sets are open and in use on a given connection.
Ensure that you called. close() on any active streaming result sets before trying more requests.
im running on windows 7 32 bit os, oracle 10 g.
could someone help me.
How can I ask a question in the forums?
https://forums.Oracle.com/message/9362002#9362002
Tags: Database
Similar Questions
-
No data in the tables after migration
I'm migrating from SQL Server to Oracle database using using SQL Developer - and all though until I checked the tables, and there is no data.
Log in as the new schema and don't "select count (*) from user_tables.
Got 35 tables, but when I checked the individual tables, there is no line (data).
Any suggestion?
Server: Windows 2008
Oracle 11g
SQL Server 2005This remark may help:
http://St-curriculum.Oracle.com/OBE/DB/hol08/sqldev_migration/MSSQLServer/migrate_microsoft_sqlserver_otn.htm
OR
http://www.Oracle.com/technetwork/database/migration/SQLServer-095136.html
Best regards
mseberg
-
Read xls file and display the data in the table.
Hello
Try to read the data from an xls or csv file and fill the same data in the table. If I need to use the table to store the data from the file and display, hoping that someone could help.
Thank you
Hari
Hi hari,.
One thing that is very important when you use the Excel activeX interface (in case you need it) is good termination of worksheet/workbook/lettering handles.
You need these handles to specify what cell in which file you are trying to access.
If you are unable to throw each handle you have, then you will be left with ghost Excel process in your task manager, devours your system's memory.
Thus, when debugging of your application, open the Task Manager and the watch as Excel treats created/destroyed and make sure that you end up with zero Excel process running when your application is closed.
Also consider the case of fault for your program. Check that your exit routes did not omit any termination of handle.
-
How to add data to the table changed in sql developer at Apex and vice versa
Hello
I had tables of database with sql developer. But now, I have modified the database (new tables added + changed the data in the tables). However, in the Apex, I the old database. Is it possible to get the new Apex database with the data of the table changed so this database in both places (sql and apex developer) is exactly the same... Also the other way around.
Thank you
The database schema that contains the tables, is it associated with the workspace even you are searching through the APEX product t development? Why I'm asking is, if they are the same schema, the tables that you MODIFIED should be appear in the sql for APEX workshop part. Now reports and forms will NOT see the changes (unless you have actually added or updated definitions for column).
Can you explain what exactly you were doing the SQL Developer to the tables in your schema?
Thank you
Tony Miller
Los Alamos, NM -
Hi experts,
I tried to load the data of EBS in HFM via FDMEE.
Importing data in the rule of loading, I have encountered an error in loading.
2014-11-21 06:09:18, 601 INFO [AIF]: beginning of the process FDMEE, process ID: 268
2014-11-21 06:09:18, 601 [AIF] INFO: recording of the FDMEE level: 4
2014-11-21 06:09:18, 601 [AIF] INFO: FDMEE log file: D:\fdmee\outbox\logs\TESTING_268.log
2014-11-21 06:09:18, 601 [AIF] INFO: user: admin
2014-11-21 06:09:18, 601 INFO [AIF]: place: Testing_loc (Partitionkey:3)
2014-11-21 06:09:18, 601 [AIF] INFO: name: OCT period (period key: 31/10/14 12:00 AM)
2014-11-21 06:09:18, 601 INFO [AIF]: name of the category: real (category key: 1).
2014-11-21 06:09:18, 601 INFO [AIF]: name rule: Testing_dlr (rule ID:8)
2014-11-21 06:09:19, 877 [AIF] INFO: Jython Version: 2.5.1 (Release_2_5_1:6813, September 26 2009, 13:47:54)
[JRockit (R) Oracle (Oracle Corporation)]
2014-11-21 06:09:19, 877 INFO [AIF]: Java platform: java1.6.0_37
2014-11-21 06:09:19, 877 INFO [AIF]: connect the file encoding: UTF-8
2014-11-21 06:09:21, 368 [AIF] INFO: - START IMPORT STEP -
2014-11-21 06:09:24, 544 FATAL [AIF]: error in CommData.insertImportProcessDetailsTraceback (most recent call last): File '< string >", line 2672, in insertImportProcessDetail
RuntimeError: No periods have been identified for the loading of the data in the table 'AIF_EBS_GL_BALANCES_STG'.
2014-11-21 06:09:24, 748 FATAL [AIF]: load balances data launch GL error
2014-11-21 06:09:24, 752 [AIF] INFO: end process FDMEE, process ID: 268
I found a post related to this error, but did not respond.
I know I'm missing something, gurus please help me to overcome this error.
~ Thank you
I managed to overcome this problem,
This was caused due to an error in the map of the time.
In the mapping of source, the name of period should be defined exactly as displayed in the EBS.
for example: {EBS--> OCT - 14} FDMEE {mapping source--> OCT - 14}
The names of the time must be identical.
-
Hello
Search page, I developed with two buttons, go and clear.and data sought are displayed in the table on the page.
using the 'clear' button I can able to clear data from text boxes, but I want to data displayed in the table on the page must also be clear.
Please provide assistance to achieve this.
and iam also getting a problem more clearly by clicking the button twice, the first time it is deletion of the data, where, like the second time, it's
What gives exception.how to prevent null pointer is not to get a null pointer exception.
Hello
in, click clear, you want data from the table are evacuated, do you want to text boxes to clear snow?
You can achieve this by extending the controller and clear data that VO, so to clear the table.
1 handle the button click clear
If (oapagecontext. GetParameter("ClearBtn")! = null)
2 claire VO associated table
SVO OAViewObject = (OAViewObject) am.findViewObject ("yourVO"););
svo.setWhereClause ("1 = 2");
svo.executeQuery ();
3. If you want to clear the text boxes you can use following code
OAMessageTextInputBean mtib = (OAMessageTextInputBean) webBean.findIndexedChildRecursive ("bean_id");
if(MTIB!=null)
mtib.setValue (pageContext, null);
-
Hello
It comes to my table
Insertion of the data in it with the procedure which takes 2 parameters of date format:CREATE TABLE TEMP_LEAP ( "DATE_FROM" DATE )
Now lets fill in the data in the table:CREATE OR REPLACE PROCEDURE "T_PROC" (p_dat_from date, p_dat_to date) IS BEGIN DECLARE day number := 0; st NUMBER := 0; BEGIN day := p_dat_to+1 - p_dat_from; for p in 1 .. day loop insert into temp_leapp (date_from) values (p_dat_from+st); st := st+1; end loop; commit; END; END;
Data are now filled in the table.execute T_PROC(TO_DATE('01.01.2010','DD.MM.YYYY'),TO_DATE('17.08.2013','DD.MM.YYYY'));
I want to do is do a select statement that will make the following output data:
I want is to get the leap year if there is a. I only need of days in the year, so don't mind the months.01.01.2010 - 31.12.2011 01.01.2012 - 31.12.2012 01.01.2013 - 17.08.2013
I need to check if there is a leap year in considering the p_dat_from and p_dat_to.
If it isn't then you will get a single record of our instruction select and values will be made of: p_dat_from - p_dat_to.
If there is a leap year in our period we will arrive after statements (example above).
01.01.2010 - 31.12.2011 <-first date is p_dat_from and second is the last day before the leap year
01.01.2012 - 31.12.2012 <-this is leap year. First date is the beginning of the leap year and the last date is the end of the leap year or p_date_to (if it ends in leap years).
01.01.2013 - 17.08.2013 <- and this is the period after the leap years.
It is a piece of code that I fell or with up to now:
OK, that's all. I hope that its understandable that I do.SELECT MIN(date_from), MAX(date_from) FROM temp_leap WHERE remainder(to_number(to_char(date_from,'yyyy')),4) = 0 union SELECT MIN(date_from) over (partition by to_char(date_from,'yyyy')), MAX(date_from) OVER (PARTITION BY to_char(date_from,'yyyy')) FROM temp_leap WHERE remainder(to_number(to_char(date_from,'yyyy')),4) <> 0 ORDER BY 1,2;
If you have a questions please ask away.
PS is there anything I need to do. You don't have to bother with the questions "what i February is after before etc." I don't love about it. All the other logic is already fixed all I need is what I wrote above.
Thank you.
Published by: BluShadow on March 14, 2013 08:24
Fixed barcode labelsHere's a way...
SQL> create table temp_leap(date_from DATE) 2 / Table created. SQL> SQL> insert into temp_leap 2 select date '2010-01-01' + rownum - 1 3 from dual 4 connect by rownum <= (date '2013-08-17' - date '2010-01-01') + 1 5 / 1325 rows created. SQL> SQL> commit 2 / Commit complete. SQL> ed Wrote file afiedt.buf 1 select min(date_from)||' - '||max(date_from) 2 from 3 (select date_from 4 ,sum(leap_yr_switch) over (order by date_from) as leap_yr_switch_cnt 5 from ( 6 select date_from 7 ,case when lag(leap_yr) over (order by date_from) != leap_yr then 1 else 0 end as leap_yr_switch 8 from ( 9 select date_from 10 ,case when mod(to_number(to_char(date_from,'YYYY')),400) = 0 11 or ( mod(to_number(to_char(date_from,'YYYY')),4) = 0 12 and mod(to_number(to_char(date_from,'YYYY')),100) != 0 13 ) 14 then 1 else 0 end as leap_yr 15 from temp_leap 16 ) 17 ) 18 ) 19 group by leap_yr_switch_cnt 20* order by min(date_from) SQL> / MIN(DATE_FROM)||'-'||MAX(DATE_FROM) ------------------------------------------- 01-JAN-2010 00:00:00 - 31-DEC-2011 00:00:00 01-JAN-2012 00:00:00 - 31-DEC-2012 00:00:00 01-JAN-2013 00:00:00 - 17-AUG-2013 00:00:00
Published by: BluShadow on March 14, 2013 08:51
a slight correction in the calculation of the leap year, forgotten 100 years being does not leap. -
I was wondering if there is a lien that would allow someone to be able to view a table exists, its column names, but hide the contents of the actual data in the table?
I know he has a right to SELECT which, if not given it seems just totally hide the table
Thanks in advanceI was wondering if there is a lien that would allow someone to be able to view a table exists, its column names, but hide the contents of the actual data in the table?
The solutions are:
-grant SELECT on DBA_TAB_COLUMNS;
-a custom view SYS. CUSTOM_TAB_COLUMNS selects from DBA_TAB_COLUMNS, which is filtered for specific schemas/tables.
-Fine grain access
-Security labelPublished by: user11181920 on October 23, 2012 11:15
-
How to insert data into the table by using the expression builder in the assign activity
How to insert data into the table by using the expression builder in affect business in BPEl, I use SOA Suite 11.1.1.5
Can someone help me pleaseHello
I don't think that oraext:query-database() can insert data into the table.
What are your needs?
Can not you plan to use the DB adapter with the insert operation?Kind regards
Neeraj Sehgal -
Hi, I have the problem on coding when I use the table to display the data in the table. I don't know what Miss me in the code, data appears only in the first row and second row appears empty. I have spent a lot of time to find the solution but I am not successful.
I need your help. Thank you.
This is the encoding that puts the button: click
var part1 = new Array ("A", "3", 78, 9)
var part2 = new Array("E","2",45,8);
var part3 = new Array("C","1","14",9);var b = new Array("",part1,part2,part3)
var a = new Array()
a = form1.page1.Table1.Row1.TextField1 [0];
a = form1.page1.Table1.Row1.TextField2 [1];
a = form1.page1.Table1.Row1.TextField3 [2];
a = form1.page1.Table1.Row1.TextField4 [3];
a = form1.page1.Table1.Row2.TextField5 [4];
a = form1.page1.Table1.Row2.TextField6 [5];
a = form1.page1.Table1.Row2.TextField7 [6];
a = form1.page1.Table1.Row2.TextField8 [7];
a = form1.page1.Table1.Row3.TextField9 [8];
a = form1.page1.Table1.Row3.TextField10 [9];
a = form1.page1.Table1.Row3.TextField11 [10];
a = form1.page1.Table1.Row3.TextField12 [11];
for (var i = 0; i <.) Length; i ++) {}
for (var j = 0; j < b.length; j ++) {}
a [i] = b [j] [i] .rawValue;
}}
Hello
Try this.
var i = 0;
for (var j = 0; j)< b.length="" ;="">
for (var k = 0; k)< b[0].length="" ;="">
a [i] = b [j] [k] .rawValue;
i ++ ;
}
} -
Get the data in the table in the format of number
Ive got this table with numbers in it, that I want to use for some simple calculations, but I get the message that the data in the table is not a number:
The whole is in a loop for, with teller1 as in ascending order.
code:
var xco:Array = [180,233,271,292,292,270,231,179,124,74,34,11,9,30,70,121];
var yco:Array = [11,33,73,124,181,232,270,290,291,271,234,183,125,72,33,11];for (var teller1 = 1; teller1 < 33; teller1 ++) {}
var ringsegment_mc:Ring_1 = new Ring_1();
ringsegment_mc.x = XCO [teller1] + kernplaats;
ringsegment_mc.y = yco [teller1] + kernplaats;
ringsegment_mc.addEventListener (Event.ENTER_FRAME, vernietig);
addChild (ringsegment_mc);
{Switch (teller1)}
box 16:
kernplaats = Math.Random () * 600 + 300;
kernplaats = Number (400);
trace (yco [teller1]);
trace (yco [teller1] + kernplaats);
}
}If the trace functions are:
undefined
NaN
so I tried to use this:
trace (yco [3]);
trace (yco [3] + kernplaats);who gave this:
124
524
If something goes wrong in trying to read the table, but what? and how can it be solved.
I don't know what you're after, but if you want to use the same loop twice, then put it inside another loop... (Note that arrays start at index 0, not 1)
for (var i = 0; i)<2;>2;>
for (var teller1 = 0; teller1<16; teller1++)="">16;>
var ringsegment_mc:Ring_1 = new Ring_1();
ringsegment_mc.x = XCO [teller1] + kernplaats;
ringsegment_mc.y = yco [teller1] + kernplaats;
ringsegment_mc.addEventListener (Event.ENTER_FRAME, vernietig);
addChild (ringsegment_mc);
{Switch (teller1)}
box 16:
kernplaats = Math.Random () * 600 + 300;
kernplaats = Number (400);
trace (yco [teller1]);
trace (yco [teller1] + kernplaats);
}
}}
-
update of the data in the table
create or replace procedure SP_MIS_LEDGER_ON_DEMAND_V2
as
date of var_date1;
DATE OF VAR_STARTDATETIME;
DATE OF VAR_ENDDATETIME;
-VAR_EXECUTE_FOR_DATE DATE;
-VAR_STATEMENT VARCHAR2 (4000);
VAR_ELAPSEDTIME VARCHAR2 (50);
NUMBER OF VAR_INTRIMSTATUSID;
CURSOR c1 IS
SELECT DISTINCT ta.accountid, PROCESSDATE, (NVL(payment,0)) PAYMENT, TOTALDUE day 0, CURBILL 0, NVL (srf, 0) SRF, NVL (sbpnt, 0) sbpnt, NVL (srv, 0) SRV, NVL (sbf, 0) SBF, NVL (SBV, 0) SBV, NVL (EF, 0) EF, NVL (EV, 0) EV, NVL (TSRV, 0) TSRV, NVL (tsub, 0) TSUB, NVL (teqe, 0) TEQE, NVL (DT, 0) DT, NVL (A.dep, 0) RDEP , NVL (B.DEP, 0) PAPD, NVL (pnt, 0) PNT, NVL (eqp, 0) EQP, NVL (dB, 0) DTR, NVL (WA, 0) WA, NVL (dice, 0) OF a
(select day SEPARATE, accountid)
Of
syntblmaccount, tblmtime, where yyyy = 2010) your,.
(SELECT accountid,
The SUM (srfee) CRS.
SRV SUM (srvat),
SBF SUM (subfee),
SBV SUM (subvat),
SUM EF (eqefee),
SUM EV (eqevat),
Tsrv, SUM (ttlsrv),
Tsub SUM (ttlsub),
Teqe SUM (ttleqe),
SUM (dep) the dep,
SUM (dt) dt, trunc (FROMDATE) FROMDATE
OF VWDT_V6
Accountid group, trunc (FROMDATE)
),
(SELECT accountid,
TNP (TNP) SUM,
SUM (subpnt) sbpnt,
EQP SUM (eqpnt),
SUM (dep) the dep,
SUM DTR (DEPTRANSFER),
DRF SUM (DEPREFUNDED),
SUM (dice) of PaymentData trunc (PaymentData)
OF vwkt_v4
GROUP BY accountid, trunc (paymentdate)
) b.
(SELECT ACCOUNTID accountid, TRUNC (createdate) CREATEDATE, PAYMENT of a SUM of (amount)
of syntbltcreditdocument
where CREDITDOCUMENTTYPEID IN ('CDT01', 'CDT04')
credit group by accountid, TRUNC (createdate))
where your .accountid = a.accountid (+)
and your .accountid = b.accountid (+)
and your .accountid = credit.accountid (+)
and your .day = a.FROMDATE (+)
and your .day = credit.createdate (+)
and your .day = b.paymentdate (+)
and ta.day = to_date('01-MAY-2010','DD-MON-YYYY');
BEGIN
SELECT MAX (PROCESSDATE) IN THE VAR_DATE1 OF MIS_LEDGER_DETAIL_TEST;
SELECT SYSDATE INTO VAR_STARTDATETIME FROM DUAL;
SELECT SEQ_PRC_STATUS. NEXTVAL INTO VAR_INTRIMSTATUSID FROM DUAL;
C1_rec IN C1
LOOP
OUTPUT WHEN c1% NOTFOUND;
MIS_LEDGER_DETAIL_tEST update
A.PAYMENT = c1_rec.payment, VALUE
A.TOTALDUE is c1_rec. TOTALDUE,
A.CURBILL is c1_rec. CURBILL,
A.SRF = c1_rec.srf,
A.SBPNT = c1_rec.sbpnt,
A.SRV = c1_rec. SRV,
A.SBF = c1_rec. SBF,
A.SBV = c1_rec. SBV,
A.EF = c1_rec. EF,
A.EV = c1_rec.ev,
A.TSRV = c1_rec.tsrv,
A.TSUB = c1_rec.tsub,
A.TEQE = c1_rec. Teqe,
A.DT = c1_rec. DT,
A.PDEP is c1_rec. PAPD,
A.RDEP IS C1_REC. RDEP,
A.PNT = c1_rec. PNT,
A.EQP = c1_rec. EQP,
A.DTR = c1_rec. DTR,
A.DRF = c1_rec. WA,
A.UNADJ = c1_rec.unadj
where A.accountid = c1_rec.accountid
and A.processdate = C1_REC.processdate
and a.processdate = to_date('01-MAY-2010','DD-MON-YYYY');
END LOOP;
commit;
SELECT SYSDATE INTO VAR_ENDDATETIME FROM DUAL;
SELECT CAST (VAR_ENDDATETIME AS TIMESTAMP).
CAST (VAR_STARTDATETIME AS TIMESTAMP) VAR_ELAPSEDTIME
FROM DUAL;
INSERT INTO LedgerStatusSummary (StatusID, procedurename, STARTDATETIME, ENDDATETIME, LastExecutionDate, NextExecutionDate, LastModifiedDate, TIMETAKEN, Procedurestatus) VALUES
(VAR_INTRIMSTATUSID, "SP_MIS_LEDGER_ON_DEMAND", VAR_STARTDATETIME, VAR_ENDDATETIME, TRUNC (VAR_DATE1), TRUNC (VAR_DATE1) + 1, VAR_STARTDATETIME, VAR_ELAPSEDTIME, "MENUAL");
COMMIT;
EXCEPTION
WHILE OTHERS
THEN DBMS_OUTPUT. Put_line ("an error has occurred - ' |") SQLCODE |' - ERROR - ' | SQLERRM);
END SP_MIS_LEDGER_ON_DEMAND_V2;
I 9830 data MIS_LEDGER_DETAIL_tEST table... I update of data in the table, but it takes more time to update for TI 01-May-2010 not complete execution in 15 minutes so I abort it...
How to write queries to update...? Please guide me...
Thanks in advance
exec SP_MIS_LEDGER_ON_DEMAND_V2Cursor for loops have been obsolete in Oracle for this entire decade and well in the past: over 12 years now. Why are you writing?
http://www.morganslibrary.org/reference/array_processing.html
Why did someone write code Oracle 8.0 in 2010?
-
How to publish a data in the table from another table
Oracle forms6i
Hai All
I created a form in order to generate traffic. I had a problem that I can post that two data
I have two tables, a table is created dynamically the data in the tables are extracted from the text file, and they are divided and stored fields are
Bartime Bardate barcode
000011 0815 01/08/2010 - it came
000012 0816 01/08/2010
000013 0815 01/08/2010
000011 1130 08/01/2010 - he goes for a break
000011 1145 01/08/2010 - it comes once again in
000011 1650 01/08/2010
000012 1655 01/08/2010
000013 1645 08/01/2010 - it home
That I need to transfer this data to the database table, the table name is dail_att and the fields are
Code bars, timein, timeout, breakin, escape, day like I need like this
Barcode Timein Breakin Breakout Timeout Attend_date
000011 0815 1130 1145 1650 01/08/2010
I tried to use some service number and rank of count, but it does not work Pls I give good solutions
The encoding is
declare
The CNT number;
bar_code varchar2 (25);
date of bar_date;
in_time varchar2 (25);
out_time varchar2 (25);
intr_intime varchar2 (25);
intr_outtime varchar2 (25);
Cursor c1 is
SELECT count (*), barcode, bardate, bartime
-ROW_NUMBER() over (order by bartime) RN
of temp_attendance
Group of barcodes, bardate, bartime
order by bardate;
Start
To r1 c1 loop
-Select the barcode, bardate, bartime
-ROW_NUMBER() on the partition by barcodeorder by bartime: nurse
-of temp_attendance
-the Group of barcodes, bardate, bartime
-order by bardate;
If (cnt < = 1) then
Select the code bar, intimate, intrtimein, introuttime, outtime, attend_date in bar_code, in_time, intr_intime, intr_outtime, out_time, bar_date from dail_att where attend_date = r1.bardate - 1;
Update dail_att set outtime = r1.bartime where attend_date = r1.bardate and barcode is r1.barcode.;
elsif (cnt < = 2) then
insert into dail_att(barcode,attend_date,intime,outtime)
values (R1. Barcode, R1.bardate, min (R1. Bartime), Max (R1. Bartime));
-other
-update dail_att set outtime = r1.bartime where attend_date = r1.bardate and barcode is r1.barcode.;
end if;
End loop;
forms_ddl ('commit');
exception
while others then
forms_ddl ('rollback');
message(SQLERRM|| dbms_error_Text);
message(SQLERRM|| dbms_error_Text);
End;
Thanks and greetings
Srikkanth.MYou seem to always have the same problem, but give it different titles. It would be much easier that you would hold a thread open until its resolved. The last time you had this problem that I posted the following code, it didn't help you? (Replace x and y in each if or ELSIF with the calendar you want to watch)
CURSOR cr IS SELECT CODE, DATE, TIME FROM FROM TEMP_ATTENDANCE ORDER BY CODE, DATE, TIME; BEGIN FOR rec IN cr LOOP IF rec.TIME BETWEEN x AND Y THEN -- Update record for last day .. ELSIF rec.TIME BETWEEN x AND Y THEN -- Update record .. ELSIF rec.TIME BETWEEN x AND Y THEN -- Update record .. ELSIF rec.TIME BETWEEN x AND Y THEN -- Update record .. ELSIF rec.TIME BETWEEN x AND Y THEN -- Update record .. ELSIF rec.TIME BETWEEN x AND Y THEN -- Update record .. END IF; END LOOP; END;
-
2.1 RC1 - strange behavior when you change the data in the table
I recently found a new strange behavior of the SQL Developer. On a small table or a table with a filter where all the data is loaded, but not all lines can be displayed on the screen, trying to change the data in the table. When I confirm the editing with the key enter, Developer SQL jumps always until the end of the data. Quite confusing and boring. The cursor seems to remain in the field that I have edited, then moving upward or downward line force SQL developer to this line.
Appears not to be the case when all the data are loaded instead of punch, but if you force Developer SQL to load all the data, I can reproduce this strange behavior.
SvenBug 9205959 is fixed.
-Rambeau
-
How insert/DML data in the table when the data in the related table changes
Hello guys!
I came across a problem that I need to get fixed. Because I don't know how to start and get it resolved I wanted to ask you for your expertise.
The scenario is as follows:
I have a table 'a' in my 10g database and a view "ab" which combined table 'a' with 'b' table in a view. However, the 'b' table is a table in another schema Manager database. and accessible (read only right) via a database link.
Now here it is: whenever the data changes in table "b", for example 2 new sets of data is inserted, I need to insert automatically the 2 values of these 2 sets of data in my table "a". Same procedure for update and delete in table "b".
The action that inserts data into the table 'a' must be initialized in my database, I have limited access to the other. Can I somehow use a trigger my reviews of "ab" to insert data into the table "a"? Or is it possible to use the "change notification procedure database" using the view as the reference?
Desperately need help and example of all suspicion/code greatly appreciated. I am very new to Oracle and not very fond of PL/SQL routines. So please be so kind as to give me more details.
Thanks in advance - I hope you have any ideas how I can get this problem resolved.
Sebastian>
... it does not, since the DDL operations are not permitted on the remote databases (ORA-02021). I can't create the trigger on a view either. :-(
So what ways are left to insert data into the table 'a' when the related table changes?Please, help if you have an idea!
Yes,
You can't perform the DDL (create the trigger...) on remote databases as you can see...
Try to create this trigger in the local database that will make DML (insert into...) on the remote database.CREATE OR REPLACE TRIGGER local_forward_pt_after_insert AFTER INSERT ON N2K_INV_PT FOR EACH ROW BEGIN -- Insert records into table "a" INSERT INTO TBL_PUNKTDATEN@remote_database_sid ( INT_NUMMER, STR_GEBIET ) VALUES ( :new.INT_INV_PT_NR, :new.GEBIET ); END;
Thank you
Good luck
Maybe you are looking for
-
What is the room for late 2011 macbook pro 17 battery? Thank you!
-
I forgot my password, how can I connect?
HP PAVILION DV7WINDOWS 7Help me please! Today, I tried to turn on my laptop and it came to the normal screen where I drag my finger, so I did it and he said I had to enter a password. So I entered my password which I know is correct and it came with
-
Aspire v5-571 ahteros wireless network card does not support the miracast.
The processor & video done. Is it possible to replace the network adapter with the other?
-
Instant Messaging online a second then the entire page is lost, im connected but I'm not getting any connection activity, very very frusrating and b4 are tell me 2 get broadband... its not avaiable in my area, I'm beside the ocean, guess it's the las