Goldengate expects a column that is not in the unique constraint

I do not know golden gate. I am working with a golden gate engineer who doesn't really know oracle. I am the DBA supporting this. This is the issue we are having. Please bare with me if I have trouble explaining it.
I am pulling from oracle and loading to teradata. I confirmed that the unique index is correct in teradata (don't have access. I asked).
Oracle 10.2.0.5
golden gate: 11.1.1.0.29
error: the name of the schema listed in the error is from teradata. So TERADATA_SCHEMA. represents that.
Key column my_id is missing from update on table TERADATA_SCHEMA.MYTABLE
Missing 1 key columns in update for table TERADATA_SCHEMA.MYTABLEbelow is a create table statement. I have altered table and column names. but the structure is the same.
it does NOT have a primary key. It has a unique key. I am not allowed to add a primary key
UNIQUE INDEX: UNIQUE_ID
When we test an updates, golden gate is expecting MY_ID to be sent as well and golden gate abends
The DDL below includes the partitioning/subpartition, unique index, and supplemental logging command that golden gate runs.
I have also run the following 2 commands to turn on supplemental logging:
ALTER DATABASE ADD SUPPLEMENTAL LOG DATA;
ALTER SYSTEM SWITCH LOGFILE;
CREATE
  TABLE MYTABLE
    "UNIQUE_ID"       NUMBER(10,0) NOT NULL ENABLE,
    "MY_ID"       NUMBER(10,0),
    "MYNUMBER" NUMBER(8,0),
    "TOTALNUMBER"  NUMBER(8,0),
    "USED" NUMBER(8,0),
    "LOTSUSED  NUMBER(8,0),
    "LAST_UPDATE_USER"  VARCHAR2(30 BYTE),
    "LAST_UPDATE_DATE" DATE,
    "MYDATESTAMP" DATE,
    "MYTYPE" NUMBER(2,0) NOT NULL ENABLE,
    "MYTHING"    CHAR(1 BYTE) NOT NULL ENABLE
  PARTITION BY RANGE
    "MYTYPE"
  SUBPARTITION BY LIST
    "MYTHING"
  SUBPARTITION TEMPLATE
    SUBPARTITION "MYTHING_X" VALUES
      'X'
    SUBPARTITION "MYTHING_Z" VALUES
      'Z'
    PARTITION "MYTHING1" VALUES LESS THAN (2) ,
    PARTITION "MYTHING2" VALUES LESS THAN (3) ,
    PARTITION "MYTHING3" VALUES LESS THAN (4) ,
    PARTITION "MYTHING4" VALUES LESS THAN (5) ,
    PARTITION "MYTHING5" VALUES LESS THAN (6) ,
    PARTITION "MYTHING6" VALUES LESS THAN (7) ,
    PARTITION "MYTHING7" VALUES LESS THAN (8) ,
    PARTITION "MYTHING8" VALUES LESS THAN (9) ,
    PARTITION "MYTHING_OTHER" VALUES LESS THAN (MAXVALUE)
ALTER TABLE MYTABLE  ADD SUPPLEMENTAL LOG GROUP
"MYGROUP_555"
  "UNIQUE_ID"
ALWAYS;
CREATE UNIQUE INDEX MY_IND ON MYTABLE  (
    "UNIQUE_ID"
  ;Edited by: Guess2 on Nov 3, 2011 12:57 PM
Edited by: Guess2 on Nov 3, 2011 1:21 PM

GoldenGate expects a primary key, a unique key, or a list of key columns.
The addition of supplemental logging for the table can be done via SQL, but typically, it is done via the GGSCI interface:
GGSCI 4> dblogin userid <your DB GoldenGate user>, password <your password?
GGSCI 5> add trandata schema_owner.table_name
How Oracle GoldenGate determines the kind of row identifier to useUnless a KEYCOLS clause is used in the TABLE or MAP statement, Oracle GoldenGate selects a
row identifier to use in the following order of priority:
1. Primary key
2. First unique key alphanumerically with no virtual columns, no UDTs, no function-based
columns, and no nullable columns
3. First unique key alphanumerically with no virtual columns, no UDTs, or no function-based
columns, but can include nullable columns
4. If none of the preceding key types exist (even though there might be other types of keys
defined on the table) Oracle GoldenGate constructs a pseudo key of all columns that
the database allows to be used in a unique key, excluding virtual columns, UDTs,
function-based columns, and any columns that are explicitly excluded from the Oracle
GoldenGate configuration.
NOTE If there are other, non-usable keys on a table or if there are no keys at all on the
table, Oracle GoldenGate logs an appropriate message to the report file.
Constructing a key from all of the columns impedes the performance of Oracle
GoldenGate on the source system. On the target, this key causes Replicat to use
a larger, less efficient WHERE clause.
How to specify your own key for Oracle GoldenGate to use
If a table does not have one of the preceding types of row identifiers, or if you prefer those
identifiers not to be used, you can define a substitute key if the table has columns that
always contain unique values. You define this substitute key by including a KEYCOLS clause
within the Extract TABLE parameter and the Replicat MAP parameter. The specified key will
override any existing primary or unique key that Oracle GoldenGate finds.>
"I have altered table and column names. but the structure is the same."
What column name did you alter?
The source table table and target table are either identical, or there must be a source definition file created on the source and copied over to the target and referenced in the replicat.
I don't see why my_id would cause a problem (based on what you posted), unless the tables are different.

Similar Messages

  • To make one column that do not have the same data value with pk

    All right, here's the problem >>
    I have a form on a report with columns and attributes taken from the tables in the database. 5 tables are allocated in the database, but one table is used for this "form on a report."
    I named the report as a Company form, where users can add/edit company's name and details into it. However, without the use of candidate keys, how do you control the columns such that no two values are the same, although there is a primary key which i named it as company_id.
    Regards,
    HTMLDB user

    I suggest to launch an SQL query in a validation process. The where clause would look like this PRIMARY KEY COLUMN LIKE :ITEM%
    If the query retrieve at least one row then your validation process return an error and stop the saving process
    If you want you can also do it asynchronous with a javascript on blur event

  • Problem creating new sites. The formula refers to a column that does not exist

    Good morning,
    I have a problem creating new sites in my development environment. We have a template which works properly when we create new sites with it. However, when we add one new content type in the site created and save it as a new template, we can't create new sites
    with this template. The error log is that there are one problem in one column [The formula refers to a column that does not exist.  Check the formula for spelling mistakes or change the non-existing column to an existing column]. 
    I have opened the wsp template with visual studio but I can´t discover what column is the problem because the log only refers to the feature (ListInstances).
    Anybody knows how to find my problematic column?
    The error is:
    Feature Activation: Threw an exception, attempting to roll back.  Feature 'plantilla Llave en Mano 20141222 v2ListInstances' (ID: '6c61a3bf-3c51-4064-958b-d154729233e7').  Exception: Microsoft.SharePoint.SPException: La fórmula hace referencia a una
    columna que no existe. Compruebe que la fórmula no tiene errores ortográficos o cambie la columna que no existe por otra que exista. ---> System.Runtime.InteropServices.COMException (0x81020057): La fórmula hace referencia a una columna que no existe. Compruebe
    que la fórmula no tiene errores ortográficos o cambie la columna que no existe por otra que exista.     at Microsoft.SharePoint.Library.SPRequestInternalClass.UpdateField(String bstrUrl, String bstrListName, String bstrXML)     at Microsoft.SharePoint.Library.SPRequest.UpdateField(String
    bstrUrl, String bstrListName, String bstrXML)     --- End of inner exception stack trace ---     at Microsoft.SharePoint.Administration.SPElementDefinitionCollection.ProvisionListInstances(SPFeaturePropertyCollection props, SPSite site,
    SPWeb web, Boolean fForce)     at Microsoft.SharePoint.Administration.SPElementDefinitionCollection.ProvisionElements(SPFeaturePropertyCollection props, SPWebApplication webapp, SPSite site, SPWeb web, SPFeatureActivateFlags activateFlags, Boolean
    fForce)     at Microsoft.SharePoint.SPFeature.Activate(SPSite siteParent, SPWeb webParent, SPFeaturePropertyCollection props, SPFeatureActivateFlags activateFlags, Boolean fForce)
    Thanks in advance

    Hi Enrique,
    According to your description, after added a content type into the new site and save the site as a template, there is an issue when creating another new with the newly
    site template.
    Based on the error message “The formula refers to a column that does not exist…”, seems that it would be an issue of a Calculated column in the content type you added,
    please go through all the Calculated column in that content type to see if the formulas all work well.
    Feel free to reply if there any progress.
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • Can't upload file to Sharepoint "The URL is invalid. It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web.

    Hello,
    I do database/SharePoint upgrades for SQL and or SharePoint or moving to new servers frequently.  In a nutshell, I backup the database (run the upgrade tools if necessary), load new server and sql software and restore the db, load but
    not configure SharePoint, and add the content db that was resotred through powershell.  I have never had any big issues with this before.  This time, I have done this same procedure as there is a new domain and new server.  Server and
    SQL 2008R2 and SharePoint 2010 on both old and new servers - just new server and new domain.  I have done this twice now (as it is a virtual server) and I have the same issue.  I can't check anything in or upload anything new.  I get the error
    - The URL '<path to the file and filename>' is invalid.  It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web.  I have made sure
    that my database and log files are on a drive that has plenty of space (db is not restricted to grow).  I have made sure my database is not locked.  I have checked to see that I don't have version in my indexed columns in that library (I
    don't have any).  I have checked that my recycle bin is on in central admin.  I am not using RBS.  I have turned on verbose logging and found the following when I searched on the correlation ID from the error message - it is saying invalid
    column name extension.  I am not sure what to do at this point.  I can see there is a column in SQL called extension in the AllDocs table. Thanks.
    09/16/2014 10:41:44.84  w3wp.exe (0x208C)                        0x1814 SharePoint Foundation        
     Logging Correlation Data       xmnv Medium   Name=Request (POST:http://sqlsp:80/disc/_layouts/checkin.aspx?List=%7B5219EA15-A36A-4162-A188-4B8D518D7E79%7D&FileName=%2Fdisc%2FJigs%20and%20Fixtures%2FJigs%20and%20Fixtures%2FAssembly%2F30%20Assembly%2DGeneral%2FJ30XXA50%2D00%2Easm&IsDlg=1) 88fb3615-c87c-4a7c-8e83-d63a551a9b8f
    09/16/2014 10:41:44.85  w3wp.exe (0x208C)                        0x1814 SharePoint Foundation        
     Logging Correlation Data       xmnv Medium   Site=/ 88fb3615-c87c-4a7c-8e83-d63a551a9b8f
    09/16/2014 10:41:45.01  w3wp.exe (0x208C)                        0x1814 SharePoint Foundation        
     Database                       d0d6 High     System.Data.SqlClient.SqlException: Invalid column name 'Extension'.    
    at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)     at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)     at System.Data.SqlClient.TdsParser.Run(RunBehavior
    runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)     at System.Data.SqlClient.SqlDataReader.HasMoreResults()     at System.Data.SqlClient.SqlDataReader.NextResult()    
    at Microsoft.SharePoint.SPSqlClient.ExecuteQueryInternal(Boolean retryfordeadlock)     at Microsoft.SharePoint.SPSqlClient.ExecuteQuery(Boolean retryfordeadlock) 88fb3615-c87c-4a7c-8e83-d63a551a9b8f
    09/16/2014 10:41:45.01  w3wp.exe (0x208C)                        0x1814 SharePoint Foundation        
     Database                       d0d6 High     System.Data.SqlClient.SqlException: Invalid column name 'Extension'.    
    at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)     at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)     at System.Data.SqlClient.TdsParser.Run(RunBehavior
    runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)     at System.Data.SqlClient.SqlDataReader.HasMoreResults()     at System.Data.SqlClient.SqlDataReader.NextResult()    
    at Microsoft.SharePoint.SPSqlClient.ExecuteQueryInternal(Boolean retryfordeadlock)     at Microsoft.SharePoint.SPSqlClient.ExecuteQuery(Boolean retryfordeadlock) 88fb3615-c87c-4a7c-8e83-d63a551a9b8f
    09/16/2014 10:41:45.01  w3wp.exe (0x208C)                        0x1814 SharePoint Foundation        
     General                        8kh7 High     The URL 'Jigs and Fixtures/Jigs and Fixtures/Assembly/30 Assembly-General/J30XXA50-00.asm'
    is invalid.  It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web. 88fb3615-c87c-4a7c-8e83-d63a551a9b8f
    09/16/2014 10:41:45.01  w3wp.exe (0x208C)                        0x1814 SharePoint Foundation        
     General                        9mpn High     File exception: Microsoft.SharePoint.SPException: The URL 'Jigs and
    Fixtures/Jigs and Fixtures/Assembly/30 Assembly-General/J30XXA50-00.asm' is invalid.  It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web. ---> System.Runtime.InteropServices.COMException
    (0x81020030): The URL 'Jigs and Fixtures/Jigs and Fixtures/Assembly/30 Assembly-General/J30XXA50-00.asm' is invalid.  It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web.    
    at Microsoft.SharePoint.Library.SPRequestInternalClass.CheckInFile(String bstrUrl, String bstrWebRelativeUrl, Int32 iCheckinType, String bstrCheckinComment, Boolean bIsMigrate, Int32 iEditorId, ISP2DSafeArrayWriter pRestrictInsertCallback, ISP2DSafe... 88fb3615-c87c-4a7c-8e83-d63a551a9b8f
    09/16/2014 10:41:45.01* w3wp.exe (0x208C)                        0x1814 SharePoint Foundation        
     General                        9mpn High     ...ArrayWriter pUniqueFieldCallback)     at Microsoft.SharePoint.Library.SPRequest.CheckInFile(String
    bstrUrl, String bstrWebRelativeUrl, Int32 iCheckinType, String bstrCheckinComment, Boolean bIsMigrate, Int32 iEditorId, ISP2DSafeArrayWriter pRestrictInsertCallback, ISP2DSafeArrayWriter pUniqueFieldCallback)     --- End of inner exception
    stack trace ---     at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)     at Microsoft.SharePoint.Library.SPRequest.CheckInFile(String bstrUrl, String bstrWebRelativeUrl, Int32 iCheckinType, String
    bstrCheckinComment, Boolean bIsMigrate, Int32 iEditorId, ISP2DSafeArrayWriter pRestrictInsertCallback, ISP2DSafeArrayWriter pUniqueFieldCallback)     at Microsoft.SharePoint.SPFile.CheckIn(String comment, SPCheckinType checkInType, Boolean
    b... 88fb3615-c87c-4a7c-8e83-d63a551a9b8f
    09/16/2014 10:41:45.01* w3wp.exe (0x208C)                        0x1814 SharePoint Foundation        
     General                        9mpn High     ...IsMigrate, SPUser modifiedBy) 88fb3615-c87c-4a7c-8e83-d63a551a9b8f
    09/16/2014 10:41:45.01  w3wp.exe (0x208C)                        0x1814 SharePoint Foundation        
     Runtime                        tkau Unexpected System.Runtime.InteropServices.COMException: The URL 'Jigs and Fixtures/Jigs and
    Fixtures/Assembly/30 Assembly-General/J30XXA50-00.asm' is invalid.  It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web.    at Microsoft.SharePoint.Library.SPRequestInternalClass.CheckInFile(String
    bstrUrl, String bstrWebRelativeUrl, Int32 iCheckinType, String bstrCheckinComment, Boolean bIsMigrate, Int32 iEditorId, ISP2DSafeArrayWriter pRestrictInsertCallback, ISP2DSafeArrayWriter pUniqueFieldCallback)     at Microsoft.SharePoint.Library.SPRequest.CheckInFile(String
    bstrUrl, String bstrWebRelativeUrl, Int32 iCheckinType, String bstrCheckinComment, Boolean bIsMigrate, Int32 iEditorId, ISP2DSafeArrayWriter pRestrictInsertCallback, ISP2DSafeArrayWriter ... 88fb3615-c87c-4a7c-8e83-d63a551a9b8f
    09/16/2014 10:41:45.01* w3wp.exe (0x208C)                        0x1814 SharePoint Foundation        
     Runtime                        tkau Unexpected ...pUniqueFieldCallback) 88fb3615-c87c-4a7c-8e83-d63a551a9b8f
    09/16/2014 10:41:45.03  w3wp.exe (0x208C)                        0x1814 SharePoint Foundation        
     Monitoring                     b4ly Medium   Leaving Monitored Scope (Request (POST:http://sqlsp:80/disc/_layouts/checkin.aspx?List=%7B5219EA15-A36A-4162-A188-4B8D518D7E79%7D&FileName=%2Fdisc%2FJigs%20and%20Fixtures%2FJigs%20and%20Fixtures%2FAssembly%2F30%20Assembly%2DGeneral%2FJ30XXA50%2D00%2Easm&IsDlg=1)).
    Execution Time=182.518658097607 88fb3615-c87c-4a7c-8e83-d63a551a9b8f

    I have fixed it.  I did a backup of the database and log file 2 times. I also did an upgrade-spcontentdatabase command in the sharepoint powershell.  Not sure why it worked, but I had read online about upgrade issues from WSS2 to WSS3 to 2010
    and I thought maybe something did not fully get upgraded even though this has been in use for 2 years since the upgrade.

  • The URL is invalid. It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web.

    Hi all, 
    I'm having this issue on all document libraries when editing its properties, and it is also happening when creating new sub site (when it tries to provision the homepage). This issue is happening in a site collection that was migrated from a SharePoint 2010
    environment. 
    I have investigated every single error message, and none of the search results I found on the web helped, including the issue with having multiple column names mapped to the same database name ("@tp_Editor" error below). The file exists and it
    gets added to the document library but it fails when updating it's properties. 
    Here is logs from the ULS logs related to this issue:
    <nativehr>0x81020030</nativehr><nativestack></nativestack>The URL 'test/sdfsdfsdf.docx' is invalid.  It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web.
    SPRequest.AddOrUpdateItem: UserPrincipalName=i:0).w|s-1-5-21-1739618301-713299677-2434533842-6675, AppPrincipalName= ,bstrUrl....
    Non-version conflict error in RunItemEventReceiverExProps.  Exception: Microsoft.SharePoint.SPException: The URL 'test/sdfsdfsdf.docx' is invalid.  It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the
    current Web. ---> System.Runtime.InteropServices.COMException: <nativehr>0x81020030</nativehr><nativestack></nativestack>The URL 'test/sdfsdfsdf.docx' is invalid.  It may refer to a nonexistent file or folder, or refer to a
    valid file or folder that is not in the current Web.    
     at Microsoft.SharePoint.Library.SPRequestInternalClass.AddOrUpdateItem(String bstrUrl, String bstrListName, Boolean bAdd, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bPreserveItemUIVersion, Boolean bUpdateNoVersion, Int32& plID, String&
    pbstrGuid, Guid 
    Exception while assigning Document ID: The URL 'test/sdfsdfsdf.docx' is invalid.  It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web.
    Failed to get output parameter, HR: 0x80131509, Native stack:
    [Forced due to logging gap, cached @ 01/31/2014 16:45:19.56, Original Level: Verbose] Invoking EventReceiver - [Id: {0}]
    System.Data.SqlClient.SqlException (0x80131904): Parameter '@tp_Editor' was supplied multiple times.    
     at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)    
     at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)    
    SQL error code from last error 8143 - Parameter '@tp_Editor' was supplied multiple times.
    <nativehr>0x81020030</nativehr><nativestack></nativestack>The URL 'test/sdfsdfsdf.docx' is invalid.  It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web.
    SPRequest.AddOrUpdateItem: UserPrincipalName=i:0).w|s-1-5-21-1739618301-713299677-2434533842-6675, AppPrincipalName= ,bstrUrl=http://
    System.Runtime.InteropServices.COMException: The URL 'test/sdfsdfsdf.docx' is invalid.  It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web.   
     at Microsoft.SharePoint.Library.SPRequestInternalClass.AddOrUpdateItem(String bstrUrl, String bstrListName, Boolean bAdd, Boolean bSystemUpdate, Boolean bPreserveItemVersion, 

    It sounds like you have an Event Receiver attached to your library that might be throwing an internal error and blocking the file from being uploaded. The following errors state that the file that SharePoint thought was uploaded actually wasn't. I would
    focus on what is happening within the event receiver.
    Dimitri Ayrapetov (MCSE: SharePoint)

  • Hi I'm a total novice, as you will see. But Iam trying to use template of an employee schedule but when I try to add extra columns it does not add the preset formula with it, so it works out total hours and total pay?   If any one can help please.

    Hi I'm a total novice, as you will see. But Iam trying to use template of an employee schedule but when I try to add extra columns it does not add the preset formula with it, so it works out total hours and total pay?   If any one can help please before I throw it through the window!

    Grum12 wrote:
    Hi I'm a total novice, as you will see. But Iam trying to use template of an employee schedule but when I try to add extra columns it does not add the preset formula with it, so it works out total hours and total pay?   If any one can help please before I throw it through the window!
    Hi Grum,
    If the formulas aren't filling to the new column, you must have changed something in the template since you first opened it. Numbers is rather fussy about filling row content in columns as they are added. Only rows with the same expression in every Body Column will fill when a column is added. Just as an experiment, start a new Employee Schedule document from the Template Chooser and then add a column by clicking the Add Column handle in the upper right corner of the table. If that works, as it should, then think about what might have changed in your working document to disconnect that feature. Maybe we can figure it out together.
    Jerry

  • Question: Is there a way to create a PDF from outlook e-mail that does not embed the attachment? better, is there a way to convert the e-mail with attachement (not embeded) as pdf pages? - Problem: I have 1400 e-mails with attachments that need to be conv

    Is there a way to create a PDF from outlook e-mail that does not embed the attachment? better, is there a way to convert the e-mail with attachement (not embeded) as pdf pages?
    - Problem: I have 1400 e-mails with attachments that need to be converted into pdf and the attachments cannot be embeded.
    System: PC Windows 7 using Acrobat X Prof. - Thank you!

    Hi ,
    There is an option of embedding index for faster search while converting email to a PDF .
    However I am not sure that will serve your purpose or not .
    I would recommend you to get in touch with Microsoft support as well .
    Meanwhile I'll work on it and get back to you in case I get a desired solution .
    Regards
    Sukrit Dhingra

  • Best approach to delete records that are not in the source table anymore.

    I have a situation where I need to remove records from dimensions that are not in the source data anymore. Right now we are not maintaing history, i.e. not using SCD but planning for the next release. If we did that it would be easy to figure the latest records. The load is nightly and records are updated and new added.
    The approach that I am considering is to join the dimension tables the the sources on keys and delete what doesn't join. However, is there perhaps some function in OWB that would allow to do this automatically on import so it can be also in place for the future?
    Thanks!

    Bear in mind that deleting dimension records becomes problematic if you have facts attached to them. Just because this record is no longer in the active set doesn't mean that it wasn't used historically, and so have foreign key constraints on it in your database. IF this is the case, a short-term solution would be to add an expiry_date field to the dimension and update the load to set this value when the record disappears rather than to delete it.
    And to do that, use the target dimension as a source table, outer join it to the actual source table on the natural key, and so your update will set expiry_date=nvl(expiry_date,sysdate) to set to sysdate if this record has not already been expired on all records where the outer join fails.
    Further consideration: what do you do if the record is re-inserted into the source table? create a new dimension key? Or remove the expiry date?
    But I will say that I am not a fan of deleting records in most circumstances. What do you do if you discover a calculation error and need to fix that and republish historical cubes? Without the historical data, you lose the ability to do things like that.

  • HT1296 My I-Phone has music on it that was synced from an I-Tunes library from a previous computer (which is no longer in use) AND purchases from the I-Tunes store.  I would now like to transfer ALL of that music (not just the purchases from the I-Tunes s

    My I-Phone has music on it that was synced from an I-Tunes library from a previous computer (which is no longer in use) AND purchases from the I-Tunes store.  I would now like to transfer ALL of that music (not just the purchases from the I-Tunes store) into the I-Tunes library that I've established on a new computer.
    Can that be done, and how (I've attempted without any success)?
    Any assistance would be GREATLY appreciated!!

    Contact iTunes support and explain your situation to them.  They may let you redownload it at no cost.
    http://www.apple.com/support/itunes/contact.html
    If they don't, I'm afraid you'll have to purchase it again.  Sorry.
    B-rock

  • Exchange Personal Archive - When Replying To A Message That Is Not In the Inbox, Save The Reply In The Same Folder

    -Settings
    Exchange 2010 enterprise on-premise
    Outlook 2013 std
    Exchange Personal Archive
    Feature : Option/Email/When Replying To A Message That Is Not In the Inbox, Save The Reply In The Same Folder
    Hi,
    the feature works fine in the mailbox of the user but not from within the exchange personal archive.
    Instead the reply is saved in the send items folder of the mailbox.
    Any suggestions how to make this work?
    Best Regards,
    zrvb

    AFAIK, that is how it is intended to work. The archive is considered as "old-emails" so the newly created reply doesn't fall within that category.
    Contact Microsoft Support by phone to submit it as a bug when it is "unexpected behavior" from your point of view or otherwise as a feature request/design change.
    Robert Sparnaaij
    [MVP-Outlook]
    Outlook guides and more: HowTo-Outlook.com
    Outlook Quick Tips: MSOutlook.info

  • How do you delete songs on iTune that are NOT on the library?

    I got a new computer few days ago, and I downloaded iTune on my new computer today.
    I want to delete all my songs that are in my iPod Touch now, and want to buy other songs.
    I don't have any songs in my library at the moment, since there's no song in my new computer now.
    So I want to delete songs, but since I don't have any of those songs in the library, I can't delete them. (I can't delete them since they are not on the library.)
    Are there any ways I can delete songs that are NOT on the library?

    You don't want to keep the songs that are on your iPod touch, in your library?
    You can keep them in your library and not put them on the touch.
    Then you can purchase other songs and put those on the touch.

  • I have started a photo book in iPhoto (OS 10.7.5). How can I add photos that were not in the original album?

    I have started a photo book in iPhoto (OS 10.7.5). How can I add photos that were not in the original album?

    Thanks for your quick response. I thought I had tried that but I must not have because it worked perfectly.

  • The URL 'filename.xml' is invalid. It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current web

    Hi All,
    We have a form library with around 2000 InfoPath forms submitted successfully, but suddenly from the couple of weeks noticing that, the users are able to submit the form successfully without
    any issues but the referenced .xml file is physically not
    getting saved and the strange thing is it's reference(i.e. xml) is available. When we try opening the form it gives below error.<o:p></o:p>
    “InfoPath cannot open the following file ‘formpath/.xml’
    ”<o:p></o:p>
    When we try viewing the version history, it gives below error:<o:p></o:p>
    "The URL 'filename.xml' is invalid. It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current web"<o:p></o:p>
    I have also looked at the logs but not much information. Can someone help me?
    MercuryMan

    Hi,
    According to the error message, this issue is a typically database related issue.
    1. Make sure that your Content Database in SQL is not full.
    Open SQL management studio and connect to SQL server that have your content DB.
    You can find SQL server name from "manage servers in this farm".
    Right click the content database, click Reports > Standard Reports > Disk Usage to generate a standard report.
    For your reference:
    http://social.technet.microsoft.com/Forums/en-US/178095de-7fba-482c-9be1-94e60b1906e0/sharepoint-2010-error-the-url-item-url-is-invalid-it-may-refer-to-a-nonexistent-file-or
    2. According to KB 894631, this error message will be thrown out when the content database is configured to read-only.
    Go to Central Administration > Manage Content Databases and check if it is the case. Also, recycle the application pool in case the cache was corrupted.
    Thanks.
    Tracy Cai
    TechNet Community Support

  • How do I extend my WiFi with Airport Express? I have Ethernet in the house and an Wifi that do not cover the whole house. I do not get it to work.

    I have Ethernet in the house and an Wifi that do not cover the whole house. I do not get it to work. I have tried to get it into my network and it get connected via the WiFi but not the Ethernet. Also when it gives a green light I cannot see that it is giving any signals to my devices (iPhone etc).

    You need to pay attention to something, while extending your network with the latest AirPort Express upgrade, your devices will be connected to it except your iPhone, you'll see your iPhone always connected to the capsule instead, even if you're at 1 foot from the AirPort Express.
    You need to change the radio settings from automatic to 802.11a - 802.11b/g on your capsule, then I put it back to the default settings...
    Now in the AirPort utility you should see your iPhone connected to the AirPort

  • HT4623 how can i update my iphone 4 that does not have the update option in the settings?

    How can i update my iphone 4 that does not have the update option in the settings?

    From the article you linked, scroll down to the section "Update your device using iTunes"

Maybe you are looking for

  • I need to backup my hard drive before sending it for repair, How?

    My macbook will not turn on but my hard drive is still in good condition. When I went to the genius bar the employee said something about a hard drive kit I could use to backup my files and such before sending it in. I own an external hard drive, how

  • When Logging in the user gets "The ID you entered was not found"

    I have UCCX v8.  All users can log in fine.  However, I have created a new user and they are getting "The ID you entered was not found". 1.  The user was created in CUCM, extension made available to UCCX, and device associated to RMuser account 2.  T

  • JBO-30003 Error

    My application receive the next error at least three times by day, there are any solution? the users bother this kind of error (obviously they do not see the error I see the error by log) JBO-30003: The application pool (com.telmexusa.sales.services.

  • How: making column value as column of select statement

    Hi Quickly I have searched in this forum for following solution but not able to find it. I need to make a query in such a way that the value of one column in one table should act as a column-name of another table Eg:- tab1 col1,col2,*col3*,col4 tab2

  • MacOSX AIR Permissions for non-administrator user folders

    We're making final changes to our installer for PowerPC Macs, which cannot get the fixes in Adobe AIR 2.7. What are the ownership AND permissions expected to be for normal Adobe AIR operation in the following user folders? ~/Library/Application Suppo