Delete rows that have been dropped in a CDC flow

Post Author: sgsampey
CA Forum: Data Integration
A newbie question:
I have a source table called Events with (significant) fields that look like:
EventIDEventNameBeginDateEndDateDaysOfWeekModifyDate
These data ranges can be quite long, and there's an exception table if the Event isn't being held on a given day
ExceptionIDEventIDExceptionDate
I need to flatten this data into a target Event_Instance table of individual days:
EventInstIDMasterEventIDEventNameDateDayOfWeek
I'm going to populate the target by combining Event source (filtered by modify date to only grab updates and additions) with a SQL table that creates a range of days, join that with the exception table, and filter based on no match in the exception table. That part's easy.
The problem I'm having is what do do when an Exception is removed or updated (Events are never removed - just canceled). There's no ModifyDate to look at. I know I need to create a buffer table to track changes, but once I identify execptions (in a Query Transform) that have been added since the last ETL, I don't see how to remove those Event_Instances. The two only solutions I can come up with is to wipe the entire Event_Instance table and rebuild with every ETL, or to add an 'action' field to Event_Instance, updateit to 'D' for those rows that need to be removed and then execute a SQL command to delete those rows once done.. I know there must be a better, incremental way to do this. TIA!

Your Mobileme galleries should be listed in the library pane on the left. How about creating a new album in the main library and dragging the images from a gallery to the album. Then delete the gallery and recreate it from the album.

