Create DB Link in another schema

I am trying to do the following:
create database link "LINKED_DB.REGRESS.RDBMS.DEV.US.ORACLE.COM"
connect to usernameinlinkeddb
identified by "pwd"
using 'linkedDB'
But, I want to create the DB_link in the "user 1" schema, running the script from the "administrator" schema. Now, the script above will obviously create the link in the "administrator" schema when executed from the "administrator" schema, what changes to the script can I do to create it in the "user_1" schema from the "administrator" schema..
Everything I've read so far says that it's not possible, but the former DBA was able to do it so I know it's possible.. I would like to be able to do this so when I deploy this DB/schema from a Dev DB to a Test DB, I would like to just run a script.
please help!! Thanks!

"alter session set current_schema" may help.
Or there are two execution mode options for PL/SQL; Definer or Invoker Rights.
You can create a procedure with "AUTHID CURRENT_USER" and run the dblink creation ddl with execute immediate I think.
Kind regards,
Tonguç

Similar Messages

  • Creating a database link to another schema in the same database

    Hello,
    I'm trying to create a database link to another schema in the same database. It was created without errors, but when I try to use it I receive "ORA-12154: TNS:could not resolve the connect identifier specified" message...
    I'm trying to do it because on my production enviroment the databases are separated, so there I can use database links without problem, but in my development environment it's all in one database separated by schemas...
    So I'm trying to simulate the same system to not need to rewrite the query every time I move from development to production environment.
    Any ideas?
    Thanks

    Hi,
    Yes, you can create a database link to your own database. I've done it before for exactly the same reason you want to.
    (By the way, I think it's a good reason. What are the alternatives?
    Having different versions of code for Development and Production? Absolutely not! Terrible idea!
    Using synonyms or substitution variables that are set differently in the different databases? That might be more efficient than a database link, but efficiency probably isn't such a big issue in Development.
    [Conditional compilation|http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28370/fundamentals.htm#sthref250]? This might be good; it has all the efficienty of the above options, with more clarity.)
    Assuming you do want to stick with a database link, not all errors are caught when you create the link.
    Is the Development database in the tnsnames.ora file of the Development server? Do you have other database links, either in the Development server or pointing to it, that work? What is different about the ones that work, and the one that doesn't?
    Edited by: Frank Kulash on Oct 14, 2009 1:58 PM
    The more I think about this, the more I agree with the earlier respondent: synonymns are a good solution for this.
    To that suggestion you replied:
    On this way I might use "select * from SCHEMA.table" instead of "select * from table@SCHEMA"... I looking for an option to use the second way...Actually, the suggestion was that you say:
    select  *
    from    SCHEMA_table_ptr;where schema_table_ptr is a synonym.
    In Development, that synonym is defined as schema.table.
    In Production, that synonym is defined as table@SCHEMA
    Why are you "looking for an option to use the second way"?
    If you think that people reading the code should realize that the query is being done via a database link (at least in Production), then add a comment.

  • How to create a link between database schema?

    Hi,
    I have created database link between two database schema (From DBSchema2 i have created database link for DBSchema1). From DBSchema2, i have quried one table (This table is present in DBSchema1). But it throws an error says that Table or View does not exist. Anyone pls tell the detailed way to create database link between schema??
    Thanks,
    Sathish kumar D

    Yes iam trying to Archive
    I said achieve not archive. Anyways so you are trying to archive the data. Can you just detail your requirement ? What exactly do you want ?
    Only few tables will be moved to Archive Schema and other foriegn key tables will have a reference to the Live Schema. So how i can create the link between the Archive Schme to Live schema?
    There is no question of creating database links between 2 schems. It is pure stupidity. If you want to access any object from another schema grant proper privileges and create a synonym for the object. Database links are not meant for this purpose.
    Amardeep Sidhu
    http://www.amardeepsidhu.com

  • You have created a link to another part of your book but how do you get the reader back to the original page?

    Using iBooks Author to make a book you have created a link to another part of your book but how do you get the reader back to the original page?

    Asking me to be verbore is a dangerous thing  :-)
    When you eneter information into iTunes Producer for uploading, the info must match what is in the internal metadata. In this case, the book is called Mississippi, but in  iTunes Producer it is spelled Misssissippi. There is an extra "s". This will cause an error.
    - Fabe

  • Creating Ejb link to another Weblogic server

    I am trying to create a EJB jndi link to another weblogic server from a weblogic
    server.
    Basically I have a web application that uses an EJB that is deploed on another
    weblogic server and I would like to connect to it.
    One way I can do is the remote lookup using the Hashtable and the context factory,
    something like this
    Hashtable props = new Hashtable();
    props.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    props.put(Context.PROVIDER_URL, "t3://localhost:7001/");
    Context context = new InitialContext(props);
    I used a jndi-link in resin previously, that did not require me to do a remote
    lookup and rather created a link at the server level and allowed me to do a direct
    InitialContext() lookup.
    <jndi-link>
    <jndi-name>java:comp/env/ejb/test</jndi-name>
    <jndi-factory>weblogic.jndi.WLInitialContextFactory</jndi-factory>
    <init-param java.naming.provider.url="t3://xx.x.x.x:7001"/>
    <jndi-lookup>ejb.test</jndi-lookup>
    </jndi-link>
    Can I do something similar in Weblogic? If yes, how can I do it.
    Appreciate your help.
    Thanks,
    Varun

    "Varun Garg" <[email protected]> wrote:
    >
    I am trying to create a EJB jndi link to another weblogic server from
    a weblogic
    server.
    Basically I have a web application that uses an EJB that is deploed on
    another
    weblogic server and I would like to connect to it.
    One way I can do is the remote lookup using the Hashtable and the context
    factory,
    something like this
    Hashtable props = new Hashtable();
    props.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    props.put(Context.PROVIDER_URL, "t3://localhost:7001/");
    Context context = new InitialContext(props);
    I used a jndi-link in resin previously, that did not require me to do
    a remote
    lookup and rather created a link at the server level and allowed me to
    do a direct
    InitialContext() lookup.
    <jndi-link>
    <jndi-name>java:comp/env/ejb/test</jndi-name>
    <jndi-factory>weblogic.jndi.WLInitialContextFactory</jndi-factory>
    <init-param java.naming.provider.url="t3://xx.x.x.x:7001"/>
    <jndi-lookup>ejb.test</jndi-lookup>
    </jndi-link>
    Can I do something similar in Weblogic? If yes, how can I do it.
    Appreciate your help.
    Thanks,
    Varun
    hi,
    Yes, it is possible in weblogic for more info visit this url,
    http://e-docs.bea.com/wls/docs70/ejb/reference.html#1221067
    u have the description of how to use the below tags
    <initial-context-factory>weblogic.jndi.WLInitialContextFactory</initial-context-factory>
    <provider-url>WeblogicURL:Port</provider-url>
    <indi-name>jndiweb</jndi-name>
    hope it help u
    regards,
    Elango TR

  • Create a Link to another (custom) Report

    Hi guys,
    I'm back again as I'm stuck with trying to create a link between two custom reports.
    I'll make it simple, this is the current result when I run the main custom report:
    This is its query (I removed all the exlusions to make it short):
    SELECT distinct ARPDisplayName0, Count(rsv.ResourceID) AS 'Count' , Publisher0
    FROM v_R_System_Valid rsv
    LEFT JOIN v_FullCollectionMembership fcm on fcm.ResourceID=rsv.ResourceID
    LEFT JOIN v_GS_INSTALLED_SOFTWARE arp on arp.ResourceID=rsv.ResourceID
    WHERE fcm.CollectionID = @CollectionID
    --- List of Software ---
    and (
    ARPDisplayName0 LIKE '%Access%'
    or ARPDisplayName0 LIKE '%office%'
    --- Run the query only on any vendor which includes the word Microsoft ---
    and Publisher0 LIKE '%Microsoft%'
    --- Exclude/Include any hostnames which contains the following ---
    and (rsv.Netbios_Name0 NOT LIKE '%STC%')
    GROUP BY ARPDisplayName0, Publisher0
    ORDER BY count desc, Publisher0
    Now, I'd like to click on the Software name and run this query against it:
    SELECT Netbios_Name0
    FROM v_R_System_Valid rsv
    LEFT JOIN v_FullCollectionMembership fcm on fcm.ResourceID=rsv.ResourceID
    LEFT JOIN v_GS_INSTALLED_SOFTWARE arp on arp.ResourceID=rsv.ResourceID
    WHERE ARPDisplayName0 LIKE 'Microsoft Visual Studio 2005'
    GROUP BY Netbios_Name0
    ORDER BY Netbios_Name0
    Where "Microsoft Visual Studio 2005" is going to be the variable passed once clicked on it. The above will return a list of hostnames where that software is installed to.
    I appreciate any help. Thanks :)

    Can you also explain me the alias part aside please? Thanks a lot.
    Using your Query above. Notice the Count(rsv.ResourceID) statement.
    rsv is an alias for v_R_System_Valid
    Each column should have an alias. so ARPDisplayName0 should be arp.ARPDisplayName0, etc. This will prevent conflicts between the various views and ensure that you get the right data returned.
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ

  • How do i create a link to another website (URL) in DW 5.5?

    I have several internal links on my site but when I try to create an external link to a another URL, There seems to be no option in the link dialog other than to my internal files
    There is probably a simple answer to this but I am lost here.
    Thanks for any help
    Ed

    Please refer http://help.adobe.com/en_US/dreamweaver/cs/using/WScbb6b82af5544594822510a94ae8d65-7c3ea.h tml#WScbb6b82af5544594822510a94ae8d65-7c36a
    You can enter the url manually or paste it in the Link field.

  • How to create a link to another transaction on a record in ALV report.

    Hi All,
    I have an ALV report output ,if i click on any record in the report i want it to show me the details of the record which is another transaction code in my case.So basically i want to execute that T-code on clicking on the record of the ALV report.
    How can i achieve this ,please provide me the insight with same helpful examples.
    Thanks in advance,
    Swati

    Hi,
    This solution is for the ALV by Function Module Appraoch.
    You need to use the Importing Parameter I_CALLBACK_USER_COMMAND, of the FM Reuse_ALV_GRID_DISPLAY(or LIST Display) for this.
    Slis_ev_user_command TYPE slis_formname VALUE 'USER_COMMAND'.
    As this is a frequently-used Callback event, the form routine can also be passed directly in the interface by passing the user command in the IMPORTING parameter I_CALLBACK_USER_COMMAND.
    This is an exit subroutine and takes care of the Interactive aspect of the ALV. When User performs any action in the displayed ALV, Control automatically goes to this Subroutine.
    The interface of the form routine specified must be defined as follows:
                 FORM user_command  USING r_ucomm LIKE sy-ucomm
                                          rs_selfield TYPE slis_selfield.
         Parameter R_UCOMM contains the function code triggered.
         Structure RS_SELFIELD contains the following information:
    o     tabname  :      Name of the internal output table
    o     tabindex :       Index of the internal output table
    o     fieldname:      Field name
    o     endsum   :     Cursor is located on the totals line
    o     sumindex :     If >0, the cursor is located on a subtotals line
    o     value    :        Value of the field on the list
    o     refresh  :       (Exporting) List should be set up again
    o     col_stable:   (Exporting) Keep column position when list is set up    again
    o     row_stable:   (Exporting) Keep row position when list is set up again
    o     exit      :        (Exporting) Exit list (and ALV)
    o              before_action: Call before standard action execution
    o              after_action : Call after standard action execution, before list    setup
    o              ignore_multi : Internal use
    o              sel_tab_field: Internal use
    The EXIT routine is called whenever a function unknown to the ALV is   triggered or if the routine call before/after the execution of a  standard function code has been defined by interface parameter.
    Ok code for double click is &IC1 for ALV report.
    Eg:
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
         EXPORTING
    Name of the program
        I_CALLBACK_PROGRAM                    = V_REPID
    title
        I_GRID_TITLE                          = 'Details of Storing'
    calls subroutine : PF_STATUS_SET
           i_callback_pf_status_set           = 'PF_STATUS_SET'
    Calls subroutine : user_command
            i_callback_user_command           = 'USER_COMMAND'
    Overall structure of the report
           IS_LAYOUT                          = STRUCT_LAYOUT
    Passes the field catg internal table
           IT_FIELDCAT                        = I_FIELDCAT
    Passws the sort sequence internal table
           IT_SORT                            = IT_SORT
           I_DEFAULT                          = 'X'
           I_SAVE                             = 'A'
    Passes the internal table for variants
           IS_VARIANT                         = i_variant1
    fetches different events into internal table i_events
           it_events                          = i_events[]
          TABLES
    Passes data table for ALV display
            T_OUTTAB                          = I_TAB
         EXCEPTIONS
           PROGRAM_ERROR                      = 1
           OTHERS                             = 2
    *&      Form  user_command
    Form used to handle USER_COMMAND events
    rf_ucomm: Function Code
    rs      : Internal Table containing the selection information.
    FORM user_command USING rf_ucomm LIKE sy-ucomm
                              rs TYPE slis_selfield.
    data : v_mblnr like mseg-mblnr.
    case rf_ucomm.
    A custom pushbutton for record deletion is set in the GUI status.
    When a record is selected , the field BOC for that record becomes 'X'.
    The records are traced and deleted and the fields are refreshed( rs
    of type slis_selfield is refreshed)
    when '&DEL'.                 "Print button clicked.
        delete i_tab where box = 'X'.
         rs-refresh = 'X'.
    When the user selects a row and presses the Select pushbutton ( user
    defined ) from the application toolbar, the details of the document
    will be shown in another ALV list
    when '&SEL'.
      PERFORM SUB_SELECT_DOCUMENT.
      set parameter id 'MBN'  field  i_tab-mblnr.
      call transaction 'MB03'.
    Ok code for double click is &IC1 for ALV report
    when '&IC1'.
      perform sub_hotspot.
    endcase.
    ENDFORM.
    *&      Form  SUB_HOTSPOT
          text
    -->  p1        text
    <--  p2        text
    form SUB_HOTSPOT.
    message i398(00) with 'Hello'.
    endform.                    " SUB_HOTSPOT

  • Creating a link to another sheet within the same file in Numbers

    I have a spreadsheet in Numbers that contains many detail sheets with a seperate Summary sheet.
    I want to be able to click on an entry (within a cell) in the summary sheet and (just like a hyperlink) it take me to the detail sheet of that name.
    There is a hyperlink option within the Inspector, but it is only to goto a url or email message.
    Can anyone help, or is this a request I should make for the next version?

    New features means new high version num.
    Version 1 for instance was updated as version 1.0.2 then 1.0.3
    At this time we just got the upgrade to version 2
    Some day we will get an update to version 2.0.2 with oddities corrections.
    Maybe later we will get an update to version 2.0.3 with other corrections.
    For new features we will have to wait for the upgrade to version 3 included in what I named NiWork '10.
    Prepare your bucks
    Yvan KOENIG (from FRANCE jeudi 5 février 2009 18:21:58)

  • Create Link between database schema

    Hi,
    I have created database link between two database schema (From DBSchema2 i have created database link for DBSchema1). From DBSchema2, i have quried one table (This table is present in DBSchema1). But it throws an error says that Table or View does not exist. Anyone pls tell the detailed way to create database link between schema??
    Thanks,
    Sathish kumar D

    Yes iam trying to Archive
    I said achieve not archive. Anyways so you are trying to archive the data. Can you just detail your requirement ? What exactly do you want ?
    Only few tables will be moved to Archive Schema and other foriegn key tables will have a reference to the Live Schema. So how i can create the link between the Archive Schme to Live schema?
    There is no question of creating database links between 2 schems. It is pure stupidity. If you want to access any object from another schema grant proper privileges and create a synonym for the object. Database links are not meant for this purpose.
    Amardeep Sidhu
    http://www.amardeepsidhu.com

  • Contact Form: How do i create a link from an XML file to another domain to read a PHP File

    So i purchased a template from Template Monster and im having a little trouble with the contact form. The server that im uploading it to is a privite server that the company owns. It supports ASP and not PHP. I cant seem to get the ASP form to work so all i want to do it create a link to another one of there servers that supports PHP and have the contact form link to there and read the PHP file (that i will upload to that server) and send the email from there.
    This is the XML that i have to fill in in order to make it work
    Everything in Red is what i needed to fill out in order for the form to work.
    <?xml version="1.0" encoding="utf-8"?>
    <!--
            Please read this information to learn how to set up the contact form integrated
            into the template.
            This readme file explains in details the meaning of the settings that can be
            done in the fcContactFormConfiguration.xml configuration file.
            It is recommended for you to use an XML editor to make changes to this file
             because it’s less possible to make an error in the markup which can cause to
            a not working contact form.
      -->
    <contactFormConfiguration>
        <!--
                An e-mail address which will be used to receive messages from your contact form.
                You can specify several e-mail addresses separating them with a comma.
                For example: [email protected], [email protected], [email protected]
          -->
        <emailTo>[email protected]</emailTo>
        <!--
                A server script type which will process sending e-mails. It depends on your
                hosting and in the current version of the contact form it is allowed to use
                two types:  php (Apache, PHP Hosting); asp (IIS web server, ASP).
          -->
        <serverProcessorType>php</serverProcessorType>
        <!--
                A name of the script file which process sending e-mails on your server (without
                extension). The name contact is used by default.
          -->
        <serverProcessorFileName>contact</serverProcessorFileName>
        <!--
                Set whether to validate only required fields (true/false).  The default value is
                true which means the not required fields of your contact form will not be validated.
                For example if the e-mail field of your form is set as not required (imagine it)
                the form will be processed even if the user types in an incorrect e-mail address.
          -->
        <validateRequiredOnly>false</validateRequiredOnly>
        <!--
                Set whether to submit the form when the Enter key is pressed even if the focus is
                not on the Submit button (true/false).
          -->
        <submitFormOnEnter>false</submitFormOnEnter>
        <!--
                Text showing to the user when the form is submitted without any errors.
          -->
        <messageSentText>Thank you for your message.</messageSentText>
        <!--
                Text showing in case the form is not submitted because of a server error.
          -->
        <messageSentFailedText>Sorry, your message couldn't be sent</messageSentFailedText>
        <!--
                Text your visitor will see while waiting till the processing is over.
          -->
        <formProcessingText>processing...</formProcessingText>
        <!--
                Your SMTP server (for ASP only).
          -->
        <smtpServer>localhost</smtpServer>
        <!--
                Your SMTP port (for ASP only).
          -->
        <smtpPort>25</smtpPort>
        <!--
                Set whether to send the message as a plain text (true) or as HTML (false).
          -->
        <plainText>false</plainText>
        <!--
                ID of the input field (in the structure XML file) to use for the “from: ”
                or email to use instead (for example: [email protected]).
          -->
        <emailFromSource>2</emailFromSource>
        <!--
                Subject of the e-mails that will be sent through this contact form or ID of
                the input field (in the structure XML file) to use for the “subject: ” label
                in your e-mail client.
          -->
        <subjectSource>Contact Form from your site</subjectSource>
        <!--
                Validation error messages that are showing to the user when the form fails to
                validate. The form supports different types of validators. You can change the
                text of the error messages the validators produce here.
                You can use the {LABEL} keyword in these messages. It will replace it with the
                label value of the field where an error occurs.
          -->
        <validationErrorMessages>
            <!--
                    A required field is not filled in.
              -->
            <message type="fieldIsRequired">{LABEL} is required.</message>
            <!--   
                    The specified e-mail address is incorrect.
              -->
            <message type="emailNotValid">{LABEL} - is not valid email address.</message>
            <!--
                    The specified number of characters in a field is less than a required minimum.
              -->
            <message type="minCharsLimitError">{LABEL} - The specified number of characters in a field is less than a required minimum.</message>
            <!--
                    The specified string does not match with the regular expression.
              -->
            <message type="reqExpError">{LABEL} - The specified string does not match with the regular expression.</message>
            <!--
                    The specified number is greater than an acceptable biggest number for this field.
              -->
            <message type="biggerThanMaxError">{LABEL} - The specified number is greater than an acceptable biggest number for this field.</message>
            <!--
                    The specified number is lower than an acceptable lowest number for this field.
              -->
            <message type="lowerThanMinError">{LABEL} - The specified number is lower than an acceptable lowest number for this field.</message>
            <!--
                    The data is not a number.
              -->
            <message type="notANumberError">{LABEL} - The data is not a number.</message>
            <!--
                    The specified number must not be negative.
              -->
            <message type="negativeError">{LABEL} - The specified number must not be negative.</message>
            <!--
                    The minimum number of variants is not selected
              -->
            <message type="minRequirementError">{LABEL} - The minimum number of variants is not selected</message>
            <!--
                    The number of variants selected exceeds the maximum
              -->
            <message type="maxRequirementError">{LABEL} - The number of variants selected exceeds the maximum</message>
            <!--
                    The fields that should be equal do not match
              -->
            <message type="shouldBeEqualError">{LABEL} - values do not match</message>
            <!--
                     The date has wrong format.
              -->
            <message type="dateIsNotValidError">{LABEL} - date has wrong format</message>
        </validationErrorMessages>
    </contactFormConfiguration>
    THIS IS THE ACTUAL CONTACT.PHP Form That i would like to link to.
    <?php
    //-----------------Getting data sent by flash---------------------
    foreach ($_POST as $key => $value){
            if ($key != 'mail_to' && $key != 'smtp_server' && $key != 'smtp_port' && $key != 'mail_from' && $key != 'mail_subject' && $key != 'plain_text'){
                $mail_body .= '<b>'.str_replace('_',' ',$key).'</b>:<br/>';
                $mail_body .= ''.stripslashes($value).'<br/>';
    $message = '<html><body>'.$mail_body.'</body></html>'; //  mail body
    //------------if plain text is set to true removing html tags------
    if ($_POST['plain_text']=='true') {
        $message = str_replace('<br/>',"\r\n", $message);
        $message = strip_tags($message);
    } else {
    //----otherwise composing message headers---------------------------
        $headers  = 'MIME-Version: 1.0' . "\r\n";
        $headers .= 'Content-type: text/html; charset=windows-1251' . "\r\n";
    //------------setting conf data-------------------------------------
    $to = $_POST['mail_to'];
    $from = $_POST['mail_from'];
    $subject = $_POST['mail_subject'];
    $smtp_server = $_POST['smtp_server'];
    $smtp_port = $_POST['smtp_port'];
    //---------setting header info--------------------------------------
    $headers .= 'From:' .$from;
    if (mail($to, $subject, $message, $headers)){ // sending mail
        print('&mail=1');  //succes
    } else {
        print('&mail=0');//failure
    ?>

    You can open both Muse files at once, copy the content of a page on one site, then paste it into a new page on the other site. You might have to redo some of the page styling.

  • Create package in another schema (10gR2)

    Hi there,
    I'm trying to create a package in another schema, but I am getting an error when I do this.
    My script is as follow:
    i log in as user rwn.
    create or replace package mkw.test
    as
    procedure t;
    end mkw.test;
    create or replace package body mkw.test
    as
    procedure t as
    begin
    ..... code
    end;
    end mkw.test;
    I get the error: PLS-00103: Symbool "." aangetroffen terwijl een van de volgende
    werd verwacht:
    What am I doing wrong?
    Thanks in advance.

    user10674103 wrote:
    Hi there,
    I'm trying to create a package in another schema, but I am getting an error when I do this.
    My script is as follow:
    i log in as user rwn.
    create or replace package mkw.test
    as
    procedure t;
    end mkw.test;
    create or replace package body mkw.test
    as
    procedure t as
    begin
    ..... code
    end;
    end mkw.test;
    I get the error: PLS-00103: Symbool "." aangetroffen terwijl een van de volgende
    werd verwacht:
    What am I doing wrong?
    Thanks in advance.Assuming you have permission to create packages in the other schema?
    Are you running this through SQL*Plus? If so, you really need to have "/" terminators after each object you are creating...
    e.g.
    create or replace package mkw.test
    as
      procedure t;
    end mkw.test;
    create or replace package body mkw.test
    as
      procedure t as
      begin
       ..... code
      end;
    end mkw.test;
    /

  • Link to another Taxonomy sub folder

    dears
    A small query on Link feature.
    My client user requirement is they want to create a Link to another Taxonomy's subfolder.
    I have created around 5 taxonomies.
    When i tried to create a Link, the list gives only the taxonomies, i can't navigate to subfolders of it.
    I tried in another way like, getting the folder Access link, and create the Link. That is working fine.
    But it is not soo user friendly.
    plz reply me
    thanx in advance
    Lakshmikantha

    Hi Detlev,
    This is just out of curosity.
    With reference to Lakshmikantha problem description, she can even opt for this option (id used this one):
    Create a query based taxonomy with multiple categories. Two or more categories can have similar queries set (which as per Lakshmikantha's case) can satisfy the Document replication task.
    Since taxonomy is basically used to segregate the documents, can this be sufficient?
    Awaiting Reply.
    (Note: <i>I do not intend to confuse or divert this query but just want to understand the possibilities in similar scenario</i>).
    Thanks and Warm Regards,
    Ritu

  • Creating views in a new schema to access certain rows of tables in source schema

    Hi,
    Oracle 10.2.0.4
    We are trying to mask certain data from some users. My suggestion is that we create a new schema view_schema on the same instance where we have source tables say in source_schema.
    We then create views in view_schema as below
    CREATE VIEW AS SELECT * FROM source_schema.table where COLUMN_n = 'XYZ';
    we then grant SELECT on these views to a role and assign new users that role to be able to see the viewed data.
    So the questions below.
    We can create views to look at data in another schema WITHOUT giving SELECT permissions directluy on source_schema.tanle?
    This will work and there is no need to create synonyms etc
    WE can manage users and views much easilier
    Does this make sense and would that be better than selecting views with say table_name_view in source schema for this purpose and even creating synonyms for these views with the same tanle names in sourece_schema?
    Thanks

    905989 wrote:
    Hi,
    Oracle 10.2.0.4
    We are trying to mask certain data from some users. My suggestion is that we create a new schema view_schema on the same instance where we have source tables say in source_schema.
    We then create views in view_schema as below
    CREATE VIEW AS SELECT * FROM source_schema.table where COLUMN_n = 'XYZ';
    we then grant SELECT on these views to a role and assign new users that role to be able to see the viewed data.
    So the questions below.
    We can create views to look at data in another schema WITHOUT giving SELECT permissions directluy on source_schema.tanle?
    This will work and there is no need to create synonyms etc
    WE can manage users and views much easilier
    Does this make sense and would that be better than selecting views with say table_name_view in source schema for this purpose and even creating synonyms for these views with the same tanle names in sourece_schema?
    Thanks
    1. You can create the view in another schema (first granting privileges to the view schema) without granting privileges from the source schema
    2. You probably want to create public synonyms for the view(s).  You can refer to the view as schema.view but this is cumbersome
    3. I am not sure about management being easier but added complexity should not be too bad.  Write documentation describing how everything works and the object involved.
    Another, more complicated but more powerful possibility is to use row level security also known as virtual private database - if you have the license.  You create a profile for a table and a procedure to generate WHERE clauses to filter any query against the table and columns defined in the profile.  Again, you need the license to do this.

  • Enquiries on whether fla can be linked to another fla, swf to flv or other video format and buttons to an animation

    I have 3 enquiries.
    1) How do I embed another fla within fla.
    For example, I am working on a fla, is it possible to create
    a link to another fla via a button?
    2) How do i convert a swf file into a flv file or any other
    video format like avi, mp4, etc?
    I am asking this because I realized when I try to import a
    swf into my fla file, I could only bundle it for mobile. Neither
    the progressive nor the streaming nor the embeding options could be
    checked.
    3) After adding tweening motion to an animation, is it
    possible to add buttons to play/pause? Do I have to write a script
    to enable the buttons to work?
    I tried adding buttons (Windows>components>video),
    however, the buttons were not functioning like the case when I
    imported a video. I think it's because adding tweening to an
    animation doesn't really dismiss it as a video file.
    I would greatly appreaciate if anyone could post a solution
    to my problems.
    Thanks.

    I am not so sure that this is a bug, and I have not been able to reproduce this behavior that you are describing. 
    But you can lock it from editing by right-clicking on the graph and go to Properties>>Appearance>>Enabled State --> Disabled
    Also, word of advice for the future: You will get more replies from the community with shorter posts and keeping it to one question per post. Summarize what the issue is, and put the detailed documentation and instructions to reproduce in the actual VI. 
    Huntington W
    National Instruments
    Applications Engineer
    ***Don't forget to give Kudos and Accepted as Solution where it is deserved***

Maybe you are looking for