Implementation of application Date of loading and County in ODI

Hi all

I have two different questions.

1. how to implement load_date for SCD Type 2 Dimension tables and fact tables? For the SCD Type 2 Tables I would say 'Add new record' for the date of loading? In the target store, it will be Current_Time_Stamp, is this correct?

2. I have the following query, I need to add to a column of target data store.
Select SUM (CASE
WHEN CAST (a.LAST_IDP_UPDATE AS DATE) BETWEEN dateadd (month,-6, CURRENT_TIMESTAMP) and DATEADD(day,-1,current_timestamp), 1
0 OTHERWISE
END) AS six_months_update of transactions;

This will be assigned to the six_months_update column in the target. Transactions is the main draw in this mapping.

When I use it in the map and check it, it says error. I'm not using the key word "Select" or "AS six_months_update of transactions", in other words the column mapping looks like this
"SUM (CASE WHEN CAST (a.LAST_IDP_UPDATE AS DATE) BETWEEN dateadd (month,-6, CURRENT_TIMESTAMP) and DATEADD(day,-1,current_timestamp) THEN 1 ELSE 0 END).

How do I implement this? Thanks for your time and your help.

Hello

ssk1974 wrote:
1. how to implement load_date for SCD Type 2 Dimension tables and fact tables? For the SCD Type 2 Tables I would say 'Add new record' for the date of loading? In the target store, it will be Current_Time_Stamp, is this correct?

In the target data store, you define the Type of behavior of CPC to the current timestamp.

> >
2. I have the following query, I need to add to a column of target data store.
Select SUM (CASE
WHEN CAST (a.LAST_IDP_UPDATE AS DATE) BETWEEN dateadd (month,-6, CURRENT_TIMESTAMP) and DATEADD(day,-1,current_timestamp), 1
0 OTHERWISE
END) AS six_months_update of transactions;

This will be assigned to the six_months_update column in the target. Transactions is the main draw in this mapping.

When I use it in the map and check it, it says error. I'm not using the key word "Select" or "AS six_months_update of transactions", in other words the column mapping looks like this
"SUM (CASE WHEN CAST (a.LAST_IDP_UPDATE AS DATE) BETWEEN dateadd (month,-6, CURRENT_TIMESTAMP) and DATEADD(day,-1,current_timestamp) THEN 1 ELSE 0 END).
Is the alias "a" on your column corresponds to the alias of the source table (transactions) in the Interface? What error do you get when it does not work?

Kind regards
Michael Rainey

Tags: Business Intelligence

