How to manage unique key ?

My table has a unique key ... but OWM prevents version enabling
of a table which has a unique key.
Before version enabling the unique key means: a same value
cannot be used twice.
After version enabling it should mean: a same value cannot be
used twice at the same time .
How to manage such a situation ?
Thank you.

Workspace Manager currently does not support versioning of tables
that contain unique constraints. There is some confusion in
defining what is unique in a multi-version system. Is it unique
in a branch of versions or does it have to be unique in the
entire system?
We plan to address this in the next release. In the meantime, we
welcome your suggestions. Also, I am interested in knowing the
application context in which you are using Workspace Manager.
thanks
Arun

Similar Messages

  • How to control unique key target table mapping!

    Hi all,
    Is there any way to map a source table to target,the source table contains some duplicate rows,and only one of them is needed for the target table,can OWB manage to insert only one of these duplicate rows and ignore other rows according to an unique key and continue to execute the map?
    Thanks in advance!

    If you have duplicates and want to filter them out, try creating a view on the target table and use the rownum() function in the view.
    Than in your mapping use this view as you source and put a filter on it where the rownumber = 1. This will only select the unique records.

  • How to use Unique key constraint in EJB

    Hi All,
    I am using an entity bean to create my table in MySQL4.1.13
    I have a table called user which has userid,username,password as its columns.
    The userid is a primary key over here.
    But I want the user name to be unique.
    I.e if a user with the name 'Adrian' is present in the database then another user with this user name should not be created.
    I have been told that you can configure a unique key in jbosscmp-jdbc.xml using insert-after-ejb-post-create.
    But i dont know how to use it.
    Can anyone give me a sample code for using this.
    Any help would be appreciated.
    Thanks
    P2

    Please explain your problem better. Really can't figure what you are trying to do.....
    choosing which sql statement to use at runtime
    or creating dynamic sql statement at runtime
    which??
    Regards

  • How to manage encryption keys on Linux

    Using SSH encryption keys provides better security and (when done well) increased convenience over using passwords, but for each computer you want secure access to, you need a key file. Pretty soon you may find yourself juggling more files than you can easily handle. What to do?Jeff Cogswell on Linux.com has someadvice, and it doesn't involve using any special software to manage private keys. Some tips are practical, such as the suggestion to use a passphrase with private keys, and the requirement for a quick way to revoke public keys from a server in the event of a security breach. However, the best approach depends on an organization's specific needs; Cogswell links to a couple of descriptions of detailed techniques.
    This topic first appeared in the Spiceworks Community

    Hi,
    I want steps to install oracle 9i on linux version 4
    Kindly give steps.Ok, I'll try...
    Step 1) Leave this forum as it has nothing to do with your problem.
    Step 2) Enter the Installation forum.
    Step 3) Search / read there.
    Step 4) Read the installation guide.
    Step 5) Do what you have learned during the previous steps.
    One question remains: why does it have to be 9i? But that is also of interest only in the appropriate forum, so please, don't answer. :)

  • How to give unique key?

    am working with abap dictionary. i have an independent field in my child table that is supposed to be not null and unique. Instead of making it as a primary key field, is there any other way to set these constrains to that field?

    If unique you can go for primary key.
    How are you going to update this table ?
    if its through maintennace then add a validation in table maintenance events. Or try changing the screen layout property as required ( not sure abot this )

  • How to create unique key column in ROLAP fact table?

    Hi all,
    Is there a way to create a single column primary key (or unique index) on my ROLAP cube (and fact tables) in OWB? if so, what I should do in my mappings?
    Thanks!
    - Andrew

    Have you all conformed dimensions between the two facts?

  • How to Check Unique key for a Column in Many to Many relations ship

    senario
    Master Table
    CODE DESC
    ACT1 DESC1
    ACT2 DESC2
    ACT3 DESC3
    Detail Table
    CODE REFF_CODE DESC PRIORITY
    SACT1 ACT1 SDESC1 1
    SACT2 ACT1 SDESC2 2
    SACT3 ACT1 SDESC3 3
    SACT4 ACT1 SDESC4 4
    SACT5 ACT1 SDESC5 5
    SACT6 ACT2 SDESC6 1
    SACT7 ACT2 SDESC7 2
    SACT8 ACT2 SDESC8 3
    SACT9 ACT2 SDESC9 4
    SACT10 ACT3 SDESC10 1
    SACT11 ACT3 SDESC11 2
    SACT12 ACT3 SDESC12 3
    OUTPUT REQUIRED
    PRIORITY COLUMN MUST BE UNIQUE FOR EACH MASTER RECORD IN DETAIL TABLE...
    PLS HELP ME IN THIS REGARDS,

    I am a little bit slow today ...
    You want achieve this being updated in detail table ?
    Detail Table
    CODE REFF_CODE DESC PRIORITY
    SACT1 ACT1 SDESC1 1
    SACT2 ACT1 SDESC2 1
    SACT3 ACT1 SDESC3 1
    SACT4 ACT1 SDESC4 1
    SACT5 ACT1 SDESC5 1
    SACT6 ACT2 SDESC6 2
    SACT7 ACT2 SDESC7 2
    SACT8 ACT2 SDESC8 2
    SACT9 ACT2 SDESC9 2
    SACT10 ACT3 SDESC10 3
    SACT11 ACT3 SDESC11 3
    SACT12 ACT3 SDESC12 3
    ?

  • How to findby unique key

    Hi,
    for CMP, we have findByPrimaryKey, I'm wonding how to implement a findByUniqueKey.
    Can any idea?
    Thanks
    John
    Toronto

    ejb-ql: SELECT object(o) from ejbTable as o WHERE o.a=A AND 0.b=BThanks lots, but can u tell which one
    A.WHERE o.a=A AND 0.b=B
    B.WHERE o.a=?1 AND 0.b=?2
    is more recommanded and their difference?
    John
    Toronto

  • How shall we do validation for Unique Key and Multiple Primary Key?

    Hi,
    I have table created From EO in which one column is checked as Unique.
    How to do validation for column checked as Unique.
    I know how to do validation for column checked as primary key.
    Below is sample code for primary key validation
    if (getRvSize() != null)
    throw new OAAttrValException(OAException.TYP_ENTITY_OBJECT,
    getEntityDef().getFullName(), // EO name
    getPrimaryKey(), // EO PK
    "RvSize", // Attribute Name
    value, // Attribute value
    "AK", // Message product short name
    "FWK_TBX_T_EMP_ID_NO_UPDATE"); // Message name
    if (value != null)
    OADBTransaction transaction = getOADBTransaction();
    Object[] rvKey = {value};
    EntityDefImpl rvDefinition = xxczVAGCSRVSizingEOImpl.getDefinitionObject();
    xxczVAGCSRVSizingEOImpl rv =
    (xxczVAGCSRVSizingEOImpl)rvDefinition.findByPrimaryKey(transaction, new Key(rvKey));
    if (rv != null)
    throw new OAAttrValException(OAException.TYP_ENTITY_OBJECT,
    getEntityDef().getFullName(), // EO name
    getPrimaryKey(), // EO PK
    "RvSize", // Attribute Name
    value, // Attribute value
    "AK", // Message product short name
    "FWK_TBX_T_EMP_ID_UNIQUE"); // Message name
    What changes need to be done for above code in order to do the validation for Unique Key.
    I have one more Question
    How shall we do the Validation for Multiple Primary Key in a table?
    - Mithun

    1. If you just validate on one attribute like your unique key, then put your logic in the set<Your AttributeName) method
    2. If you want to do the cross validation ( like validating multiple attributes) then put your logic in the validateEntrity Method
    How to do that?
    1. Create a Validation View object.
    2. Associate your VVO to the VAM
    3. Create entity expert.
    4. Have method in entity expert for your validation (you would be calling AM and then VO execute the query and do the validation.
    5. You would be calling the Entity experty method from your EO either setMethods or validateEntity.
    I have given just the high level points.
    Hope this helps.
    Thanks,
    RK

  • How to obtain the Management Certificate Key for using Azure with Release Managment

    In the "Release Management" app in administration --> Manage Azure one must provide a "Management Certificate Key".
    I have created a self-signed cert and uploaded it to Azure Portal --> Settings --> Management certificates
    How do I get the key?
    Thanks ))

    Hi Atwater and Sons,
    when you look at the blog post paragraph four you find a link
    Download the settings file from the Azure portal to get your subscription ID and Management Certificate key.
    After you have downloaded the file, open the file with Notepad.
    You will find everything there - except the storage Account Name:
    <PublishData>
    <PublishProfile
    SchemaVersion="2.0"
    PublishMethod="AzureServiceManagementAPI">
    <Subscription
    ServiceManagementUrl="***"
    Id="***"
    Name="***"
    ManagementCertificate="***" />
    </PublishProfile>
    Copy the Id and the ManagementCertificate and past them into RM (Manage Azure)
    Your Storage Account Name: Blog Post Paragraph four
    Go here to get the name of an existing storage account or add
    a new storage account using the Azure portal.
    Regards,
    Daniel

  • Can any one tell me how to pull out a sealed management pack key token

    Hi All,
    Can any one tell me how to pull out a sealed management pack key token. I want to add dependencies to a management pointing towards a sealed management pack for which a "management pack key token" is required which i need to add in the XML File
    of the management pack. Can any one please tell me how to fetch that information.

    Hi Gautam,
    If you need to reference one management pack in another management pack, then you will need to know what the public key token is. When referencing a Microsoft management pack, it is easy as Microsoft always have the same key which is 31bf3856ad364e35 but
    if you need publickey token for other then MS management pack then you can simply run a SQL querry in your OperationManagerDB.
    select * from dbo.ManagementPack where MPName = 'Type your ManagementPackID'
    ManagementPackID will be present of the properties of the Management Pack.
    In that case the management pack should be imported in your SCOM environment.
    And you will get Public key token only for sealed Management packs not for unsealed.

  • How to create a unique key using two or more attributes?

    how to create a unique key using two or more attributes ?

    The following example illustrate how to create a unique key using two or more attributes/fields
    Scenario: Implementing Unique Key on ManagerID & Location ID in DepartmentEO(Department Table)
    Step#1: Open the Desired Entity Object “DepartmentEO”. Go to Overview tab & Click “General” Finger tab.
    Step#2: Expand “Alternate Keys” section & click “+”.
    Step#3: In the Pop-up wizard, Enter a name for alternate Key “Unique_Manager_X_Location”.
    Step#4: Select the desired attributes/fields from available list & Shuffle to right side.
    Step#5: Now go to “Business Rules” finger tab.
    Step#6: Select “Entity Validators” in the list & click “+” to add a new entity level validation rule.
    Step#7: In the Pop-up, Select “Rule Type” as Unique Key
    Step#8: In the “Rule Definition” tab select the key “Unique_Manager_X_Location”created.
    Step#9: Now go to “Failure Handling” tab, and click the Magnifier Icon .
    Step#10: If the key is not already created then in the “Select Text Resource” Popup, Using the functional design document, Enter display value, Key and Description. And click “Save & Select” Button.
    Step#11: Now Click “OK”.

  • How to generate a Unique key based on a some String value

    Hello every one,
    I am sorry , If I post this question in wrong group... I have a requirement to generate a unique key ( what every it may be alpha, numeric or alpha numeric) based on some String..
    For ex : String str = "AbCX" - Gives a unique key based on "AbCX" value..
    Is there any way we can get the unique value using Java ?
    Thanks

    May be not what you are looking for, but here's may idea:
    use a sequence (db sequence) and add it the the string value. This way the value is unique, because the sequence is unique. So you could omit the string theoretically, but your requirement is met.
    It's very easy to get a unique sequence number from the db using java, depending of the technology you use (which you did not say :-( )
    Timo

  • How can I run a check for a record across other records in the same dataset based on unique key constraint?

    Dear community,
    I have a flat data set which I run through a lookup and return. I want to check if at least one of the records matching a unique key constraint had a successful return without merging all the records. Can some one point me in the right direction?
    Thanks!
    Marc

    Hi,
    Sounds like a job for the Lookup Check processor!
    As with all check processors, it adds a flag attribute (with a Y/N value) that denotes if the lookup was successful or not, as well as filtering records based on this at output.
    Lookup Check does the same as Lookup and Return but does not return the record(s) looked up.
    Also note that Lookup and Return does not actually merge records, but it does pull back the return data (which you can then split if you want a record for each).
    Regards,
    Mike

  • How to Get the Unique Key results from OWB Tables after Profile

    Hi,
    We are using OWB 10gR2(Paris) Beta Version.
    In this version the new feature is introduced is Data Profiling.
    We are using this feature to analylize the data in terms of stanadards.
    We have done profiling for our tables and we are able to see the results for each table in OWB Profile Results Canvas. In this window one Unique Key tab is there to see the Unique results.
    Now my question is where these results will be stored in standard tables of OWB. I want to know those exact standard tables to extract thoes Unique results in to my reports.
    After profiling we are generating HTML-DB reports to view all these profile results. But we are not able to find the Uique Key tables where these results are stored.
    So pls can anybody provide help on this to get these tables...
    Thanks in advance...,
    Ramesh P.

    You can use DatabaseMetaData#getPrimaryKeys.

