Problem to change a sequence from another schema

Hello

My question is a continuation to the thread below.

problem using sequences of a diagram to another diagram

Here, I tried to access a sequence created in schema2 in Figure 1.

I gave both select and change privileges on the encoder in Figure 1 and I see the same thing in the all_tab_privs table.

Now, I created a synonym in the diagram 1 'create a synonym seq for schema2.seq '. By doing this, I could access the seq directly (without the schema name) in Figure 1. But when I try to change directly (without the schema name). I got the errorORA-02289: sequence does not exist.

But I can able to alter using the full name schema2.seq.

Can anyone tell why this anamoly?  He takes everything by choosing synonym, but not while altering.

My question is a continuation to the thread below.

problem using sequences of a diagram to another diagram

Not really--your question has NOTHING to do with the question in this thread.

Here, I tried to access a sequence created in schema2 in Figure 1.

I gave both select and change privileges on the encoder in Figure 1 and I see the same thing in the all_tab_privs table.

Now, I created a synonym in the diagram 1 'create a synonym seq for schema2.seq '. By doing this, I could access the seq directly (without the schema name) in Figure 1. But when I try to change directly (without the schema name). I got the errorORA-02289: sequence does not exist.

But I can able to alter using the full name schema2.seq.

Can anyone tell why this anamoly?  He takes everything by choosing synonym, but not while altering.

Simple - funcitionality is NOT supported by Oracle for synonyms. See the CREATE SYNONYM statement in the doc of the SQL language

https://docs.Oracle.com/CD/B28359_01/server.111/b28286/statements_7001.htm

You can refer to synonyms in the following DDL statements: AUDIT , NOAUDIT , GRANT , REVOKE , and COMMENT .

Tags: Database