Similar Questions

  • How to extract data from SAP and COBOL using ODI

    Hi people,

    Can you please let me know the procedures in ODI to extract data from SAP and COBOL?

    Thank you all for the help.

    Hello

    You can download the Patch 8571830 to Oracle metalink.

    It has a new technology 'SAP ABAP' and KMs to extract and load data-
    RKM SAP ERP and SAP to Oracle ERP LKM.

    Thank you

  • Shortcuts repeated unwanted "Application Data" in the data Username\Appdata\Local\Application

    1. when I click on Appdata\Local I get a list of folders, including Application data

    2. when I click on this folder, I get a single file listed: a shortcut to the Application data.

    3. when I click on this shortcut, I get complete records (data of Application Inc.) list that I saw under Local as in 1)

    4. by clicking on the folder Application Data can give me a little cut again and so on it goes!

    In the top of my Explorer I "Mike/Appdata/Local/Application Data/Application/Application Data / Application Data data/Application Data / etc etc and it just keeps going - how long? I'm not sure.

    How can I fix it, because it just stupid! -I don't know how it got like that, and despite the purchase Win7 Pro (not cheap) and the use of 64 worm I don't get no MS support user for a product that is not perfect... unless I pay more!.

    Hello

    Step 1:

    Check if the same phenomenon occurs in another user account. To create a new user account, follow the link below.

    http://Windows.Microsoft.com/en-us/Windows7/create-a-user-account

    Step 2:

    If the new user account works fine then the old account has been corrupted, you can follow the link given below to fix the corrupted user profile.

    Difficulty of a corrupted user profile

    http://Windows.Microsoft.com/en-us/Windows7/fix-a-corrupted-user-profile

    Hope this information is useful.

    Amrita M

    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Why are there several layers of folders 'Application Data'?

    Why does Windows 7 Professional x 64 creates structures of files like this:

    C:\Users\Settings\Application Data\Application Data\Application Data\Application Data\...

    and so on for several levels? For example, one of the user accounts on my computer has 6 six layers of Application Data files. And each Application Data folder is identical under folders, including a subfolder of Application data that leads to the next level of data Application, etc. etc.

    Is it normal for Windows 7, and if so, what does that mean? If not, is this a sign of a problem?

    Thank you for your understanding.

    I finally found my answer.

    Application data 'folder' keeps reproducing itself as a subfolder when you change the permissions for the Application data folder, usually giving you full permissions to the c:\users\ folder. It's exactly what I was doing.

    The Application Data folder is a crossroads, that points to the parent folder.

    C:\Users\\AppData\Local\Application Data\

    points to

    C:\Users\\AppData\Local\

    Spawning occurs when permissions for Application data 'folder' (junction) are changed. Application data must have the following permissions:

    Deny - all - list folder / read data - - this folder only

    Cela (wisely) to avoid recursion when a non Windows 7 aware application scans the Application data 'folder', and this is also the reason for the "Access denied" message you get on some folder in c:\users\. This leads some people, like me, to take complete control of the folder. I should know better.

  • error starting "C:\Document and Setting\user_name\Application Data\wlaplg.dll the specified module cannot be found"

    Original title: error loading of C:\Document and Setting\user_name\Application Data\wlaplg.dll the specified module could not be found

    For two or three weeks there whenever I boot my netbook and connect to my user account window I found this error message RUNDLL pop-up window:

    Error loading of C:\Document and Setting\myusername\Application Data\wlaplg.dll

    The specified module could not be found

    What is the problem? and how to solve?

    Hello

    Click on Start menu and click Run.
    Inside run, type MSCONFIG and press Ok.
    Now, you will get a System Configuration window.
    Inside you go to the tab called start-up
    In the Startup tab, you can see a list of files from loading when you start the computer.

    There, you can see the above file Rundll32, "C:\Document and Setting\user_name\Application Data\wlaplg.dll ' like this.

    A chech this one and press apply and press Ok.
    Now you will be asked to restart the computer.

    The problem will be solved after restarting...

  • What is C:/documents and settings/temp/application data/microsoft/fsx/fsx.cfg txt

    What makes c; / documents and settings/temp/application/data medium txt microsoft/fsx/fsx.cfg

    Hello

    1. what exactly is the problem that you are facing on the computer?

    2. have you installed Flight Simulator X on the computer?

    See the article and check if that helps:

    How to change FSX. CFG to set the maximum amount of autogen objects in a field cell

    http://support.Microsoft.com/kb/555739

    Please provide more information to help you best.

  • OK to delete the files that are: C:/Documents and Settings/rjhirsch (me) / Local Settings/Application Data / identities / {31391EF3-B3AC-4F12-94D8-DC2DA45E9526} / Microsoft/Outlook Express

    Good afternoon:

    Have recently been spotted by Windows XP Pro disk space on my C drive is low.  I reinstalled all the obvious large files (e.g., photos) on an external hard drive.  I have drilled down into individual files on the C drive to ensure other potential consumers of space. Found the folder that can be the source.

    Last year, I converted from Outlook Express (OE) for Outlook.  At this point, I rode on my e-mail and the e-mail folders in Outlook.

    I found a file in the following location that seems to contain the OE files.  I would like to know if the removal of these files of OE (~8.5 GB) impact my Outlook folder/mail e-mail before I remove them.

    The location is: C:/Documents and Settings/rjhirsch (me) / Local Settings/Application Data / identities / {31391EF3-B3AC-4F12-94D8-DC2DA45E9526} / Microsoft/Outlook Express.

    The folder contains about 8.5 GB of e-mail to OE folders more of them are dated July/August 2010.

    It is safe to assume that when I converted originally these OE e-mail/folders over to Outlook - that Outlook has caught up - and it's OK to delete these files?

    Thanks for your help.

    Cheers.

    Rick

    If you do not use OE, then Yes. It will not affect Outlook at all. Open the database messages OE, the folder that you have described, and remove all the dbx files. If you need OE once again, when you open OE, it creates new files dbx for all default folders such as Inbox, sent, etc. items.

  • Defrag stops due to: C:\Documents and Settings\All Users\Application Data\Microsoft\Microsoft Antimalware\Quarantine\ResourceData\C6\C6495E5D356BFB2E07C132689D388BFCB294AADE

    Defrag stops due to: C:\Documents and Settings\All Users\Application Data\Microsoft\Microsoft Antimalware\Quarantine\ResourceData\C6\C6495E5D356BFB2E07C132689D388BFCB294AADE

    Windows XP Pro SP3 said defragmentation is complete for: (c :))

    Some files on this volume could not be defragmented.
    Please see the report for a list of these files defragmentation.

    C:\Documents and Settings\All Users\Application Data\Microsoft\Microsoft Antimalware\Quarantine\ResourceData\C6\C6495E5D356BFB2E07C132689D388BFCB294AADE

    I can't finish my drive hard defraging because of this file.

    How can I solve this problem?

    See...

    http://www.ehow.com/how_6067077_remove-antimalware-doctor-virus.html

    Then analyze with...

    http://www.Malwarebytes.org/

    --
    Gina Whipp
    2010 Microsoft MVP (access)

    Please post all responses on the forum where everyone can enjoy.

  • I get a message saying "you have exceeded your profile storage space. Yet all the files listed th are actually my docs and application data. How to delete my profile, but not from my pc? increase the max profile size

    I get a message saying "you have exceeded your profile storage space. Yet all the files listed th are actually my docs and application data. How to delete my profile, but not from my pc? increase the max profile size

    1. the first thing to do is to make sure that the computer is completely virus/malware-free. Googling around this error produced quite a few links where the posters were or had been infected with Spyware Protect 2009 rogue.

    http://www.elephantboycomputers.com/page2.html#Removing_Malware

    Once the scanning is complete (do not skip the preparatory stages no more), if the problem persists:

    2. double-click on my computer, right-click the icon for your hard drive, click left to get its properties. If you see options to set Quota management make sure that they are disabled.

    3. in the case - BUT ONLY AFTER YOU ARE sure THAT THE MACHINE IS MALWARE/VIRUS-FREE - copy the lines between asterisks (not including the asterisks) below and paste it into Notepad. Save as undopolicy.reg somewhere, you will find. And then double-click the .reg file, that you have just made to melt in your registry. I hope that this will take care of the issue.

    *****
    Windows Registry Editor Version 5.00

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System]
    'EnableProfileQuota ' = -.
    'ProfileQuotaMessage ' = -.
    "MaxProfileSize" = -.
    'IncludeRegInProQuota ' = -.
    'WarnUser ' = -.
    'WarnUserTimeout ' = -.
    *****

    MS - MVP - Elephant Boy computers - don't panic!

  • Implement the application has stopped working. A problem caused the blocking of the program works correctly. Windows will close the program and notify you if a solution is available. »

    Try to install a CD "the Start-Stop software installation", but whenever I try, I get the following. Implement the application has stopped working. A problem caused the blocking of the program works correctly. Windows will close t he program and notify you if a solution is available. I sent the company and the school several times and have not yet received a response, maybe someone out there could help. Thank you!

    Ok.

    See if they have a patch for it.

    If this isn't the case, you may need to shopping for a similar program.

    Or repost in the Forum of programs on the link I gave you; they can learn more on this subject here.

    See you soon. Mick Murphy - Microsoft partner

  • Ignore the ASO - zero data loads and missing values

    Hello

    There is an option that ignores the zero values & the missing values in the dialog box when loading data in cube ASO interactively via EAS.

    Y at - it an option to specify the same in the MAXL Import data command? I couldn't find a technical reference.

    I have 12 months in the columns in the data flow. At least 1/4 of my data is zeros. Ignoring zeros keeps the size of the cube small and faster.

    We are on 11.1.2.2.

    Appreciate your thoughts.

    Thank you

    Ethan.

    The thing is that it's hidden in the command Alter Database (Aggregate Storage) , when you create the data loading buffer.  If you are not sure what a buffer for loading data, see loading data using pads.

  • I have a new Apple and made a Migration of Applications. data etc old Apple Apple again. Creative cloud gives error re damaged and to download and install again, however, after doing this installation starts but keeps giving the same error re C

    I have a new Apple and made a Migration of Applications. data etc old Apple Apple again. Creative cloud gives error re damaged and to download and install again, however, after doing this installation starts but keeps giving the same error re file creative cloud. How to solve?

    Uninstall, use the CS cleaning tool, and then reinstall.

    Adobe Creative Suite Cleaner Tool allows to solve the problems of installation for CS3 thru CS6 and creative cloud

    http://www.Adobe.com/support/contact/cscleanertool.html

  • SNMP, generic SQL data loader, and built-in Port adapters

    Anyone have any success with using the SNMP (default MIB) and/or adapters third generic data SQL Loader?

    I'm under vCenter operations v5.7 VAPP and test the custom UI. I have installed the SNMP card, but when adding my own MIB they do not appear in the drop-down list when you try to add a new resource. I followed the docs to update the card with your own MIB files and everything is a - ok until I actually try to add a resource.

    I saw this KB:

    http://KB.VMware.com/selfservice/microsites/search.do?language=en_US & cmd = displayKC & externalId = 2034241

    But I loadded a few different mibs, poking around them in a mib browser, and each of them meet the requirements of that article.

    Regarding the SQL adapter. I add my instance of the adapter and the credentials and it tests fine, but when you add the resource to the environment overview screen, the 'Resource Type' dropdown is empty/non-editable. When I click ok, it of course gives me an error:

    The field 'type of Resrouce' is a required field. Please enter a value.

    Anyone who cross?

    Finally, there is documentation for the built-in Port Adapter? There is a very small excerpt in the card Guide:

    Reads a text that you set to determine the hosts and ports to monitor.

    But... where did you put this text?

    Two problems solved.

    First of all, the SNMP MIB has not picked up due to permissions on the file that I was transferred to the analytical VM. Duh. Evolution of the property of admin: admin corrects this problem. VMWare has taken this error.

    Also found a solution to the question SQL by clicking... the random button it appears that does not refresh the kind of resources until you run an auto-discovery. After crossing the Autodiscover queries, the drop-down list the type of resource is now available from the manual discovery. However, to make changes to the query/discovery files requires another automatic discovery for the changes to be picked up.

  • I changed the name of my application under "Demand accounts" and all my analytical data disappeared. How can I fix it?

    I changed the name of my application under "Demand accounts" and all my analytical data disappeared. How can I fix it?

    When you change the name you actually have dissociated the report of your application. Our tech support should be able to resolve this issue, if you give them a call.

  • After loading and Calc'ing get an overview of the database in data error

    I do my developer on my laptop and the transfer of the object on the server

    I loading and calc would be about 4 years of data on Bith my laptop and the server

    When I try to get an overview of the data

    I get this error

    The names of members in doubles with overview of the data are not supported on my laptop

    is the because I clicked on allow Dup Member?

    because I don't have all the DUP in my plan

    and on the server, this is the error I get is

    Cannot connect to the olap service
    cannot connect to the Essbase Server
    Essbase error 1051293
    Login Failied

    but I am connected and connected to the server

    Please notify

    Published by: level following December 16, 2011 13:26

    Published by: level following December 16, 2011 13:31

    I'm not in front of a system to check, but have you looked at the duplicate property on your new app? I guess that the setting is saved with the .otl, but overall when copy you it.

    In this case, Yes, rebuild the hierarchies is probably the way to go.

Maybe you are looking for