Scope keyword and referential constraints

Hi guys,
I'm new in DB relational-object, and looking at oracle guide
I have foud that I can specify both scope and referential constraint using the keyword REFERENTIAL associated with keyword SCOPE FOR
([http://download-east.oracle.com/docs/cd/B14117_01/appdev.101/b10799/adobjbas.htm#sthref108] basic component of oracle object)
Now, I checked that SCOPE FOR work properly:
ALTER TABLE SOME_TAB ADD (SCOPE FOR (ATTRIBUE_SOME_TAB) IS ANOTHER_TAB);
but I can't specify REFERENTIAL constraint in any way and
neither I have founf some explanation about
Have Someone idea about this?
Thanks, for your helps to me!

See:
Re: to REF or not to REF?
"To avoid dangling REFs, we must have good old foreign key:
ALTER TABLE emp_obj_tab ADD CONSTRAINT emp_dept_fk FOREIGN KEY (dept_oid) REFERENCES dept_obj_tab;"
Regards

Similar Messages

  • Adding a Unique and Referential Constraint to  XMLType of Purchase Table

    SQL> desc XDBPO_TYPE
    XDBPO_TYPE is NOT FINAL
    Name Null? Type
    SYS_XDBPD$ XDB.XDB$RAW_LIST_T
    messageType VARCHAR2(4000)
    MessageHeader XDBPO_MESSAGEHEADER_TYPE
    Order XDBPO_ORDER_CLLT
    SQL> desc XDBPO_MESSAGEHEADER_TYPE
    XDBPO_MESSAGEHEADER_TYPE is NOT FINAL
    Name Null? Type
    SYS_XDBPD$ XDB.XDB$RAW_LIST_T
    version VARCHAR2(50)
    payloadId VARCHAR2(4000)
    transmissionAgent VARCHAR2(4000)
    timeStamp VARCHAR2(20)
    senderName VARCHAR2(150)
    senderComponent VARCHAR2(150)
    documentReferenceId VARCHAR2(50)
    documentReferenceIdType VARCHAR2(50)
    dataCleansingDocumentId VARCHAR2(50)
    singleTransaction VARCHAR2(4000)
    Configuration XDBPO_CONFIGURATION_TYPE
    HeaderIndexedAttribute XDBPO_HIATTRIBUTE_CLLT
    I following the example in the demo in
    Adding a Unique and Referential Constraint to Table Purchaseorder
    which the constraint is added to the reference field.
    but for my case, i need to add my constraint
    to MessageHeader/@payloadId
    how do i go about in adding the constraint?
    tried to use this syntax logic but not successful:
    alter table purchaseorder
    add constraint REFERENCE_IS_UNIQUE
    unique (xmldata."Reference")
    Anyone have any idea? Mark?
    Thanks.

    nevermind i solved the problem already
    i will just post the solution incase someone else wants to add constraint to the sub xmltype object
    alter table purchaseorder
    add constraint REFERENCE_IS_UNIQUE
    unique (xmldata."MessageHeader"."payloadId");

  • Hierarchical queries and referential constraints

    Experts,
    What is the rationale for having a referential integrity constraint on a table that has rows bound by hierarchical relationships ?? The hierarchical relationship ensures that each row is referencing another in the same table via the PRIOR clause. If I add a foreign key relationship to these columns , does it make any sense ??/
    -Rekha

    but you can use a hierarchical query to display constraints in a tree !
    SQL> create table t1 (a number primary key);
    Table created.
    SQL> create table t2 (b number primary key, a number references t1(a));
    Table created.
    SQL> create table t3 (c number primary key, b number references t2(b));
    Table created.
    SQL> create table t4 (d number primary key, a number references t1(a));
    Table created.
    SQL> create table t5 (e number primary key, f number references t5(e));
    Table created.
    SQL> select sys_connect_by_path(p.table_name,':')||':'||r.table_name p
    from all_constraints p
        join all_constraints r
        on (p.constraint_name = r.r_constraint_name and p.owner = r.r_owner)
    where CONNECT_BY_ISLEAF = 1
    connect by nocycle prior r.table_name = p.table_name
    start with p.table_name not in (select r.table_name from all_constraints p join
    all_constraints r on (p.constraint_name = r.r_constraint_name and
    p.owner = r.r_owner and p.table_name != r.table_name) );
    :DEPT:EMP
    :T1:T4
    :T1:T2:T3
    :T5:T5

  • Incorrect order for referential constraints in Export

    When multiple tables are selected to export, the created file places the ALTER TABLE statements for the Referential Constraints immediately after the creation of the source table. Unfortunately, most of the time this will mean that the referenced table has not yet been created and the statement will fail.
    All referential constraints should be created as a separate block of statements at the end of the file rather than table by table where errors will occur if the script is simply run.

    I managed to resolve the issue by un-commenting below lines( they were commented in std though) -
    XDECI FILL IT & XDECI FILL RT

  • Referential constraints on XMLType tables

    Hi all,
    I'm trying to create an XMLType table with a foreign key that references another XMLType table. Shouldn't be a big deal, i thought.
    CREATE TABLE datasets (
    ID NUMBER,
    XML XMLTYPE )
    XMLTYPE COLUMN XML XMLSCHEMA "dataset_schema.xsd" ELEMENT "root";
    CREATE TABLE categories OF XMLTYPE XMLSCHEMA "categories.xsd" ELEMENT "categories";
    ALTER TABLE datasets
    2 ADD CONSTRAINT dataset_isvalid
    3 FOREIGN KEY(XML.XMLDATA."dataset"."metaInformation"."referenceFunction"."category")
    4 REFERENCES categories(XMLDATA."category"."name");
    FOREIGN KEY(XML.XMLDATA."dataset"."metaInformation"."referenceFunction"."category")
    ERROR at line 3:
    ORA-22809: nonexistent attribute
    I've then been reading through the postings regarding foreign key and unique constraints and i've managed to understand the concept of nested tables. To my dismay, trying to establish referential constraints my nested tables would throw an ORA-30730 stating this cannot be done.
    I've simplified my schemas a little so it won't get to complicated: one table will store datasets and the other will hold category names.
    The schema for the categories is
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- schema for categories -->
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
         <xs:element name="categories">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="category" type="categoryType" maxOccurs="unbounded"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:complexType name="categoryType">
              <xs:sequence>
                   <xs:element name="subCategory" type="subCategoryType" maxOccurs="unbounded"/>
              </xs:sequence>
              <xs:attribute name="name" type="xs:string" use="required"/>
              <xs:attribute name="localName" type="xs:string" use="required"/>
              <xs:attribute name="type" type="xs:byte" use="required"/>
         </xs:complexType>
         <xs:complexType name="subCategoryType">
              <xs:attribute name="name" type="xs:string" use="required"/>
              <xs:attribute name="localName" type="xs:string" use="required"/>
         </xs:complexType>
    </xs:schema>
    and the schema for the dataset table is
    <?xml version="1.0" encoding="UTF-8"?>
    <!- dataset schema-->
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
         <xs:complexType name="datasetType">
              <xs:sequence>
                   <xs:element name="metaInformation" type="metaInformationType"/>
                   <xs:element ref="otherInformation"/>
              </xs:sequence>
         </xs:complexType>
         <xs:complexType name="metaInformationType">
              <xs:sequence>
                   <xs:element name="referenceFunction" type="referenceFunctionType"/>
              </xs:sequence>
         </xs:complexType>
         <xs:element name="otherInformation" type="xs:string"/>
         <xs:complexType name="referenceFunctionType">
              <xs:attribute name="name" type="xs:string" use="required"/>
              <xs:attribute name="category" type="xs:string" use="required"/>
              <xs:attribute name="subCategory" type="xs:string" use="required"/>
         </xs:complexType>
         <xs:element name="root">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="dataset" type="datasetType" maxOccurs="unbounded"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
    </xs:schema>
    Now I want to define the referenceFunction/@category attribute of the dataset to be a foreign key to the categories table. Is it possible at all to do that with constraints? After failing with the nested table approach I really do not have any clue I would greatly appreciate any hints.
    Thanks,
    oli

    Nested tables do not currently support referential integrity.
    Foreign Keys on elements with maxOccurs > 0

  • To create referential constraints or not while designing a data model...

    Hi,
    If I were to design a data model involving some tables which tend to grow fast and huge, which option w.r.t creating referential constraints (foreign key constraints) between tables is advisable - to create or not to create?
    Assuming that there are no specific requirements to implement referential integrity (though it maybe implicity stated). I know that creating referential constraints might maintain data integrity but on the other hand, it might be a bottleneck in some data-intensive queries/operations involving huge tables.
    In other words, what factors should we consider while deciding on to create referential constraints or not in a data model?
    thanks & regds,
    Ashok.

    Hi,
    >>it might be a bottleneck in some data-intensive queries/operations involving huge tables.
    Hummm, are you sure ? I'm not convinced that foreign key constraints can cause a bottlenecks while querying the database. Why ? Otherwise, DML statements can be affected by some constraints and indexes ... in some systems for example perform data loading in a Data Warehouse, DSS Systems, etc....
    "The key thing to remember here is that if you cannot guarantee the integrity of your data, it doesn't matter how fast you can retrieve it from the database"
    Cheers

  • Find missing referential constraints

    I have a master table that is referenced by many other tables. Unfortunately, many of these child tables have been created without the necessary referential constraint to the parent. How can I easily identify these tables?
    The code would be like
    select table_name
    from tables
    where table_column like '%master_column'
    and not exists referential constraint on this table_column to the master_table
    Has anyone had to do this in the past - do you have an example script?
    Thanks
    Richard

    Here is something I cobbled together that seems to work - its not pretty though...
    SELECT *
    FROM DBA_TAB_COLUMNS atc,
    DBA_OBJECTS allo
    WHERE (UPPER(atc.column_name) LIKE :column_name)
    AND (atc.owner IN (:owner))
    AND (allo.object_name = atc.table_name)
    AND (allo.owner = atc.owner)
    AND (allo.object_type IN ('TABLE', 'VIEW', 'CLUSTER', 'MATERIALIZED VIEW', 'UNDEFINED'))
    AND NOT EXISTS
    (SELECT *
    FROM (SELECT AO.NAME TABLE_NAME,
    AU.NAME OWNER,
    BCN.NAME CONSTRAINT_NAME,
    DECODE(ac.TYPE#, 4,
    DECODE(ac.refact, 1, 'CASCADE', 2, 'SET NULL', 'NO ACTION'),
    NULL) delete_rule,
    BO.NAME TN, BU.NAME R_OWNER
    FROM SYS.CDEF$ BC, SYS.CON$ BCN, SYS.OBJ$ BO, SYS.USER$ BU,
    SYS.CON$ BRC, SYS.USER$ BRU, SYS.OBJ$ BRO,
    SYS.CDEF$ AC, SYS.CON$ ACN, SYS.OBJ$ AO, SYS.USER$ AU
    WHERE BC.CON# = BCN.CON#
    AND BC.OBJ# = BO.OBJ#
    AND BO.OWNER# = BU.USER#
    AND BC.RCON# = BRC.CON#(+)
    AND BRC.OWNER# = BRU.USER#(+)
    AND BC.ROBJ# = BRO.OBJ#(+)
    AND AC.CON# = BC.RCON#
    AND AC.CON# = ACN.CON#
    AND AO.OBJ# = AC.OBJ#
    AND AO.OWNER# = AU.USER#
    AND AC.TYPE# IN (2,3)) A,
    DBA_CONS_COLUMNS B
    WHERE B.TABLE_NAME = A.TN
    AND B.CONSTRAINT_NAME = A.CONSTRAINT_NAME
    AND B.OWNER = A.R_OWNER
    AND b.table_name = atc.table_name
    AND b.owner = atc.owner)
    Richard

  • What is the difference between Topic Keywords and Index File Keywords?

    What is the difference between Topic Keywords and Index File Keywords? Any advantages to using one over the other? Do they appear differently in the generated index?
    RH9.0.2.271
    I'm using Webhelp

    Hi there
    When you create a RoboHelp project you end up with many different ancillary files that are used to store different bits of information. Many of these files bear the name you assigned to the project at the time you created it. The index file has the project name and it ends with a .HHK file extension. (HHK meaning HTML Help Keywords)
    Generally, unless you change RoboHelp's settings, you add keywords to this file and associate topics to the keywords via the Index pod. At the time you compile a CHM or generate other types of output, the file is consulted and the index is built.
    As I said earlier, the default is to add keywords to the Index file until you configure RoboHelp to add the keywords to the topics themselves. Once you change this, any keyword added will become a META tag in the topic code. If your keyword is BOFFO, the META tag would look like this:
    <meta name="MS-HKWD" content="BOFFO" />
    When the help is compiled or generated, the Index (.HHK) file is consulted as normal, but any topics containing keywords added in this manner are also added to the Index you end up with. From the appearance perspective, the end user woudn't know the difference or be able to tell. Heck, if all you ever did was interact with the Index pod, you, as an author wouldn't know either. Well, other than the fact that the icons appear differently.
    Operationally, keywords added to the topics themselves may hold an advantage in that if you were to import these topics into other projects, the Index keywords would already be present.
    Hopefully this helps... Rick

  • How do I sort by Keywords and Rating at the same time?

    Hi guys,
    I know this is probably basic, but I have put keywords to a recent trip to Argentina and star rated the ones I enjoyed the most. Now I want to see pictures from Argentina (keyword), in the mountains (another keyword) and that are rated with 5 stars .
    Could someone please give me a hand?
    Thank you very much!
    Camy

    file menu ==> new smart album
    Meets all criteria
    My rating is ★★★★★
    Keyword is Argentina
    keyword is mountains
    LN

  • I used to give my photo's keywords. Most of the time I have several photo's for the same keyword and it was possible to select all those photo's and give them the keyword in one move. Since of few weeks I can't do that anymore and I find it very annoying.

    I used to give my photo's keywords. Most of the time I have several photo's for the same keyword and it was possible to select all those photo's and give them the keyword in one move. Since of few weeks I can't do that anymore and it's very annoying. What can I do to get back to the former situation?

    . Since of few weeks I can't do that anymore and it's very annoying. What can I do to get back to the former situation?
    Check, if you have the "Primary Only" option enabled. Then keywords will only be applied to the "Primary Image":
    See:                  Keywords or ratings are applied only to one of the selected images - why?
    Uncheck the little square button with the "1".

  • How do I import Bridge keywords and metadata to CS6 from CS4 so that I don't lose them if CS4 is not

    I have hundreds of keywords and metadata including Ratings and Labels using CS4 and Bridge CS4.
    It is time to replace my PPC Mac with a new Intel Mac.
    I am going to install CS6 on the new Intel Mac without installing CS4.
    By default.... this eliminates ALL keywords and ratings and labels from my Bridge browser. The keywords will still be present on the files but Not present in Bridge keywords list and all ratings and labels will be lost.
    Making a copy of Bridge CS4 metadata to another computer is quite simple.
    Simply copy All of the Bridge CS4 application support folder to the other computer.
    The question then becomes.... can I aslo do this with CS6 without introducing an incompatibility?
    1. incompatible due to CS6 application support.
    2. incompatible due to transfer from a PPC (APM) to Intel (GUID).
    This concern results from an Bridge CS4 export problem I experienced.
    Bridge CS4 will export all of your keywords and you can import them from a text file but it has some odd troubles. (try it and you will see)
    This does Not mean that CS6 has the same troubles.
    What do I require to preserve existing metedata and keywords that exist on a PPC using CS4 and import them into CS6 using Intel?
    Sound simple?
    I doubt it.
    The points are.
    1. CS4 not installed.
    2. CS4 source is PPC not Intel.
    3. Ratings and Labels are metadata that Are Not part of the file metadata and unique to Bridge only.
    4. Keyword Search and keyword Use requires that Bridge have keyword list, otherwise Finder is the far more useful browser and the new version of Bridge will require hours of keyword listing.
    I don't want to spends hours retyping keywords lists in Bridge.

    Ratings are NOT placed into the file under CS4 Bridge and neither are
    Labels.
    That depends on your file type and settings voor Camera Raw.
    Like Curt stated usually metadata is written in to the file itself. Only Raw files can't be written to and by default they create a XMP file, also called Sidecar XMP files (and do have the same filename, only a different extension called .xmp). These files are also by default hidden in Bridge but If you use Bridge to move files they travel along with the original.
    If you move or copy them using finder you have to be sure these XMP files are also copied with the originals to the new location.
    Using the menu View / show hidden files should reveal the XMP files.
    An other option for the Camera Raw prefs is to set metadata to the Camera Raw database instead of written to sidecar XMP files ( to my knowledge using sidecar files has been the default since about CS3).
    Now here it becomes a bit tricky and I only can tell you my findings, not to be confused with true facts. (and mind you, it is at least 5 years ago I was on a PPC and not even remember which OSX 10 was able to work on it, I just present the acting of CS6 on an intel Mac Pro with OSX 10.7, but I don't believe the difference in location is that much)
    Having written the Metadata to the Camera Raw Database your image settings get written to a file in the user library preferences folder called logically "Adobe Camera Raw Database". But also some info gets added to the Camera Raw Cache folder (User library / Caches/ Adobe Camera Raw) in a file called index.dat.
    Also not having set metadata to xmp sidecars stores the ACR settings in a new .dat file with a unique number (not to be traced as a corresponding filename. And also the default maximum is set to 1 GB of space and when full the oldest files are overwritten with the new ones.
    Personally I use converted DNG files that are capable of writing metadata to so all info and settings are in the file itself and I don't need to bother about central storage that can get lost. The downside is that changes to a DNG need to save the whole file instead of a small xmp file and probably reading cache takes more time then getting info from central storage but I like to be on the safe side and speed is not really needed to be nailed down to split seconds in my workflow.
    Keywords are stored as a file in the Bridge preferences but Like Curt already stated exporting the old list first and then via the same route import again to CS6 should solve your problem and they will be back as persistent, otherwise the files in the content window show as italic and sadly enough have to be made persistent one by one with right click mouse menu, so that is not really an option for you.
    Exporting the list does create a text file that can also be altered manually with a simple text app and as said, again be imported in newer versions as Curt described earlier.
    Making a copy of Bridge CS4 metadata to another computer is quite simple.
    Simply copy All of the Bridge CS4 application support folder to the other computer.
    Well, in fact it is true to call copying this folders a simple task but replacing the existing new CS6 would not be my method. The biggest change for Bridge CS6 was the transition to 64 bit and I lack the knowledge for this but also cache format for thumbs and previews has been different for every version.
    But if you have located the CS4 folder for Bridge in your PPC user library / application support / Adobe / Bridge CS4 you should find a file called 'Adobe Bridge Keywords.xml' and it is fairly safe to replace this CS4 version with the new CS6 version.
    Also custom settings for the output module can be copied (however to my memory the option for custom settings in Output where introduced in CS5) and collections can be copied.
    So for your keywords the copy option might work, rating and labeling for Raw files they will be read in CS6 if they are stored as XMP. ACR settings idem but CS6 ACR has a new (2012) conversion mode that has different settings that do not work with previous settings (unless you first choose to use the 2010 conversion as default Raw setting.
    If it is in the Central Data Base I would start trying to replace the CS4 with the CS6 edition (after back up of existing CS6 version) and see what happens. If it works your out of trouble.
    You can also open the Camera raw Database as a text file but there is a lot of data in. Maybe scripting would be able to reveal those data and transfer to XMP but you have to visit the dedicated Scripting forum for this.
    And while you state to have not installed CS4 anymore it might be wise to reinstall it (but first make a proper back up of the previous mentioned folders and files to be on the save side.
    This gives you the opportunity to export keywords properly and if needed you can use Show Items from subfolders option with filter and set preferences to XMP sidecar to refresh the rating and labels to those XMP files. Just an escape route that might not be as painstakingly as it looks at first sight, just use the options for Bridge to filter.

  • Keywording and the endless spinning ball of death

    Hi- I'm using 1.0 on a g4 ibook.
    I enter keywords, hit either tab or return when finished, and lightroom hangs up. For a long time.
    Lightroom is otherwise fast and smooth on my computer.
    Any help would be appreciated.
    Don

    When I had my iBook 800 w/ 640Mb Ram I had no problem keywording and I tend to runn a number of apps together.
    Don
    Don Ricklin, MacBook 1.83Ghz Duo 2 Core, Pentax *ist D
    http://donricklin.blogspot.com/

  • Acrobat X and XI - SharePoint Integration - Not Supporting SharePoint Fields Keywords and Comments

    Hi there,
    Only a limited number of our staff have access to Acrobat, but they all have access to Acrobat Reader X.
    When users use ‘Save As’ to save PDF files directly to a SharePoint 2007 Document Library, they are correctly requested to complete SharePoint meta-data, following selecting the appropriate Content Type.
    All of the required meta-data is present with the exception of SharePoint’s built-in Columns ‘Keywords’ and ‘Comments’ (both multi-line text Columns).
    All of the Columns which we have defined are present, including multi-line text Columns.
    ‘Keywords’ is a required Column for all of our documents and hence users cannot check-in their PDF documents.
    I know of others who have experienced this problem, and testing at home confirms that the problem also presents with SharePoint 2010.
    I have been eagerly awaiting the release of Acrobat and Acrobat Reader XI. Alas, the issue remains.
    Thank you,
    [ email signature removed by forum host - do not post you personal details on these public forums ]

    Hi mchagar <http://forums.adobe.com/people/mchagar> ,
    Thanks for your reply!!
    Because we have tens of thousands of existing items and documents which use SharePoint’s default Keywords, and many document libraries, we are keen to wait for an Adobe solution.
    We are aware that we could create an additional column and copy Keywords to the new column. It is simply a large amount of work in a Corporate Environment, for no reason.
    Hopefully Adobe will improve their products to include support for built-in SharePoint fields.
    We’ll wait a bit longer.
    Thank you,
    Ian Hearnes
    Information Management Coordinator
    East Gippsland Catchment Management Authority
    Phone : 03 5150-3503
    Email : [email protected] <mailto:[email protected]>
    Web : www.egcma.com.au <htt://www.egcma.com.au/>
    *     Notice of Confidential Information :
    *     If you receive this message in error, please notify us immediately.
    *     The information contained in this message is legally privileged and confidential.
    *     Unauthorised use, dissemination, distribution or reproduction of this message is prohibited.
    *     East Gippsland Catchment Management Authority : (03) 5152-0600
    *     Please consider the environment before printing this email.
    *     It takes 1L of water to make 3 sheets of A4 paper!

  • Incorrect syntax near the keyword 'AND'.

    Hi Friends,
    I have a requirement from SAP BI to SQL database.
    When I am triggering data from SAP BI, it is successfully sent to XI.
    In XI, it is also in success.
    But when I check in Message monitoring, I faced a error.
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'ZSaleFromBI' (structure 'Data'): com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax near the keyword 'AND'.
    The data is not updating in SQL Database also.
    Kindly suggest the same.
    Regards,
    Narendra Goyal

    Hi,
    After debugging lot, I found a payload difference.
    In PI 7.0 Inbound message from BI is:
      <?xml version="1.0" encoding="utf-8" ?>
    - <n0:MT_OTBData_BI xmlns:n0="http://grmap.com/xi/grmap/OTB_Data_OB" xmlns:prx="urn:sap.com:proxy:BIJ:/1SAI/TAS05A432A314B70F5CEB43:700:2008/01/11">
    + <DataRow>
    + <DataRow>
    + <DataRow>
      </n0:MT_OTBData_BI>
    In XI 3.0 Inbound message from BI is:
      <?xml version="1.0" encoding="utf-8" ?>
    - <nr1:MT_OTBData_BI xmlns:nr1="http://grmap.com/xi/grmap/OTB_Data_OB">
    + <DataRow>
    + <DataRow>
    + <DataRow>
      </nr1:MT_OTBData_BI>
    Kindly provide suggestion to resolve this issue.
    Regards,
    Narendra Goyal

  • Updating/sharing keywords and metadata in Lightroom 4

    I will be using an intern to help add keywords & metadata to an extremely large group of photos in Lightroom 4.
    The intern will have their own workstation so we'll be passing files back and forth.
    I need to add their work to mine, keeping all of the keyword/metadata work tied to the virtual photos which already have some work done to them (some keywords, metatdata and photo enhancements already in place on some photos).
    step-by-step appreciated
    What is the best way to do this?
    I'm still learning LR myself.
    suggestions welcomed!
    thank you

    Lightroom is not a multi-user application, and so you can, via tedious manipulation of files, achieve the result you want, but I should also note that make one mistake, and you potentially have a real mess on your hands.
    The best solution (in my opinion) is to put the catalog file and all photos on a server that you can both access. The drawback to doing this is that only one person can be working with a specific Lightroom catalog at a time. And given my usual advice to use only one catalog, this may not meet your needs.
    If that's not a good solution, then the intern can create her own temporary catalog of the portion of the photos to be worked on today, add keywords and other metadata, and then pass the catalog file to you to merge with your main catalog using the command File->Import from another catalog.
    As another alternative, if the only task the intern will carry out is adding keywords and other metadata, there are many freeware solutions that your intern can use for this, and then when she is done in a particular folder, you can in Lightroom select all the photos in that folder, and then read the metadata from the photo files. For Windows, two such freeware programs are GeoSetter and ExifToolGUI.

Maybe you are looking for