Similar Questions

  • How copy sequences from another project and NOT end up with entries double for source clips?

    If, like me, allowing you to work in Final Cut Pro, you know a major difference in first Pro workflow is that the two projects cannot be opened at the same time. Also, the referenced clips must be part of the project first. Firstly, it forces me to be more organized with projects/clips and avoids the situation of source clips "unregistered". On the other hand, I'm running in a challenge around copy/reuse of sequences from another project.

    We have a large group of images that is used for two different purposes. In order to keep things clear, I created two project files that contain the same elements of sources and the different sequences. (I cloned the project after importing all the clips in the source and work then from there.) Now, I need to "copy" some footage from the project A to project B, so that I can reuse the edition work on these sequences without having to replicate them on the. In FCP, I would have just two projects open and copy - paste the sequences of project A to project B. In Premiere Pro, I was happy to see that copy - paste can work through projects - i.e., I can 'copy' in the project, close the project A open project B, then "Paste". HOWEVER, bringing to all of the source clips referenced by these sequences in the project has... Even if the source clips are already in project B.

    OK, I understand why this happens, because Premiere Pro does not know (or check) the same clips already exist in project B. But I don't want to keep the two entries of the source clips in the project (in different bins too), because that becomes a source of confusion on the road. Is it possible for me to separate the news sequences of these 'new' entries in source clip and connect them with the existing entries? If I just go and delete the entries of 'new' source clip, references in these sequences don't simply go offline, they are deleted. If new sequences are empty.

    I fight to see what is the best approach in this case. Any suggestions or tips?

    I do this very similar workflow. I'll have the project 'A' where I change my sequences, etc., and then down the road, if I want to use some of these project grna 'A' in a new project 'B '.

    PP can do what you are looking for and do not create the duplicate of source even footage items.

    Do not copy and paste. Use rather import to import the discovery of the other project.

    Open your project that you want to reuse sequences. Then go to file > import and place you on the project that you want to import sequences of. Click the project file, and PP will ask you which you want to import sequences. Select the sequences (or the entire project) and PP will import the footage for you.

    Now... the media in double...

    If you clip source "00001.MTS' for example, already in the project you have open and one of the sequences that you import reference also the clip of"00001.MTS"from source, PP will not import a duplicate because it will use the clip that you have already imported.

    However, if PP is to import a copy it's probably because in each project, you have different I/O points set for the same element in source. If this is the case of the PP will import the copy of the clip so it retains every version of the video I/O points.

    If you make a test import and make sure that there is no point of I/O, or they are the same I/O points, PP will import the clip of dup.

  • Can I change password Firmware from another Mac

    Can I change password Firmware from another Mac

    N °

  • Change parental control from another computer?

    I put the safety on behalf of my daughter until she was a teenager.  The directions will tell you to do it on the computer that they use.  I did it.  Now I need to remove, but the computer she used is dead. -as we can on it at all (and DH is a geek).  So, is there a way to remove the controls from the families of another computer?  If not, then I'll just have him do a new e-mail account just try to save this argument.

    Hi mum28,

    You can remove the account from your daughter from the Family Safety parent account by removing it on the Family Safety website. Please follow these steps:

    1. connect to the parent to the https://fss.live.comaccount.
    2. in the family summary, click remove a member of the family.
    3. check you account from the girl, and then click Remove.

    Thank you!

  • How to change the value from another page

    I'm filtering province in my application based on a province selected in the home page (P16), however the user can submit a form that has a province that and after that, all the content must be filtered according to the selected province 'new '. So I'm in the P7 and after submitting the form, I would need to change the P16_PROVINCE - which belong to another page (P16).

    but do not know how,
    Any help?

    Mehrdad says:
    Thanks, VC, but I need to have a trigger to change the P16_PROVINCE after submitting the form, so that one must be changed according to what the user does on a form...
    After he submit the form, I have my game P7_PROVINCE, which is fine, but AFTER the selection, I need to change the P16_PROVINCE (which is used as a global variable to filter my records...)

    Add a plsql page 7 page process and submit the game it runs - as below

    //assign the value of P7_PROVINCE into P16_PROVINCE
    :P16_PROVINCE := :P7_PROVINCE;
    

    See http://docs.oracle.com/cd/E37097_01/doc/doc.42/e35125/concept_ses_val.htm#HTMDB03012

  • How to allow a user to view all the tables from another schema?

    I have a 'vic4ever' scheme where I have created all my tables. Now, I create a new user named "nvvp1". So, I want to enable nvvp1 display all tables in a schema vic4ever. But I don't know how to do! Or I need to run this command for each table?
    Grant select on vic4ever.table1 to nvvp1;
    Grant select on vic4ever.table2 to nvvp1;
    ....

    Thank you

    Yes, that's what you have to do, but you could speed up a bit:

    BEGIN
    FOR cur_rec IN (SELECT table_name FROM ALL_TABLES WHERE UPPER(owner) = 'NVVP1')
      LOOP
        EXECUTE IMMEDIATE 'Grant select on vic4ever.' || cur_rec.table_name || ' to nvvp1';
      END LOOP;
    END;
    /
    
  • Problems of collage of pages from another document

    Hi guys,.

    I used to copy pages of a document of identity to another very easily before. I don't know why I can't do it now.

    I have two InDesign CS 6 files. I opened both in two separate windows, but when I select copy of page 3 (6 short pages News Section) to the end in the great Document number two (the whole magazine) there is a mixture of white pages, bizarre styles and two new sections that were never before.

    Here is the photo 1 (small text)

    http://postimg.org/image/5v2lswmnh/

    Here is the photo 2

    http://postimg.org/image/vbbmjr7n5/966147d6/

    Could you help me with this issue?


    Thanks and best,
    S

    You have the open Pages panel, so you can either click the icon in the upper right of the Panel to open the menu, or you can click right into the area where the page icons are displayed.

  • grant for dbms_metadata.get_ddl on objects in another schema

    In Oracle 11 g R2, I use dbms_metadata.get_ddl to get the DDL to another schema, but I got an error:

    ORA-31603: object not found 'IS_SNMP_DATA' of type TABLE in the schema "TXV.

    that grant is necessary for this package to get from another schema ddl?
    I tried with authid current_user (that I found on google), but no result...

    See the following example:

    SQL> create user us_one identified by us1;
    User created.
    
    SQL> grant connect, resource to us_one;
    Grant succeeded.
    
    SQL> create user us_two identified by us2;
    User created.
    
    SQL> grant connect, resource to us_two;
    Grant succeeded.
    
    SQL> conn us_one/us1
    Connected.
    SQL> create table t (id number);
    
    Table created.
    
    SQL> grant select on t to us_two;
    Grant succeeded.
    
    SQL> conn / as sysdba
    Connected.
    
    SQL> grant execute on dbms_metadata to us_two;
    
    Grant succeeded.
    
    SQL> conn us_two/us2
    Connected.
    
    SQL> select dbms_metadata.get_ddl('TABLE','T','US_ONE') from dual;
    ERROR:
    ORA-31603: object "T" of type TABLE not found in schema "US_ONE"
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
    ORA-06512: at "SYS.DBMS_METADATA", line 2806
    ORA-06512: at "SYS.DBMS_METADATA", line 4333
    ORA-06512: at line 1
    
    no rows selected
    
    SQL> conn / as sysdba
    Connected.
    SQL> grant select_catalog_role to us_two;
    
    Grant succeeded.
    
    SQL> conn us_two/us2
    Connected.
    SQL> select dbms_metadata.get_ddl('TABLE','T','US_ONE') from dual;
    
    DBMS_METADATA.GET_DDL('TABLE','T','US_ONE')
    --------------------------------------------------------------------------------
    
      CREATE TABLE "US_ONE"."T"
       (    "ID" NUMBER
       ) PCTFREE 10 PCTUSED 40 INITRA
    
    SQL> 
    
  • access a type of user to another schema (collection)

    Hello

    In my scheme of production, I created a user type:
    CREATE TYPE T_my_row  OID '4711'
    IS OBJECT(field1 varchar2(10), field2 number(10));
    /
    
    CREATE TYPE TT_my_table  OID '0815'
    IS TABLE OF T_my_row;
    /
    I use the TT_my_table collection as a parameter of a procedure type.

    Intended to test, I would like to call this procedure from another schema (SQL-developers UT repository). This is why I need 'access' to the collection type of this test pattern.

    What are the rights I give to achieve?

    Good bye
    DPT

    Edited by: T.PD the 29.06.2010 10:40

    Dear T.PD,

    I think that under query will work for you;

    SQL > GRANT EXECUTE, DEBUG ON TYPE_NAME TO SCHEMA_NAME.

    It will be useful,

    Ogan

  • Need some ideas on the copy of the data from one schema to another.

    Dear all,

    I would like to know the best method and possible by copying data from one schema to another. (I won't use EXP / IMP).
    Example:


    I have a scheme of production on which I have hundreds of tables. I copy the data of the TEST environment after comparing data, I should copy the data incrementally.
    Maybe this copy of data may occur once a month, or on request.

    I want to have this done by a procedure.
    I was thinking about the logic below, using a procedure I will compare the tables and the structures between the two schemas.
    Then I willl use the primary key in both tables column and compare the data first. If the data if it does not exist then I only inserts these records in the target.
    The above said logic could be as similar as the synchronization of data or records, but the table does not all columns to track records archived / copied from the source.
    Suggest me so if you can give me the best logic or solution.

    Thanks in advance...

    Concerning
    Suresh

    GSKumar wrote:
    Dear all,

    I would like to know the best method and possible by copying data from one schema to another. (I won't use EXP / IMP).
    Example:
    I have a scheme of production on which I have hundreds of tables. I copy the data of the TEST environment after comparing data, I should copy the data incrementally.
    Maybe this copy of data may occur once a month, or on request.

    I want to have this done by a procedure.
    I was thinking about the logic below, using a procedure I will compare the tables and the structures between the two schemas.
    Then I willl use the primary key in both tables column and compare the data first. If the data if it does not exist then I only inserts these records in the target.
    The above said logic could be as similar as the synchronization of data or records, but the table does not all columns to track records archived / copied from the source.
    Suggest me so if you can give me the best logic or solution.

    I don't know why you don't want to opt for EXP/IMP.
    As an alternative, if you have a link DB between Production and Test pattern (which I seriously doubt), you can use the MERGER to a copy of data from Production to Test Delta.
    a. INTRODUCE IN test_schema.table_name SELECT sequence_columns, column_list FROM (SELECT column_list FROM prod_schema.table_name LESS SELECT column_list from test_schema.table_name)
    Column_list must not contain columns that contain sequence values because they may differ and result in an incorrect result; Therefore, this is taken into account in the outer query rather than Inline mode.
    b. MERGE STATEMENT
    c. FALL of test_schema.table_name. CREATE test_schema.table_name as SELECT column_list from prod_schema.table_name; -A way very neat to copy all the data, provided you do not keep any changes to test the tables in the schema.

    However, you mentioned to find existing records based on the primary key; IMO, primary key is normally a sequence (may be alphanumeric) and its value on env Production and Test may defer or even can have different attributes, therefore, I find it incorrect to match only the primary keys. I would say to match the key attributes.

    If you want to follow the last update/insert for a record, you can add a column that puts the time of last modification. In this way, you can track the changes of a column. Another alternative would be to use a check to the table.

    Let us know your thoughts or concerns, so that help can be provided.

    I suggest that you read and follow {message identifier: = 9360002}.
    If you will be useful if you can provide all the information required in advance to help us provide you with a quick resolution.

  • Copy data from one schema to another. Reopen the Question

    Hello

    I had asked this question earlier to copy data from tables of one schema to another in the same database using the database link. In my previous post have mentioned below.
    Re: copy data from one schema to another.
    Now I am faced with the question for the remote copy of database

    I have created a DB connection between my local system and the remote database. with the chain of connection as shown below
    CREATE THE DATABASE PUBLIC LINK "MERU_DEV_LOCAL_DEV".
    CONNECT TO MERUDEV IDENTIFIED BY MERUDEV WITH THE HELP OF "MERUPROD";
    In the above script
    LOCAL DEVELOPMENT scheme IS
    REMOTE schema is MERUDEV
    I try to copy remote database to my local database tables using the script below.
    network_link DEVELOPMENT impdp = schema MERU_DEV_LOCAL_DEV = MERUDEV remap_schema = MERUDEV:DEVELOPMENT TABLE_EXISTS_ACTION = REPLACE
    But the copy of the table does not occur. What could be the problem? Please suggest me or do I need to modify the script

    Thank you
    Sudhir

    You can:
    -monitor the BONE with ps - ef
    -monitor data pump: jobs are dba_datapump_jobs and dba_datapump_sessions
    -monitor with logops: v$ session_longops

  • I have difficulties to show my creative cloud from my PC. When I login from another computer to office, it is fine. Cloud is not compatible with windows 8? Any ideas on what could be the problem?

    I have difficulties to show my creative cloud from my PC. When I login from another computer to office, it is fine. Cloud is not compatible with windows 8? Any ideas on what could be the problem?

    Hello

    Creative cloud is compatible with windows 8.

    Please follow the steps below:

    1. Uninstall CC program and features

    2. run cleaning CC tool: use of the Adobe Creative Cloud cleaning tool to solve installation problems

    3. install Creative Cloud again, download and install Adobe Creative Cloud applications

    Hope this helps

    Thank you

    Varun

  • Cut and paste from one sequence to another

    I copy / paste clips in a sequence to another, but the image is HUGE in the pasted sequence. Help!

    How did you create the second sequence?

    Always try to create your sequence by dropping a clip of your media on the "New item" button You can remove media from the new sequence before going to the original sequence copy, then paste.

    My guess is that your new sequence has just the wrong settings.

  • Access to multimedia files from another server problem

    Currently I am working in a project with streaming video on-demand and using FMS 4.5 .


    " Say the FMS is installed on a machine say ' 121.123.35.34 ' and there is another server"100.54.88.222". where all media files belong Now we need point to this third-party server to play videos of FMS. I did the changes below:

    In the fms.ini file: set VOD_DIR2 = \\100.54.88.222\myvideos

    In the application.xml: added stream: streams >/HR; ${VOD_DIR2} < / flow >

    My request for access to the path of the flv as: source = "rtmp: / / 121.123.35.34:1935/vod/hr/test. Not able to access the video.


    Note: If I say "C:hrvideos" in VOD_DIR2, then I'm able to access videos using the same URL.


    I also tried mapping the path shared the machine to the FMS and then saw the drive mapped path in the VOD_DIR2, but it does not work.

    Please let me know:

    1. If we set up any other parameter videos from another server.
    2. VOD_COMMON_DIR: I modified this similar to VOD_DIR in the directory "C:hrvideos", I am able to stream videos with http, rtmp, but not the jet of abl eto.

    Please let me know we can disseminate via http too as we need to run the f4m manifest file.

    http://121.123.35.34:8134/vod/hr/sample.mp4.

    http://121.123.35.34:8134/vod/hr/sample. F4M


    Thank you

    Anjali

    Hello

    For RTMP: Try mapping to another server.

    For HTTP: Yesy you can change the DocumentRoot directive, but then it will search for content in this folder for all types of applications and not just HDS VOD.

    To configure only HDS - VOD, positioned on the HttpStreamingContentPath:

    Change this HttpStreamingContentPath '... / webroot/vod " to HttpStreamingContentPath" C:/hrvideos "

    Note that the location is now absolute and oblique. Likewise, you can put in a network address.

    Thank you

  • Can I turn off the change of focus from one object to another?

    Hello.

    I have a game where i control a MC with the arrows on the keyboard, when I click outside of the application flash and back in the MC loses focus. The focus moves to a button in the scene. What I have observed, is that Flash Player has a built-in control, which moves the focus from one element to the other with the arrow keys.

    Is there a way I can disable the change of focus from one object to another?

    Thank you.

    Why you need such a thing...

    Is it true that you lose the focus of your video clip and that's your keyboard listeners do not work?

    And you want to work.

    For this situaton I ideally add my Council key on the stage event listeners and the rest of the creation of the logic accordingly.

Maybe you are looking for