Maybe you are looking for

  • LVC_FIELDCATALOG_MERGE fields missing

    Hi all,            I have added 7 fields to one standard stucture, when i used the same structure in LVC_FIELDCATALOG_MERGE, in fieldcat some fields are missing. where as with Reuse_alv_fieldcat_merge, it is showing all the fields. Can you tell me wh

  • Electronic Signature Products

    I have 5 computers that need to the ability to electronic sign, what would be the best product?

  • Applecare can only be registered once?

    Hi folks, Just wondering if you can help me out?  A few months back I bought Applecare for my Macbook pro.  After finding it a bit cheaper elsewhere i called up Apple to let them know and they told me that they couldnt refund me so if i wanted it at

  • MacBook Air - MB450LLA or Z0FS0LLA

    Hi guys, hope you can help me to make up my mind. I plan to buy a MacBook Air and found a nice rate for a 13" 1.8 GHz, 2 GB RAM and a lovely 64GB Solid state drive. The thing is that this one comes under two manufacturer's IDs: MB450LLA and Z0FS0LLA.

  • Music legal help etc - Podcast Newbie

    Hi Everyone, I'm looking into create a podcast which will be relating to my online dance magazine iDance ( http://www.idancemag.co.uk ) and i'm a little unsure what music I can use on the podcast. Am I allowed to play new music promos as long as they