First problem with the flow

Hello

This is my first time using stream so maybe my questions are stupid... I have a knot two CARS in 10.2.0.4 with all patches necessary to use Oracle Streams (10.2.0.4.4 to be exact). This CAR has a few tables I need to reproduce a few columns. Aproach first mi was by using the following code to test an example of a table with three columns and remove from the lcr two of them.

create or replace function removecolumns (inAnyData in SYS. AnyData)
RETURN SYS. AnyData IS

RET pls_integer;
typelcr VARCHAR2 (61);
lcrOut SYS. LCR$ _ROW_RECORD;
SYS v_col3_old_anydata. AnyData;
SYS v_col3_new_anydata. AnyData;
v_col3_old_str varchar2 (512);
v_col3_new_str varchar2 (512);



BEGIN

typelcr: = inAnyData.getTypeName ();
IF typelcr = ' SYS. LCR$ _ROW_RECORD' THEN
RET: = inAnyData.GetObject (lcrOut);
IF lcrOut.get_object_owner () = "SCOTT" THEN
IF lcrOut.get_object_name () = "T6" THEN lcrout.
lcrout.delete_column('COL2','*');
lcrout.delete_column('COL3','*');
RETURN SYS. AnyData.ConvertObject (lcrOut);
END IF;
END IF;
end if;
RETURN inAnyData;
END;


