ORA-01775: looping string of synonyms

There are several Oracle errors in the alert.log file. The errors are as follows:

ORA-12012: error on auto work 119785
ORA-01775: looping string of synonyms

There are synonymous 17946 sysnonyms PUBLIC and 3 application.

The question looping synonymous in database xxx. I have to identify the synonym (s) that has been defined that referred to itself.

How to identify the synonym (s) who has been defined that is mentioned of 17946?

I would be grateful for any suggestions to correct the above errors.

Thank you!

Hello

First of all, you can identify what makes this work by running the following query:

select job, schema_user, what
from dba_jobs
where job = 119785;

Then, since the PL/SQL or the executed program, you can get the name of the synonym and try to get
its definition:

Select synonym_name, table_owner, table_name, owner
of dba_synonyms
where synonym_name = {color: red} synonym_name {color};

The "Table_name" gives the object referenced by the synonym you then, you can check if
This is another synonym.

Before you delete any synonym, it is best to check if this synonym is used by another object. A procedure,
a package can become invalid if they referred to a synonym has dropped.

Hope this helps.
Best regards
Jean Valentine

Tags: Database

Similar Questions

  • "Getting Started" VM said "ORA-01471: cannot create a synonym.

    People,

    I downloaded the VM with demo integration OGG + ODI for 12.1.3, as well as the PDF "Getting Started with Oracle Data Integrator 12 c". Try step 10.3.2 on pg 92: "Initial running load staged Mapping", but it throws the error message:

    ODI-1228: task Create synonym on target-LKM Oracle for Oracle (DBLINK) - fails when connecting the TRG_ODIDEMO target.

    Caused by: java.sql.SQLException: ORA-01471: cannot create a synonym with the same name as the object

    He told the truth, I tried the code in sqlplus with the same error:

    SQL > conn odi_staging/oracle;

    Connected.

    SQL > create synonym ODI_STAGING. C$ _0OGG_CUSTOMER1 for ODI_STAGING. C$_0OGG_CUSTOMER1@ORCL;

    ERROR on line 1:

    ORA-01471: cannot create a synonym with the same name as the object

    Initially, the definition of database server did not have the Instance = orcl inside, I added and got the same error with and without "orcl". Why is this happening? Another odd piece that may be associated with: I tried this mapping even earlier, and it got stuck on the front line, trying to create a view, but was insufficient privs for ODI_STAGING select the ogg_customer table. So I just did "grant dba to odi_staging;" and that was not enough! Tried stop/start ODI, then the DB without change. Hmmm, s/n role not enough? I've also had "grant select any table of odi_staging;", then this line worked.

    Back to the current problem: I can get the other procs to run, as the Clean Up target tables works very well, and the demo Client works very well.

    (1) anyone has experience this problem of synonym?

    (2) no matter who else get it to work?

    -Thanks, Steve F.

    I got the fix in the product manager. There are two very similar LKMs:

    • LKM Oracle for Oracle (DBLINK) (must be imported)
    • LKM Oracle for Oracle shoot (DB Link). GLOBAL (integrated)

    Of course, they look the same to me except that the second works and one doesn't. In all honesty, the book on pg 89 says 'Pull' in the name. Chalk it up to user error. Detective Conan.

  • ORA-19102: literal string XQuery waited while xmltable reading using the clause of passage

    Hello

    I have the following XML in the column tmp_xml in the tmp_medimail_accounts table:

    " < = xmlns:env env:Envelope ' http://schemas.xmlsoap.org/SOAP/envelope/ ">

    < env:Header / >

    < env:Body >

    " < its: findAccountByCriteriaResponse xmlns: its = ' http://session.kernel.CMP.com/ ">

    < return >

    < detailedInfo > accounts found: 1 < / detailedInfo >

    < operationResult > MPROXY_RESULT_OK < / operationResult >

    < value >

    < authCertificate / >

    < autocertificationActive / >

    < boolAck > true < / boolAck >

    < caDomain > BE_AUTO < / caDomain >

    < certified > false < / certified >

    < City > BELSELE < / City >

    < commercialAction / >

    < country / >

    < description > MediMail 3.7.4 < / description >

    other < dmi > < / dmi >

    < emailForward > false < / emailForward >

    < enabled > true < / enabled >

    < encCertificate / >

    medidoc < encodingType > < / encodingType >

    < etk / >

    < fax > LDAP this field is masked by the SECURITYFILTER < / fax >

    PC < firstName > < / name >

    < inami > 72091883000 < / inami >

    < institution > pc sint hieronymus < / institution >

    < language > NL < / language >

    < name > sint-hieronymus < / lastName >

    < lastconnectiondate > 20140115090051Z < / lastconnectiondate >

    < localeStr / >

    PC.Sint - hieronymus of < connection > < / login >

    < mail > [email protected] < / mail >

    < mexiAddress > pc.sint-hieronymus.72091883@BE_AUTO < / mexiAddress >

    < mexiBackup / >

    < mobilephone > LDAP this field is masked by the SECURITYFILTER < / mobilephone >

    < niss / >

    < oldIP / >

    < oldSystemId > 720918 < / oldSystemId >

    < packageName > M < / packageName >

    This LDAP is hidden by the SECURITYFILTER field < password > < / password >

    < pin / >

    < pkey / >

    < pkeyehealth / >

    < main > false < / main >

    < principalUserName / >

    the province <>FLANDRE_ORIENTALE < / province >

    < registrationDate > 20101213093341Z < / registrationDate >

    < role > HOSPITAL < / role >

    < sender > true < / sender >

    < senderInvisible > true < / senderInvisible >

    < subscriptiondocs > false < / subscriptiondocs >

    This LDAP is hidden by the SECURITYFILTER field < phone > < / phone >

    < improved / >

    < userpublic / >

    < usetranscodor > true < / usetranscodor >

    < version / >

    < / value >

    < / return >

    < / its: findAccountByCriteriaResponse >

    < / env:Body >

    < / env:Envelope >

    I want to read the XML column and display it as a relational table.  I have the following SQL code:

    Select x.*

    of tmp_medimail_accounts t

    xmltable)

    xmlnamespaces ('http://schemas.xmlsoap.org/soap/envelope/"as" env" )

      , ' http://session.kernel.CMP.com/ ' as 'his'

    )

    , ' env:Envelope / env:Body / its: findAccountByCriteriaResponse return value '

    in passing t.tmp_xml

    path of varchar2 (30) columns "firstName", firstName

    path varchar2 (30) LastName "lastName."

    rizivnr varchar2 (11) path 'inami ',.

    path of varchar2 (50) address "mexiAddress."

    path of varchar2 (100) email "mail."

    Gemeente varchar2 (50) path 'city') x;

    But I have error: ORA-19102: literal string XQuery WAITED

    Can someone help me?

    Best regards, Hans

    Hello

    What is your version of the database?

    It looks like an old problem related to the CURSOR_SHARING parameter.

    See if the solution given here helps: How to use a web service xml document

  • moving table to a spreadsheet of loop string to accelerate the program

    I'm working on a program that should save about 1200 number of data in a spreadsheet file several times per second (the longer the better). Right now, it reads all the data peak, puts all the data in a table 1 d of dbl, converts the array to a string of worksheet and adds the data to the output file, all inside the loop. The problem is that the loop takes a long time to run, then he tops out at about 480 Hz time through the loop. I think that the table to the string of worksheet function is what is bogged down. I just need to record a few seconds of data, so I thought that I could somehow put the data in memory (perhaps an array of arrays?) while the loop tracks, then convert it to the string of spreadsheet and save it outside of the loop. I'm pretty new to labview, and I'm not familiar with how to do it. Any suggestions?

    There are enough little things you can do to optimize this operation:

    1. Learn more about the producer/consumer architectures.  This kind of thing works best with two or more loops.  For example, we take the data and independently, it is shaped and writes data to the disk.  Alternatively, you could have a given to a format the data and you write the data to disk.
    2. Use queues to pass data between the loops.
    3. For best performance in writing on Windows platforms, write songs about 65 000 characters.  This means that you will need to put your data in the buffer and write it in pieces as soon as they are available.  You can use a shift register on the loop to write to the buffer and write only when size is greater than 65 000 characters.

    There is a lot to digest in a short period of time.  Give a shot and post your code with other issues we can help you more.

  • Concat XML - ORA-19011: character string buffer too small

    SQL > desc send_file
    Name Null? Type
    ----------------------------------------- -------- ------------
    THE APPLICATION NUMBER
    SYS XML_DOC. XMLTYPE


    insert into SEND_file (XML_DOC, REQUEST)
    SELECT
    XMLElement ("value",
    XMLElement ("id",
    XMLElement ("application")
    , XMLElement ("project", "A")
    , XMLElement ("Report", to_char (sysdate,'YYYY-MM-DD HH24:MI:SS'))))
    , XMLElement ("recordCount", count (REQUEST))
    ),
    XMLAgg)
    XMLElement ('count',
    XMLElement ("Name", "Name")
    , case when 'cCode' is not null then
    XMLElement ("cCode", "cCode") end
    XMLElement ("lNumber", "lNumber")
    XMLElement ("boxes", "boxes")
    )
    )
    -- )
    ), ASK
    Test_data_table GROUP on request
    /


    It works fine,
    but I want to add/concat ' <? XML version = "1.0" encoding = "UTF-8"? > ' this text to the above query

    as select ' <? XML version = "1.0" encoding = "UTF-8"? > ' | XMLElement ("value",
    XMLElement ("id",
    XMLElement ("request", ASK)... the rest of the query, and then

    I get this error message
    ORA-19011: too small character string buffer

    could you please let me know how can I cancat the value, as I have said that I have no problem same length is more than 4000, but now certain that the limits of XML type

    Thank you

    Try xmlroot

    select xmlroot(xmlelement("HI", 'hi'),version '1.0" encoding="UTF-8') from dual
    

    or

    select xmltype(''||xmlelement("HI", 'hi')) from dual
    

    Published by: Edward on July 12, 2011 11:58

  • Ideas for work around ORA-06502: character string buffer too small on the interactive report

    Hello

    It comes to Apex 4.2.  We try to create an interactive report.  The report is for something similar at a follow-up time.  We try to concat a comments column as the sum of the hours.  For example,.

    Select TASK_NAME, sum (HOURS), to_char (XMLAGG (XMLELEMENT(E,E.COMMENTS ||) ' : ')). Extract ('//Text ()'). GETSTRINGVAL()) USER_COMMENTS of...

    This query works fine if we seek only to a window of 1 week.  The question that we live, when we expand the scope of the query to include data from 3 months, we hit ORA-06502 interactive report.  If we remove this column from the interactive report, then the report works very well.

    Anyone has any ideas on how we might be able to work around this problem?  I'm guessing we're reached the limit of 32 k on the report.  Ideally, we would show just the last X number of comments and then have a link to show all comments

    Any help would be appreciated

    Thank you

    Mike

    ListAGG raises an ORA-01489 for varchar2 > 4000 bytes

    OP has an ORA - 06502--> IR is running within a limit of 4 k / 32 k.

    quick fix: wrap USER_COMMENTS ListAGG in a substr (..., 1, 4000)

    Longer solution, use a subquery to modify comments based on ROW_NUMBER() (IE after the nth line, change the null)

    with
    -- simulating data
    t as (select task_id, sysdate - lv as date_entered
      ,round(dbms_random.value(1,24)) hours
      , '-*' || lv || '.' || task_id || '*-' as user_comments
    from ( select level as task_id from dual connect by level <=10 ), (select level lv from dual connect by level < 1000)
    ),
    -- modify data
    modified_data as (
      select task_id, hours, date_entered
        ,case
          when row_number() over (partition by task_id order by date_entered desc) < 5
            then user_comments
          else null
         end USER_COMMENTS
        from t)
    select task_id, sum(hours) total_hours,
      listagg( user_comments  ) within group (order by date_entered desc)
      || case when count(*) >= 5 then '! MORE COMMENTS !' else null end
        as user_comments
    from modified_data
    group by task_id;
    
  • XML-aggregation and ORA-19011 (character string buffer too small)

    Hello

    I have a problem (ORA-19011) with a query that contains the data for each line through xmlagg().
    You can find the query below. It works very well, until the t2.data aggregate becomes too big - that's when I get the error ORA-19011.
    can someone give me a clue how to solve this problem through sql?
    If not, can someone tell me what setting I have to adjust in the server-config to avoid this problem?

    Thank you very much!

    -----------------------------------------------------------------------
    SELECT
    (
    SELECT rtrim)
    XMLAGG)
    XmlElement)
    e,
    (
    T2. Data
    )
    () .extract('//text () ') ORDER BY t2.data
    ),
    ', '
    )
    FROM table2 t2
    WHERE t2.foreign_id = t1.id
    ) In the form of data

    FROM table1 t1
    -----------------------------------------------------------------------

    Please always provide your version of db up to 4 digits!

    You can try:

    select (select rtrim (xmlagg (xmlelement (e, (t2.data)).extract ('//text()') order by t2.data).getclobval (), ', ')
              from table2 t2
             where t2.foreign_id = t1.id)
             as data
      from table1 t1
    /
    
  • How to use as operator for several values

    Hi all

    I want to obtain the column values for the column - filed_name which ends by ('X 1', 'X 2' 'X 3' 'X 4' 'X 5' 'X 0' 'XA' 'XB' "XM" "XP" 'X' "CM" "MT") of the variable_info table


    I tried to use as shown below

    SELECT * FROM VARIABLE_INFO WHERE FieldName like (' %x 1 "," %X 0 ");

    but getting error
    ORA-00907: lack of right parenthesis

    can someone tell me how to use as operator for multiple values?

    Thank you/kumar

    You need not a subquery, just make sure that you use parentheses to group your GOLD requirements

    SELECT RELATION ,
    FIELD_NAME ,
    ATTRIBUTE ,
    FIELD_DESCRIPTION,
    SOURCE
    FROM VARIABLE_INFO
    WHERE RELATION NOT IN ( 'CHAI',  'ITAB', 'ITB2', 'ITB3', 'MINI', 'NOTE', 'MINC', 'FINI', 'FTIM', 'FWTG', 'FMLY', 'FMIS', 'FSUM', 'MEMB' ,'FINC', 'FASO')
    AND (SUBSTR(FIELD_NAME,-2) in ('X1', 'X2' ,'X3', 'X4', 'X5', 'X0', 'XA', 'XB', 'XM' ,'XP' ,'CM','MT')
      OR substr(FIELD_NAME,-1) in ('X')
      OR substr(FIELD_NAME,1) in ('J')
      )
    AND (ATTRIBUTE LIKE 'NUM%' OR ATTRIBUTE = '-') ;
    

    The error you are getting sounds like a problem with the definition of VARIABLE_INFO. It seems the synonym or something that it points to rear edge

    For example:

    CREATE SYNONYM X FOR DUAL;
    CREATE SYNONYM Y FOR X;
    CREATE OR REPLACE SYNONYM X FOR Y;
    SELECT * FROM Y;
    
    SQL Error: ORA-01775: looping chain of synonyms
    

    Kind regards
    Bob

  • Error when using DataBase LINK in pl/sql

    I have cursor fetch some distance db values and I'm trying to store values in the local table (see code below) I can run select it asks only successfully but when I use it inside plsql it fails with the error.
    DECLARE
    TYPE MY_CURSOR
    IS
         REF
         CURSOR;
              THE_CURSOR MY_CURSOR;
              V_CT          NUMBER(18);
              V_PSN_ID      VARCHAR2(30);
              V_INTERNET_ID VARCHAR2(75);
         BEGIN
              V_CT                                                                           :=0;
              OPEN THE_CURSOR FOR SELECT PSN_ID, 'TEST' FROM TABLE_A@PRO1 WHERE TABLE_A.SEQ_A<=1000;
              LOOP
                   FETCH THE_CURSOR INTO V_PSN_ID, V_INTERNET_ID;
              EXIT
         WHEN THE_CURSOR%NOTFOUND;
               INSERT INTO PSN_EMAIL_SENT_TO@local
                        (PSN_ID, LAST_UPDT_DT
                        ) VALUES
                        (V_PSN_ID, SYSDATE
                        );
              
              V_CT:=V_CT+1;
         END LOOP;
         CLOSE THE_CURSOR;
         DBMS_OUTPUT.PUT_LINE
         (
              TO_CHAR(V_CT)
         )
         ;
    END;
    Error report:
    ORA-04052: error occurred when looking up remote object  TABLE_A@PRO1
    ORA-00604: error occurred at recursive SQL level 1
    ORA-04029: error ORA-1775 occurred when querying ORA_KGLR7_DEPENDENCIES
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01775: looping chain of synonyms
    ORA-02063: preceding 3 lines from PRO1
    04052. 00000 -  "error occurred when looking up remote object %s%s%s%s%s"
    *Cause:    An error has occurred when trying to look up a remote object.
    *Action:   Fix the error.  Make sure the remote database system has run
               KGLR.SQL to create necessary views used for querying/looking up
               objects stored in the database.

    You must create the catalog views that support distributed SQL in your remote database (the database you connect to via db_link).
    To create these views, connect "/ as sysdba" and run:
    $ORACLE_HOME/rdbms/admin/catproc.sql
    that in turn calls several other scripts, including: $ORACLE_HOME/rdbms/admin/catrpc.sql (which creates your missing view)

    It is best to run the whole catproc.sql script (and not only the script catrpc).
    You can run and rerun catproc.sql several times without problem.

    See you soon

  • ORA-00980: synonym translation is no longer valid

    I have a two databases. CARRIER_DEV and TRANSPORT_DEV. Everything works fine in Oracle 11 g, but when we migrated to Oracle12c, INFO_FUNC (service Oracle) residing in CARRIER_DEV under carrier scheme is called TRANSPORT_DEV, throwing the ORA-01775: synonym of closure chain. which caused ~ 9 invalid objects.

    SELECT INFO_FUNC('1','NAME') FROM DUAL; This has been called TRANSPORT_DEV.

    The DB of TRANSPORT_DEV to CARRIER_DEV link has been created to help

    CREATE THE DATABASE LINK RCAR PUBLIC
    CONNECT TO CARRIER_USR
    IDENTIFIED BY < PWD >
    With the HELP of ' Carrier_dev. WORLD ';

    We have created the synonym and gave the CARRIER_DEV necessary.

    CREATE THE INFO_FUNC FOR CARRIER.INFO_FUNC PUBLIC SYNONYM;
    GRANT EXECUTE ON CARRIER.INFO_FUNC TO CARRIER_USR;

    Transport_dev database,

    I created the following synonym to access the CARRIER.INFO_FUNC

    CREATE THE INFO_FUNC PUBLIC SYNONYM FOR "PUBLIC".INFO_FUNC@RCAR;

    After analysis of the issue, I found that the public synonym in Transport_dev uses 'PUBLIC' as a schema instead of CARRIER name. (It works fine in Oracle 11 g. Explain what is 'PUBLIC' means here).

    So I decided to use the name of schema instead of 'PUBLIC '.

    CREATE THE INFO_FUNC FOR CARRIER.INFO_FUNC@RCAR PUBLIC SYNONYM;

    After this change, all invalid objects went into Oracle 12 c, but a new problem came.

    SELECT INFO_FUNC('1','NAME') FROM DUAL;  This SQL sataement now gives ORA-00980: synonym translation is no longer valid

    SELECT INFO_FUNC@RCAR('1','NAME') FROM DUAL; also gives the same error.


    CARRIER_DEV the database


    CREATE TABLE CARRIER. CARRIER_NAME
    (
    NAME_SEQ_NO NUMBER OF NON-NULL,
    LNAME VARCHAR2 (50 BYTE),
    FNAME VARCHAR2 (20 BYTE),
    MNAME VARCHAR2 (20 BYTE),
    VARCHAR2 (10 BYTE) SUFFIX
    );

    CREATE OR REPLACE FUNCTION CARRIER. "" INFO_FUNC "(pin_in VARCHAR2, field_in VARCHAR2: = 'TEST')
    RETURN VARCHAR2
    IS
    tmpVar VARCHAR2 (100);

    BEGIN

    SELECT lname | ',' | fname | » '|| mname | » '|| suffix
    IN tmpVar
    OF Carrier_Name
    WHERE name_seq_no = pin_in;

    END INFO_FUNC;
    /

    CREATE THE INFO_FUNC FOR CARRIER.INFO_FUNC PUBLIC SYNONYM;
    GRANT EXECUTE ON CARRIER.INFO_FUNC TO CARRIER_USR;

    In TRANSPORT_DEV

    CREATE THE INFO_FUNC FOR CARRIER.INFO_FUNC@RCAR PUBLIC SYNONYM;

    Please guide me.

    I've recreated the DBLink from TRANSPORT_DEV to CARRIER_DEV. The problem disappeared. Thank you for your help

    1. Re-create the synonym.
    2. Recreate the DBLink
  • Literal string is too long and too small string buffer

    Hello

    Can someone please explain what the difference is between these two errors.

    The maximum size of the character in SQL is 4000 and PL/SQL its 32 k. So if a string literal exceeds this limit "string literal too long" error message is triggered by oracle.

    Here is an example

    SQL> select 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
      2  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
      3  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
      4  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
      5  xxxxxxxxxxxxxxx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xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
     29  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
     30  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
     31  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' str
     32    from dual;
    select 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
           *
    ERROR at line 1:
    ORA-01704: string literal too long
    

    Now, when you try to set a string variable with a value greater than the defined size, you get "too small character string buffer.

    Here is an example

    SQL> declare
      2    var varchar2(1);
      3  begin
      4    var := 'aa';
      5  end;
      6  /
    declare
    *
    ERROR at line 1:
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    ORA-06512: at line 4
    

    Oracle error message there two of each, one for SQL and one for PL/SQL.

    ORA-19011: character string buffer too small

    Cause : the result of the chain asked is too big to go back

    Action : get the result like a lob instead

    ORA-01704: string literal too long

    Cause : the string literal is longer than 4000 characters.

    Action : use a string literal of more than 4,000 characters. Longer values can only be entered using bind variables.

    PLS-01905: character string buffer too small

    Cause : an error occurred while moving a string from a source to a destination. This error occurs if, for example, an attempt is made to move an a string of 10 characters into a buffer of 1 character. The cause of this error may not always be obvious. For example, the following will cause this error: a varchar2 (1); b the number; b: = 10; a: = b; An error occurs because an implicit conversion causes the number 10 to become the string '10', which does not fit in memory buffer of characters of 1 assigned to the variable.

    Action : first, look for the character string assignment statements where the size of the buffer is incompatible. If there is none found, then consider the case of an implicit conversion shown in the example above.

    PLS-00172: string literal too long

    Cause : the string literal is longer than 32767octets.

    Action : use a string literal of at most 32767octets.

  • Get the error ORA-39146 while trying to import data from 10 g to 12 c

    Hi all


    im getting below error while trying to import data from 10 g to 12 c


    ORA-39146: schema 'B_SITES' does not exist
    import in WE8MSWIN1252 and AL16UTF16 NCHAR character set
    export in the UTF8 character set and AL16UTF16 NCHAR character set
    ATTENTION: the possible loss of data to character set conversions


    can someone help how do we change to WE8MSWIN1252 UTF8 character set...

    Hello

    "ORA-39146: there is no schema 'B_SITES'.

    ORA-39146: schema 'string' does not exist

    Cause: The specified schema was referenced as the source of a REMAP_SCHEMA parameter, but did not exist in the dump file (for

    Action: Specify the correct name of the schema to be remapped.

    Anand

  • Private synonym &lt; type unknown obj &gt;

    Hello

    I do a script, what makes it synonymous to the new database schema 'ABC', for our existing patterns.

    part of the script is:

    SELECT * FROM)
    SELECT master, object_name of object WHERE owner IN ('ETL') AND object_type IN ('TABLE', 'SEE') AND object_name NOT LIKE ' % $% "(LESS)
    SELECT table_owner, table_name FROM all_synonyms WHERE UPPER (owner) IN ('PUBLIC', 'ABC')
    AND UPPER (table_owner) IN ('ETL'))

    r_synonym sys.all_objects%ROWTYPE;

    --
    FOR r_synonym IN table_synonyms
    LOOP
    RUN IMMEDIATELY "CREATE OR REPLACE SYNONYM ABC." | r_synonym.object_name | "FOR ' | r_synonym. Owner: '.' | r_synonym.object_name;
    END LOOP;

    Now, the synonym is created, but the info shows me 'unknown obj type <>' and as you can expect, the synonym does not work (even if it is created).

    Any ideas?
    THX

    ABC has privileges on the objects?
    For example a sysnonym on a table will not work if you do not have a privilege such as SELECT or UPDATE.

    Concerning
    Marcus

  • ORA-01756: City channel

    Hello
    I try to have something like:

    ALTER DATABASE DATAFILE 'm:\bases\mydb\data\amapp.dbf' SIZE 335544320;

    But:
    SQL> select 'ALTER DATABASE DATAFILE '||name,'' RESIZE'||bytes';' from v$datafile;
    ERROR:
    ORA-01756: quoted string not properly terminated
    
    
    SQL> select 'ALTER DATABASE DATAFILE '||name,' RESIZE'||bytes';' from v$datafile;
    select 'ALTER DATABASE DATAFILE '||name,' RESIZE'||bytes';' from v$datafile
                                                            *
    ERROR at line 1:
    ORA-00923: FROM keyword not found where expected
    Can anyone help?

    Thank you.

    >
    "ALTER DATABASE DATAFILE ' | name, "RESIZE" | bytes ';' v $ datafile
    >
    Try

    'ALTER DATABASE DATAFILE ''' || name || ''' RESIZE ' || bytes || ';' FROM V$DATAFILE
    
  • ORA-00279

    Hello
    in 10g R2 in HP unix, standby alertlog I have:
    ORA-279 signalled during: ALTER DATABASE RECOVER  standby database until change 1106544632 PARALLEL (DEGREE 6)  ...
    Tue May  3 10:02:41 2011
    ALTER DATABASE RECOVER    CONTINUE DEFAULT
    And in the documentation:
    ORA-00279: change string generated at the necessary level for string of thread string
    Cause: The required journal is required to proceed to the recovery.
    Action: Please provide the newspaper asked with "ALTER DATABASE RECOVER LOGFILE < Filename >" or cancel the recovery with "ALTER DATABASE RECOVER CANCEL.

    Then, if she can't find log file why she KEEPS by DEFAULT?

    What is Eve? And why nothing in alertlog since 10:02?

    Thank you.

    Salvation;

    Please see below which could be useful for your question:
    A principal database and synchronization of relief due to the transfer of journal gap. [150214.1 ID]
    Data protection Wizard: create Standby failure Ora-279 [ID 381536.1]

    Respect of
    HELIOS

Maybe you are looking for