Similar Messages

  • How can i delete photos that have been synced from my computer to my i-pad?

    I want to delete photos that have been copied from my computer to my i-pad,i can delete albums but not phots?

    If photos were synced from your computer then they can't be deleted directly on the iPad, you will need to remove/de-select them from where you synced it from on your computer and re-sync.
    http://support.apple.com/kb/HT4236

  • How do i retrieve deleted items that have been deleted by mistake

    how do i retrieve deleted items that have been deleted by mistake ?

    If they’re not in a backup, try using a data recovery product such as the ones listed here. Don't write anything else to the drive until the files are recovered or you choose not to recover them.
    (116899)

  • I want to ask about deleting files that have been deleted in the trash but I want to remove it permanently from the trash can not

    I want to ask about deleting files that have been deleted in the trash but I want to remove it permanently from the trash can not, indeed I delete files that are partly contained in the application file. I want to delete files that are also quite a lot by 5 Gyga, I've tried to remove it from the normal trash remains are not removed. How should I do?

    +

  • Deleteing files that have been downloaded by Software Update Service

    I have an XServe that is set to download the latest updates from Apple, and the the workstations pull the updates from the machine. I noticed the XServe was running out of space. I had a look and found that over 11GB of files are sitting in the following destination:
    Macintosh HD/usr/share/swupd/html
    These look like all the software updates that have been downloaded.
    How do I delete these files? If I had to just delete the files in this destination would it affect anything? I don't see anywhere in the software update service to delete the files it has downloaded.
    Also by looking at the machine, the System Drive is 80GB, and the Software updates are 11GB's. And I only have 2GB's left on the machine. I have made all the invisible files visible, but still cannot see where all the other data is sitting.
    I have used the WhatSize app and still cannot find the remainder files taking up all the space?
    Thanks in advance for any help.

    What happens if you use a "offline browser" like HTTrack and
    open these
    files in DW?
    Kim
    DaveIdaho skrev:
    > I have been totally perplexed by a problem I'm having
    and think the answer may
    > lie with Dreamweaver.
    >
    > I recently lost some files on a hard drive crash that
    were important pages on
    > my site. I want to update them so thought I could
    download them from the site
    > for the work. After downloading them to my local site,
    Dreamweaver refuses to
    > open them, giving me several error messages before
    closing.
    >
    > Messages I get when attempting to edit my downloaded
    file:
    >
    > 1) Corrupt JPG data: premature end of data segment;
    >
    > when I close this error message, I get:
    >
    > 2)Invalid JPG file structure: two SOI markers;
    >
    > after closing this one I get:
    >
    > 3) The instruction at "0x77f5b2ab" referenced memory at
    "0x00000028". The
    > memory could not be "read". Click on OK to terminate the
    program.
    >
    > Front Page does open up the same files with no problem,
    however I prefer to
    > work with Dreamweaver and not FP.
    > The files are .asp, by the way.
    >
    > Any clues or help will be very much appreciated.
    >

  • Tally up a column only on rows that have been checked

    Hi I'm driving myself to drink with this, and I'm sure it should be pretty easy.
    I have a subtotal column (Column D) which I calculate the total of via (SUM(D2:D20), however I have a column G, that is a "Paid" column, that has a checkbox, now what I want to do is only tally up in column D the amounts that have been ticked/checked in column G.
    I thought SUMIF would be my solution but it's not working.
    I've tried the following among other things and nothing works.
    =SUMIF(D2:D20,TRUE)
    =SUMIF(G2:G20,TRUE,D2:D20,)
    Any help would be most appreciated.

    =SUMIF(G2:G20,TRUE,D2:D20)
    works perfectly.
    In your message there was an extraneous comma but I don't know if it was available in your sheet or if it was just a typo.
    If you are running Numbers in English in a country whose decimal separator is comma, you will have to edit the formula like that:
    =SUMIF(G2:G20;TRUE;D2:D20) (semi-colon replacing comma).
    Yvan KOENIG (from FRANCE samedi 19 juillet 2008 20:47:27)

  • How do I delete videos that have been imported from iPhoto?

    Somehow I imported to iMovie 11 all the videos I have in iPhoto and they've been broken down into clips (thumbnails?). I don't want those videos/clips in iMovie or on my hard drive at all! (I just want to keep the originals in iPhoto.) How can I actually delete them rather than hiding/moving them? I've tried highlighting them and using Delete or Command/Delete, but that doesn't seem to work.

    iMovie does not have a physical copy of your clips. They reside in the iPhoto library and iMovie references them there. You have to delete them in iPhoto. But be careful, that is your only copy.
    You can prove this to yourself by right-clicking on one of your iPhoto event clips in iMovie and selecting "REVEAL IN FINDER". It should take you to a folder within iPhoto.

  • How to delete resources that have been reference or used somewhere else ?

    Is there a way to delete resources even if they have been referenced in some other resource or used in PPMs or Orders etc ?
    I'll look forward to replies.
    Regards,
    Ranjini.

    Thanks Sai but I cannot delete resources using /sapapo/res01 or /sapapo/scc07 unless I remove the resources from all the planning versions which in turn cannot be removed unless we remove all their dependencies which can be a really time consuming process.
    Thats why I wanted to know if there is some report to delete the resources inspite of these dependencies.

  • Displaying the rows that have been updated....

    SQL> select * from spr;
    EMP_NAME EMP_no age sex
    hry 45353 42 M
    spt 43436 34 M
    pen 34533 21 M
    aen 65475 33 M
    SQL> select * from sprfac;
    EMP_NAME EMP_no age sex Appraisal Extra_Time
    hry 45353 N N
    spt 43436 N N
    pen 34533 N N
    aen 65475 N N
    I have a problem regarding updating the sprfac table.
    What i need is to satisfy the following conditions and update the second table with values in the second table.
    I need to upadate the second table when:
    1. The emp_name and emp_no of first table matches with the second table and
    2. The Appraisal field and extra_time field should be 'N' in the second table and
    3. only if the values of age and sex are NULL.
    Let me explain in detail.
    My original table is sprfac. spr is Temporary Table.
    I have some data in flat files and i have loaded all the data into a temporary table using sqlloader. Now i need to update the second table.
    Originally the age and sex fields in the sprfac table are NULL. Once i update the age and sex fields in the sprfac table again if i do update it should not update the rows which have data in age and sex columns.
    Suggest me how to update multiple columns simultaneously or send me the code for the update statement if possible.
    NOTE: I have changed the tablenames and column names since i cannot keep the original tables here.
    And i got the following reply........
    update sprfac a
    set (a.age, a.sex) = (select b.age, b.sex from spr b
    where a.emp_name = b.emp_name
    and a.emp_no = b.emp_no
    and appraisal = 'N'
    and extra_time = 'N')
    where a.age is null
    and a.sex is null;
    Everything is working fine.
    Is there any way to send the name and age fields which have been updated of sprfac to a file.
    should i use cursors....
    Send me the code if possible....
    Thanks..........

    You can try similar to this, if you have oracle 9i. In 8i merge does not work. In that case u have cursor.
    merge into EMP e1
    using akg_emp e2
    on ( e2.empno = e1.empno AND e1.sal > 1000 AND <whatever condition on e1>)
    when matched then
    update set e1.sal = 100
    when not matched then
    insert ( empno, ename, job, mgr, hiredate, sal, comm, deptno )
    values ( e2.empno, e2.ename, e2.job, e2.mgr, e2.hiredate, e2.sal, e2.comm,
    e2.deptno )

  • I need to delete programs that have been duplicated after the software update has been done.  The computer won't delete them.  Anyone else having this problem and if so, how do I delete the old program after it's been updated.

    After upgrading software, it appears the old software isn't deleted.  My computer hard drive is almost full so I need to delete a ton off of my computer.  When checking the software that can be deleted I noticed I can the old software hasn't been deleted.  How can a person do this?  Any suggestions on how to quickly dump some programs.

    Sig is right — reclaiming space on your hard drive should be a matter of looking for the largest files you can delete, not starting with applications. I have 200+ applications on my hard drive, and altogether they occupy less than 14GB of space. Just a handful of them — Acrobat Pro, iPhoto, Aperture, Illustrator, Photoshop, InDesign and Adobe Media encoder — are larger than 500MB apiece, and if I disposed of all of those, I'd only get 5.6GB back. My Utilties folder contains 78 apps, and it only amounts to 1.1 GB.
    If you have any feature-length movies on your hard drive, those should be the first things you trash or move to an external drive.

  • IPad 2 with iOs 5 iCal automatically deletes events that have been made afterwards?

    When I try to make an event afterwards (for example today tried to make an event for 7th of November), iCal first makes it and then after few seconds deletes it instantly. Is there a way to make an event afterwards?

    You have messed up your iPad by installing an unofficial iOS release only available to developers.
    If you are not a developer, then you should not have installed that iOS on your iPad in the first place.
    Ask the people who sold you that unofficial iOS to help you.
    This forum is definitely the wrong place to find help for your particular problem!

  • How do I delete files that have been downloaded?

    there are files in my download I would like to remove as they seem to be causing a problem with my computer performance.

    You can right click a file in the Firefox/Tools > Downloads window and choose "Open Containing Folder" to go to that folder and delete the file. If that entry is grayed then the file is already deleted.

  • Deleting files that have been extracted from a zip archive

    Can we PLEASE get an update that will allow us to delete the files that were extracted from a zip archive. This is ridiculous. A quick google brings back loads of threads all over the place about people who want to be able to delete files but can't because of some daft bug. 
    How are RIM not aware of this? Do they not care?

    There is a bug in the .zip decompressor used by the native file manager. It incorrectly applies file permissions sometimes stored in the archive to the extracted files, preventing them from being deleted by us mere mortals. Once extracted, there's nothing you can do.
    <plug>
      You could, of course, use Files & Folders to extract your zip files, which doesn't suffer from this problem.
    </plug>
    Files & Folders, the unified file & cloud manager for PlayBook and BB10 with SkyDrive, SugarSync, Box, Dropbox, Google Drive, Google Docs. Free 3-day trial! - Jon Webb - Innovatology - Utrecht, Netherlands

  • How do you delete pictures that have been synced on from another computer?

    before our home computer crashed i synced some pictures on my phone, now they are using up space and i dont want them on there anymore but i can't figure out how to delete them. iv'e went through my itunes and i can't find anything. i need help!!

    they stayed there when i synced to my new computer. i have thought about doing a factory reset just to get rid of everything, i dont have much on my phone

  • How do I delete photos that have been imported from my computor

    I have tried everything but nothing seems to work in trying to clear my iphone of photos imported from my computor in error. Any help would be grateful. I am not very good with computors etc.!!!

    the same way you got them there.  Use itunes and uncheck the albums/photos in itunes and sync again

Maybe you are looking for

  • Trying to install iTunes 12.1 for Windows 8.1 (64-bit) and get Itunes error HRESULT: 0x800736B3

    Hello, I am Trying to install iTunes 12.1 for Windows 8.1 (64-bit) and I get an Itunes window with an error that says: An error occurred during the installation of assembly 'Microsoft.VC80.CRT,type="win32",version'8.0.50727.6195",publicKeyToken="1fc8

  • DIsplayport crushing blacks w/ panasonic plasma tv

    I'm trying to properly calibrate a panasonic plasma for use with my mbp's displayport output. No matter how many times I run the apple calibration tool and turn up the brightness on the tv, the black levels are absolutely crushed (no detail in blacks

  • Trex is not searching texts in any document types other then PDF.

    Dear All We are implementing DMS in ECC 6.0.We have configured Trex 7.0 text search in ABAP stack. Trex not searching text in .dwg (Autocad) *.doc (Word files) files in SAP System through CV04N T-code it is not searching. It is searching only pdf fil

  • Launch an attachment from SWF embedded in PDF

    Goal: To launch a PDF attachment from the embedded SWF (in PDF). Scenario: I have created a PDF with a SWF embedded in it and I have few attachments also in the same PDF. Now based on some user input I want to open one of the attachment in the PDF. Q

  • Collaboration Detail Navigation

    Hello All, what is Collaboration Detail navigation? it is coming under Collaboration -> Rooms -> Room Directory -> Public Rooms(Tab) -> Clicking the Public Room, i am getting Collaboration Detail Navigation instead of Detail Navigation. If i need to