This first replication has been for the entire schema (it's my first test...). The problem appears when I try an LMD. The error in the log of alerts from the node in which I am connected is:


LOGMINER: Begin mining logfile for session 1 thread 2 sequence 22, +DATA/probid/onlinelog/group_4.266.735925225
Thu Dec 2 17:51:21 2010
Errors in the /u01/app/oracle/product/10.2.0/db_1/admin/probid/bdump/probid1_c001_4950.trc file:
ORA-23607: invalid column "COL2".
ORA-06512: at "SYS." "LCR$ _ROW_RECORD ', line 325
ORA-06512: at "STRMADMIN. REMOVECOLUMNS", line 21
ORA-06512: at line 1
Thu Dec 2 17:51:24 2010
C001 CAPTURE stream with pid = 32, OS id = 4950 order
Thu Dec 2 17:51:24 2010
Errors in the /u01/app/oracle/product/10.2.0/db_1/admin/probid/bdump/probid1_c001_4950.trc file:
ORA-23607: invalid column 'COL3 '.
ORA-06512: at "SYS." "LCR$ _ROW_RECORD ', line 325
ORA-06512: at "STRMADMIN. REMOVECOLUMNS", line 21
ORA-06512: at line 1


Extrange most, is that the update works fine until I have create the COL3 column on source (and col2 already existed), it is then replicated to the target. Target database, I remove the COL3 column and try and insertion, it is the moment in which the error.

I have two questions,
-Suggest this error?
-How should I focus this replication with a set of tables and a few columns in the target? I used only one capture-replicate-apply process and I think that I dno not need more. If it is possible I wouldn like to use dbms_streams_adm, or apply DML handler to solve the problem...

TKS.

Published by: user12046001 on 02/Dec/2010 13:17

For a discussion on DML_HANDLER and DDL_HANDLER, you can start reading

http://www.smenu.org/tutorial_streams_15_dmlh.html

I stress the difference in between the MANAGER and the Manager of ERRORS

The following Oracle Documentation is a must to follow.

Regarding the tests on the presence of a column in a CSF, one can easily write this:

create or replace function removecolumns (inAnyData in SYS.AnyData)
RETURN SYS.AnyData IS

   oldColList         SYS.LCR$_ROW_LIST;
   lcr              SYS.LCR$_ROW_RECORD;
   OldCols        VARCHAR2(2000):='';

 .
 .
Begin
   IF typelcr = 'SYS.LCR$_ROW_RECORD' THEN
        ret := inAnyData.GetObject(lcr); 

       oldColList:= lcr.get_values('OLD');
       FOR i IN 1..oldColList.Count
       LOOP
          OldCols:= oldColList(i).column_name;
             if OldCols = 'COL3' then
                 lcr.delete_column('COL3','*')
            end if;
       END LOOP;

       .
       .
       .

end ;

Tags: Database

Similar Questions

  • Problems with the flow of the bank account

    Hello

    I subscriped CC 6 months ago. The flow of work of until last month. I received an email, that he had problems and I have to check my bank account of data.

    I do not understand what had happened, because nothing had changed since the last valid flow. The balance of my bank account was more than 'ok '.

    So what has past?

    Concerning

    Stefan

    Info support (via chat): there was a server problem to the cc-product flow assing in on behalf of adobe. Will be fixed soon.

  • New at first - problem with the timeline of aid.

    I can't drag anything in my time lime. He is blocked because I do not know why, it is mentioned: timeline (not of sequences). How to unlock this please?

    Try the NEW ELEMENT process described in the pages of tutorial links

    The list of the body message #3 http://forums.adobe.com/message/2276578 tutorial can help, with more help in the message #5

  • Problem with the bulleted text

    I am new to InDesign and the suite CS4 and am having a problem with the flow of text in a bulleted list in a trifold brochure.

    I work with a background image to EPS and in the bulleted text in a text box in one of the 'pages' text will be not as typed - jumps to the next line for some reason any. If I create a text box similar off the page I have no problem, and it lists as needed.

    The first image is as it should be, and the next image is how it makes its appearance. Any attempt to change seems futile.

    Any ideas please?

    ImgA.jpg

    ImgB.jpg

    Could there be a small invisible frame with applied at that time dress up there?

    Select all to see if it presents itself, or access the properties of frame and select this option to ignore the text wrapping to see if skin everywhere make these round lines.

    k

    I wonder if this background image a dressing applied with a setting, detect the edges so that the part of the image is kicking back your text.

  • I had many problems with the first cc 2014 so I reinstalled it and now it says that I can not open my project because it was recorded on a newer version. Is there something I can do?

    I had many problems with the first cc 2014 so I reinstalled it and now it says that I can not open my project because it was recorded on a newer version. Is there something I can do?

    Hi Gemma,

    It seems that after reinstalling, Premiere Pro no has not been updated to the latest version. Check your application creative cloud for updates. If she says Premiere Pro is up to date, try to update Premiere Pro through help > updates... option in Premiere Pro.

    Thank you

    Regalo

  • Problem with the first pro effects controls

    Hi, Merry Christmas;

    I have a problem with the keys with the opacity effect in the effect controls panel. the following pictures I think make my problem more clear to understand:

    view of raft opacity control.png

    The picture above shows that the opacity of the element of gopro correction control is 100% unless I drank too much champagne, or fully visible on the screen!

    I want to do a transition effect showing the raft, which appear in the window of the following image, which is an Indian granary above the Colorado River.

    My video of the attic I zoomed up to the window they give the impression that enter the attic when I arrive at the moment I start, with keyframes to have

    inside of the attic without an opacity of 100% to 0% at the end of the clip attic. Unless the new champagne is very bad for my health and vision, I would then see the river

    and the raft! Well I did not and it gives me nightmares! What is the problem? I add that having a zoom smooth and regular, I used the effect time remapping in the video for attic.

    The clip of attic is just above the clip from gopro correction and he overlapped by the duration of the selected dissolution of the shown in the image below (I could of course use a resolution here, but I want to save money on an additional effect)

    view of granary opacity controls.png

    Here is the view with the screen and the opacity of the element of attic at 25%. Normally, the clip of the raft must be visible then! the orange-red to the right of the screen is inside wall of the attic!


    view with screen at 25pct opacity.png

    Thanks for your suggestions... Claude

    Sorry guys, I found the reason. My fade is too short! I had put 2 "to fade and seems not sufficient due to the element of the upper layer time remapping effect! Sorry for the inconvenience.

    Claude

  • Hi you have a problem with the final installation with adobe elements first 13

    you have a pc windows 7 home premium 64-bit OS 6 GB of Ram

    an error message appears that says

    exit code 7

    the final installation stops at 2% and then I get this message

    I think I need to download the 64-bit software

    Help, please

    Exit code: 6, Exit Code: 7 Installation errors.

    http://helpx.Adobe.com/Creative-Suite/KB/errors-exit-code-6-exit.html

    The problems with the Setup logs. CS5, CS5.5, CS6-

    http://helpx.Adobe.com/Creative-Suite/KB/troubleshoot-install-logs-CS5-CS5.html

    For more information on how to review your Setup logs

  • Problem with the organizer for first elements ver 9.0

    For some reason, I can't enter the organizer for my Adobe Premiere Elements 9.0 worm.  I get the error says "the organizer has stopped working", windows can check online for a solution to the problem, or it tells me to close the program.  When I check the details of eyesight problems, I get a list.  Here are some quotes: problem event name: APPCRASH application name: PhotoshopOrganizerElements.exe

    Timestart application: 4ca3a3b5 which I do not know what everything means.  Should I reinstall Adobe elements again?   Anya

    I got elements of Prime Minister for about 6 months now and have not had a problem with the Organizer until last week.

    What I have to reinstall the whole program or I should just install the portion of the organizer of the program?

    Anya

    Thank you for responding.

  • Hello! Someone has some problem with the haptic on Macbook 12 "2016 function? It does not work on my Mackbook.

    I'm trying to figure if someone has my problem with the haptic on Macbook 12 "2016 function. The option is checked in the preferences system, but it does not work.

    Thank you

    Hello luigi10m,

    Thanks for posting on the Community Support from Apple. From your post, it looks like your haptic feedback does not work when you click using your trackpad and the setting is enabled. I know that this is a great feature and it is important to make it work. I'll be happy to help you.

    First of all, I would like to assure you that in system preferences > Trackpad > clicking silencer is not checked, that might help. In addition, it would be useful to reset the settings of the SCM. You can find instructions here: reset the management system (SCM) controller on your Mac - Apple Support

    I'll also include those for you here:

    1. Stop the Mac.
    2. Plug the MagSafe or USB - C adapter to a power source and to your Mac.
    3. Use the built-in keyboard, press shift-control-Option on the left side of the keyboard, then press the power button at the same time.
    4. All the keys to unlock, then press the power button to turn on your Mac

    Take care!

  • I had a few problems with the search engines and history

    My default search warning back to Yahoo after a reset on my computer. Close Firefox keep one to change but by restarting the computer, it takes.

    I can't open the sidebar history. The option "view the history of your" opens its tab fine (the drop-down menu that says 'Show History Sidebar', 'clear recent history... ("ect.). But, when you click on the "Show History Sidebar", nothing comes. Can I use the "Show history" option, but the sidebar does not open for some reason any.

    I just finished with a complete analysis of the Microsoft Safety Scanner and it said not that there is anything wrong. I have not reset the computer again to see if something has changed although after the factory reset (see the 2nd paragraph) it seems returned to Yahoo (search engine he kept going to happen).

    I open the history tab in the menu of the toolbar, and everything seems fine here. I also had him always use private off all first browsing mode. After activating the option clear history when Firefox closes, I ended up having to reset to factory settings (things he saves were saved isn't really a problem) that doesn't seem to fix the problem with the sidebar of history not to come.

  • Problems with the battery drain on iPhone 6

    Hello! This is my first time posting but I had some problems lately with my iPhone while keeping a charge.

    So, this has started to happen a month ago (exactly one year after I bought my iPhone) and my battery drains just exponentially and evacuates it sometimes when I'm not using it and the internet is not on. For example I'll fully my phone until I fall asleep and I'll put it on airplane mode before going to sleep. By the time I wake up, the battery will be down to 60%. I do not use it during this time, I don't get notifications because all data and the internet is disabled. I do not understand why it is empty.

    Anyway, I've taken to the Apple store Genius bar twice now and they have not been able to fix it. They have tried to restore it... I did that before I went to the Apple store, but they decided to do it again and the second time the guy just told me to turn off all the background app refresh or anything I did but it we continue to attract.

    When I was at the Apple store, they also checked my battery and everything was normal. I got 100 below the number of average cycles since the age of my phone and the battery was in the green at 94%.

    I am really frustrated after two trips to the store person has managed to fix my phone and I have the impression that they will try to coax me to pay for something that won't fix my phone. Also if there is a problem with Apple hardware and nothing of what I've done so why should I pay for it when it started to happen at the level of the one-year mark. It's so boring, but if anyone else has had a similar situation for advice or assistance would be greatly appreciated.

    a4annalisa wrote:

    When I was at the Apple store, they also checked my battery and everything was normal. I got 100 below the number of average cycles since the age of my phone and the battery was in the green at 94%.

    I am really frustrated after two trips to the store person has managed to fix my phone and I have the impression that they will try to coax me to pay for something that won't fix my phone. Also if there is a problem with Apple hardware and nothing of what I've done so why should I pay for it when it started to happen at the level of the one-year mark.

    Yes that is exactly what they are trying to avoid. As you explained that you have visited it there twice to attempt to solve this problem, they could have offered to replace your battery for $79 that with your current battery showing 94% of its original capacity, that would not have done much for you at all.

    Have you been having problems with the reception of your carrier recently, when all this started happening? Were you see 1 or 2 points of service when you used to see 3 or 4? When you have restored your iPhone, you restore it as a new iPhone or restore a backup top later? Just try to refine some possibilities for the continuous emission.

  • Problems with the Smart keyboard (iPad 9.7 Pro)

    I recently bought the iPad Pro 9.7 inches, gray space, Wifi, 128 GB. IOS 9.3.1 of the operating system.

    A few questions that I met in my four days of using the iPad with the Smart keyboard:

    NOTE: the following problems persist despite a technical support call which lasted, I did 2 hours and 30 minutes. I had to restore my iPad settings by connecting to iTunes via my PC to reinstall the last iOS.

    (i) switching applications: if I want to pass, say, from safari to adobe, it is quite easy to do with the keyboard. However, there is an intermittent problem when the apps. When I try to open Adobe when I use safari, the screen of the iPad shows apps that are open as soon as I press the command and tab key.

    What is supposed to happen - I choose to open Adobe, Adobe opens.

    What happens to the contrary - Adobe does not open. Another "X" application that is currently running, opens. It is quite frustrating, because there is no pattern to this. If I use once more the keyboard shortcut to open Adobe, another application 'Y' which is running, open it now.

    In this case, I pointed out, often when the App Store is running.

    (II) command key: sometimes, shortly after I use the shortcut keys to turn on screen shortcut area (pop-up shortcut) - apps, this is supposed to happen if and only if you press and hold down the command key.

    This often happens when I switch to Safari.

    (III) keyboard not responding: a problem that I met today for the first time. My keyboard will not just respond. I had to disconnect and reconnect the keyboard for this function.

    (IV) on which the space key: to wake up the iPad, pressing the SPACEBAR is enough. You don't have to press the home button. Yet, sometimes the space key does not respond and you must use the home button.

    v) Quick app - keyboard shortcut crash switch function causes: if I want to switch from app to app 'X' 'Y', but mistakenly switch to 'Z' app, I immediately want to spend to 'Y '. However, I can't do this in quick succession. I have to wait a second or two before I can switch from 'Y' 'Z' app, otherwise the automatic switching app crashes and you have to wait once more for a second or two before moving on.

    My diagnosis:

    (I) it could be a problem with the smart connector on my iPad. A hardware problem. But it does not explain why the automatic switching app appears and passes correctly but eventually open the wrong applications. Also, it does not explain why the problem is intermittent.

    (II) a software problem. However, that would make me a face 5 questions at once. Sort of. I was surprised that, apart from the question of #3 and #4, there was almost no mention of other issues.

    To restart the iPad or to disconnect and reconnect the keyboard. But I don't think that anyone would be willing to do this 4 - 5 times on a daily basis.

    Update:

    So I used my keyboard all day yesterday without opening the App Store. And guess what? It has been working perfectly. All the above problems I mentioned were not available yesterday. I'll use the App Store today and let it run in the background to see how does my iPad.

  • Problem with the Conexant HDAudio after installing x 86 Vista SP1

    I didn't want to start a new thread, but it seems that my problem is quite unique.

    When the first x 86 Vista install my speakers/headphones worked great. After Vista SP1 installed, my speakers/headphones went silent, but the pilot was still there and working properly. I uninstalled the driver and let Windows automatically install a different driver. (No Rollback was available) I could get the sound from my speakers. Speakers are the only thing that works if I plug into the headphone jack or not.

    When connected to the plug headphones I have test the headphones feature in playback devices and receive nothing in the helmet.

    Drivers of HP support only cut my speakers while doing my reading helmet camera disappear. Even with the updated driver.

    I like to use it as a TV computer and would like the sound of the TV via the headphone jack.

    I searched EVERYWHERE on the internet and found no resolution. Any help would be appreciated.

    HP pavilion dv6748us

    Conexant Audio

    Hardware ID:

    HDAUDIO\FUNC_01 & VEN_14F1 & DEV_5051 & SUBSYS_103C30CF & REV_1000

    HDAUDIO\FUNC_01 & VEN_14F1 & DEV_5051 & SUBSYS_103C30CF

    Have encountered problems with the card drivers its me on vista & 7 even when driver installation correct support downloaded installers.

    Only solution I found was to download a range of versions of different driver bought research google & trials, tedious but sometimes only way to get the result.

    If you uninstall the driver & restart it installs a generic driver audio Conexant or Windows!

    I also use my laptop with TV & hifi so work taken audio is a must (card input jack usb audio can be an option if)

    Also never rule out the fault of Council helmet as have a Pavilion & after that OS installed on a new drive HARD had no audio for headphones, pilot presumed linked, but after fiddling fuond twist got jack sound, turned Ribbon glued on card Board failed.

  • I have problems with the mail (El Capitan)

    I have problems with the mail

    See writing an effective communities of Apple support question.

    Without knowing what are these problems there is no way we can really help you.

    Try this:

    Start the computer in Safe Mode, and then restart normally. It will be slower than a normal startup.

    MacIntel: Reset of the controller (SMC) system management

    Reset the PRAM and NVRAM on your Mac.

    Repair the hard drive and permissions - El Capitan

    HD recovery start:

    Restart the computer and after the buzzer, press on and hold down the COMMAND and R until the menu screen appears.

    Repair

    When the recovery menu appears, select disk utility and press the continue button. Disk utility charges and select Macintosh HD entry indented from the list on the left.  Click the first aid tab in the toolbar... If disk utility reports any errors that have been corrected, then re-run first aid until no errors are reported. Wait until the operation is complete, then quit disk utility and return to the main menu. Select restart from the Apple menu.

    Now, download and reinstall OS X El Capitan 10.11.3 Combo Update.

  • Problems with the installation of recovery - Satellite A300D - BSOD

    Hello

    The laptop in question (TOSHIBA Satellite A300D) recently stopped starting (BSoD).

    So, I tried using the recovery disk, but there is no help. What happens is:
    -After about 10 minutes of waiting, the first language menu load, so I click on "next".
    - Then I again click Next and accept the message that my HARD drive will be erased
    - Then I see a cmd prompt that says "try to remove all the letters of partitions possible...". »
    -There is also a minimized command prompt that says something like "RAID failed to initialize."
    -And then nothing happens.

    Is this a hardware problem? I also tried a full installation (instead of recovery), which, even once, is simply not. None of the errors is - it just freezes.

    Any help appreciated.
    Thank you.

    It is not easy to tell what can be the problem, but if you were not able to install the OS by using two different facilities CDs/DVDs, so there must be a problem with the HARD drive.

    The warranty is still valid?
    I mean you can contact the nearest Toshiba authorized service provider and explain the situation. They can swap the HDD and again test the recovery procedure.
    Can you get somewhere 2,5 SATA HDD for testing?

Maybe you are looking for

  • icloud for security account lockout!

    Hello My icloud account - * is the safety lock. For secondary e-mail is fixed again * due to can't get a security code.  I don't remember that the secret of the answers to the questions I gave. What can be done to prove that I'm and unlock my profile

  • VI sends the command to the physical instrument twice instead of once

    Hello! With the help of the user Dennis Knudson and support NOR engineer Denis Stavila (which I thank a lot) I managed to communicate with this high voltage source (vi.jpg). The problem is that the VI sends duplicate orders (see attached image "dublu

  • Hitachi Lifestudio external hard drive not recognized on Windows Vitsa... why?

    I have a hitachi lifestudio external hard drive and it works great 50% of the time... the other 50%, I fight because it not being recognized on my computer or laptop (both vista).  I plugged it to my computer now and it will only recognize the player

  • I lost Sound Recorder after Windows Update, I need to download again

    Original title: I have a new Acer Windows PC 7.__I rfunning have lost Sound Recorder and were informed by PC World, I need to download again. I was using Sound Recorder, when I had to abandon emergency program. When I closed the PC it started install

  • How to install AutoCad Lite 98 on a Windows 7 computer?

    I used AutoCad LT98 and AutoCad LT2000 on Windows 98, 2000, ME and XP computers since 1998 When I try to install it on this computer Windows 7, I get a message that it is not compatible. How to install AutoCad Lite 98 on a Windows 7 computer? * origi