Export synonyms with schema

Hi all
I am trying to export synonyms with the schema, but they do not show on the generated script.
How can I add the synonyms?
thanks
J

Exactly what synonyms are you trying to export? If they are owned by (i.e., exist within) the schema you are exporting, then they should be exported unless you uncheck the "Synonyms" box. If instead you want to export the synonyms that point to objects in the schema you are exporting, but are owned by another schema, then you can only do it by exporting that second schema separately.
For instance, if you export schema "A' and it has synonyms to itself or to some other schema (or schemas), then they should be part of the script. If however schema "B" has synonyms pointing to schema "A" and you export schema "A" all you will get is schema "A"s objects; schema "B"s synonyms will not be included since they belong to it and not schema "A".
Hope this helps.
Ed. H.

Similar Messages

  • Workaround for ]] XML export bug with schema?

    Hi,
    It is a known issue that the ]]> sequence will not export properly to XML. If you are using a DTD, there is an entity-based workaround that is described here:
    http://forums.adobe.com/message/3774389
    The question... is there a workaround when using schema? I'm unable to figure it out.
    Thanks,
    Russ

    Hi Lynne,
    Thanks again for the thoughts. And by the way, I sympathize with your implicit complaint about how these forums work with respect to revised messages. I am accustomed to hitting Ctrl+S all the time, probably from my FM experience   Unfortunately, if you accidentally do it in the forum webpage, it submits the message. The system really needs to send revisions when they occur, because some people might just read the original email and think that's it.
    Anyway, I'm intrigued by some things you said. #1 is possible but not preferable, as schema was specifically chosen for the ability to validate attribute values. My level of attribute-based conditionalization is fairly heavy and the schema makes sure that an invalid value cannot be entered. I seem to remember back in the outset that a DTD couldn't do the level of validation I like, but I don't remember the exact reasoning. Note that I frequently assign lots of values to an attribute, tokenized with whitespace as customary.
    #3 is what I'm doing now, except with the fancy coverup tricks with spacing and back-end XSLT. I like your ideas.
    #4 is actually pure genious and it is the route I think I will go. Something you didn't know yet is that I have a script that automatically formats an XML instance like an XML editor does, incidentally by wrapping <ph> elements and setting color-formatting attributes. Thanks to ExtendScript, I was able to use regular expressions to parse out all the individual components and then create a "map" for the subsequent wrapping/formatting activities. It is quite lovely and gives me the best looking XML instances in town, with a click. Bragging aside, it would be elementary to modify that script slightly to insert another <ph> element as you suggest. Elegant and simple, but I would have never thought of that myself.
    Many thanks again,
    Russ

  • Anyone knows how to export ROLES and SYNONYMS with exp command?

    Anyone knows how to export ROLES and SYNONYMS with exp/imp commands?
    Help is needed. Thanks.

    Hi,
    Pls. post this query in RDBMS forum since Portal export import forum does not handle this.
    Thanks,
    ~Kirit.

  • How to export Synonym where owner=PUBLIC

    Hi,
    Im using oracle 11g on AIX 5.3, I have taken the export backup with data pump of one schema. its imported successfully,
    but the all synonyms are not imported,
    My table onwer is user whose backup i have taken ,
    bt the owner of the synonyms are PUBLIC
    but synonyms are not reflected in import ? why ? what should be the way to import the synonyms where user is PUBLIC?
    Please help?
    Thanks

    You are doing a schema level export so synonyms will not be exported.
    Hope this link helps
    export of public synonym in oracle
    You can also use dbms_metadata.get_ddl to generate synonym definition: select dbms_metadata.get_ddl('SYNONYM','<name-of-synonym>','PUBLIC') from dual;
    Thanks
    http://swervedba.wordpress.com/

  • Get export of cpce schema without data

    exp system/***** file=cpceschema.dmp log=cpceschema.log rows=n full=n owner=cpce
    Is this the right command, for getting export of cpce schema without data, i took export and Export terminated successfully with warnings, need suggestions.

    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    With the Partitioning, Real Application Clusters, OLAP and Data Mining options
    Export done in WE8ISO8859P15 character set and AL16UTF16 NCHAR character set
    server uses WE8ISO8859P1 character set (possible charset conversion)
    Note: table data (rows) will not be exported
    About to export specified users ...
    . exporting pre-schema procedural objects and actions
    . exporting foreign function library names for user CPCE
    . exporting PUBLIC type synonyms
    . exporting private type synonyms
    . exporting object type definitions for user CPCE
    About to export CPCE's objects ...
    . exporting database links
    . exporting sequence numbers
    . exporting cluster definitions
    . about to export CPCE's tables via Conventional Path ...
    . . exporting table COLLECTEDDATA
    EXP-00091: Exporting questionable statistics.
    EXP-00091: Exporting questionable statistics.
    . . exporting table CONFIGURATION
    EXP-00091: Exporting questionable statistics.
    EXP-00091: Exporting questionable statistics.
    . . exporting table DCCONTEXT
    . . exporting table DCPLAN
    EXP-00091: Exporting questionable statistics.
    EXP-00091: Exporting questionable statistics.
    . . exporting table EQUIPMENT
    EXP-00091: Exporting questionable statistics.
    EXP-00091: Exporting questionable statistics.
    . . exporting table FDCCONTEXT
    EXP-00091: Exporting questionable statistics.
    EXP-00091: Exporting questionable statistics.
    EXP-00091: Exporting questionable statistics.
    EXP-00091: Exporting questionable statistics.
    EXP-00091: Exporting questionable statistics.
    . . exporting table GPCDATA
    EXP-00091: Exporting questionable statistics.
    EXP-00091: Exporting questionable statistics.
    . . exporting table INDICATOR
    EXP-00091: Exporting questionable statistics.
    EXP-00091: Exporting questionable statistics.
    EXP-00091: Exporting questionable statistics.
    . . exporting table JOBS_TBL
    EXP-00091: Exporting questionable statistics.
    EXP-00091: Exporting questionable statistics.
    . . exporting table MAINTENANCEERROR
    EXP-00091: Exporting questionable statistics.
    EXP-00091: Exporting questionable statistics.
    . . exporting table MAINTENANCELOG
    EXP-00091: Exporting questionable statistics.
    EXP-00091: Exporting questionable statistics.
    EXP-00091: Exporting questionable statistics.
    . . exporting table MESCONTEXT
    . . exporting table MODULE
    EXP-00091: Exporting questionable statistics.
    EXP-00091: Exporting questionable statistics.
    . . exporting table PARTITIONMETHOD1
    EXP-00091: Exporting questionable statistics.
    EXP-00091: Exporting questionable statistics.
    . . exporting table PARTITIONMETHOD2
    EXP-00091: Exporting questionable statistics.
    EXP-00091: Exporting questionable statistics.
    . . exporting table RECIPE
    EXP-00091: Exporting questionable statistics.
    EXP-00091: Exporting questionable statistics.
    . . exporting table REQUESTS_TBL
    EXP-00091: Exporting questionable statistics.
    EXP-00091: Exporting questionable statistics.
    . . exporting table STRATEGY
    EXP-00091: Exporting questionable statistics.
    EXP-00091: Exporting questionable statistics.
    EXP-00091: Exporting questionable statistics.
    EXP-00091: Exporting questionable statistics.
    . . exporting table TREATEDDATA
    EXP-00091: Exporting questionable statistics.
    EXP-00091: Exporting questionable statistics.
    . . exporting table VARIABLE
    EXP-00091: Exporting questionable statistics.
    EXP-00091: Exporting questionable statistics.
    . exporting synonyms
    . exporting views
    . exporting stored procedures
    . exporting operators
    . exporting referential integrity constraints
    . exporting triggers
    . exporting indextypes
    . exporting bitmap, functional and extensible indexes
    . exporting posttables actions
    . exporting materialized views
    . exporting snapshot logs
    . exporting job queues
    . exporting refresh groups and children
    . exporting dimensions
    . exporting post-schema procedural objects and actions
    . exporting statistics
    Export terminated successfully with warnings.

  • How to export synonyms?

    Hello forum,
    for creating a test instance we want to export catalog data from selected users/schemas including their synonyms. With loadercli the commands "export user catalog ..." or "export schema <dbuser> ..." don't extract the synoyms. And "export table synonyms ..." doesn't works either.
    How can we export synonyms without exporting the data? Our version is 7.6.06.03 on linux (64bit).
    Regards,
    Thomas

    Hi Lars,
    I think, that our solution is a little bit too simple for a HowTo, but here it is:
    1. Get values:
    select synonymname, tableschemaname, tablename from synonyms where owner = '<dbuser>'
    2. Run loop with sql commands generated from extracted values:
    create synonym <synonymname> for <tableschemaname>.<tablename>
    An shorter alternative will be:
    select 'create synonym ' & synonymname & ' for ' & tableschemaname & '.' & tablename from synonyms where owner = '<dbuser>'
    That's all.
    Regards,
    Thomas

  • Cannot export to reporting schema (File - Export - To Reporting Schema )

    I just installed SQL Data Modeler version 2.0.0 Build 584
    Export to reporting schema (File -> Export -> To Reporting Schema ) is not working.
    I created a report schema and tried to export the Sql Data Modeler (SDM) repository to the Oracle schema.
    I received the following error from SDM: "Error occured while exporting to Reporting Schema. See the log for details".
    I checked the log ( View -> Log ) and all the log contained was "2010-01-18 11:10:23 - Exporting to Reports Schema"
    The reports schema contained 44 tables. None of the tables contain any data.
    I can create a test table and add data to it in the reporting schema. There is lots of quota available to the reports schema.
    I have tried the report export to Oracle several times with the former version with mixed results.
    Any suggestion? Does the "export to reporting schema" work for anyone else?
    The following script from TOAD describes the reports schema.
    CREATE USER SDM_REPORT
    IDENTIFIED BY <password>
    DEFAULT TABLESPACE USERS
    TEMPORARY TABLESPACE TEMP
    PROFILE DEFAULT
    ACCOUNT UNLOCK;
    -- 2 Roles for SDM_REPORT
    GRANT CONNECT TO SDM_REPORT;
    GRANT RESOURCE TO SDM_REPORT;
    ALTER USER SDM_REPORT DEFAULT ROLE ALL;
    -- 15 System Privileges for SDM_REPORT
    GRANT CREATE TRIGGER TO SDM_REPORT;
    GRANT CREATE PROCEDURE TO SDM_REPORT;
    GRANT DROP PUBLIC SYNONYM TO SDM_REPORT;
    GRANT DEBUG CONNECT SESSION TO SDM_REPORT;
    GRANT CREATE MATERIALIZED VIEW TO SDM_REPORT;
    GRANT CREATE TABLE TO SDM_REPORT;
    GRANT CREATE SESSION TO SDM_REPORT;
    GRANT SELECT ANY DICTIONARY TO SDM_REPORT;
    GRANT CREATE ROLE TO SDM_REPORT;
    GRANT CREATE VIEW TO SDM_REPORT;
    GRANT CREATE TYPE TO SDM_REPORT;
    GRANT CREATE SEQUENCE TO SDM_REPORT;
    GRANT CREATE PUBLIC SYNONYM TO SDM_REPORT;
    GRANT CREATE ANY SYNONYM TO SDM_REPORT;
    GRANT UNLIMITED TABLESPACE TO SDM_REPORT;
    -- 1 Tablespace Quota for SDM_REPORT
    ALTER USER SDM_REPORT QUOTA UNLIMITED ON USERS;

    Problem solved: Data Modeler would export other designs to an Oracle schema but not the one I was working on (Babylon). I saved a copy of Babylon, BabylonReports and deleted everything except the relational model. Then I could export it to the repository. I assume that either the logical model or dataflow model had a problem which prevented Data Modeler from saving the export. Next time I'll run Design Rules to see if there is an error I can eliminate that will allow me to save an export.

  • Export fails with ORA-24324

    After registering any XML Schema export fails with ORA-24324. any suggestions?
    Platform is Windows 2000, db characters: UTF-8
    exp system/manager@syzxml owner=(syzem) file=a.dmpExport: Release 9.2.0.4.0 - Production on Sun Nov 23 09:52:13 2003
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to: Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.4.0 - Production
    Export done in EE8MSWIN1250 character set and AL16UTF16 NCHAR character set
    server uses AL32UTF8 character set (possible charset conversion)
    About to export specified users ...
    . exporting pre-schema procedural objects and actions
    . exporting foreign function library names for user SYZEM
    . exporting PUBLIC type synonyms
    . exporting private type synonyms
    . exporting object type definitions for user SYZEM
    About to export SYZEM's objects ...
    . exporting database links
    . exporting sequence numbers
    . exporting cluster definitions
    EXP-00056: ORACLE error 24324 encountered
    ORA-24324: service handle not initialized
    EXP-00056: ORACLE error 24324 encountered
    ORA-24324: service handle not initialized
    EXP-00000: Export terminated unsuccessfully
    v$version:
    Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
    PL/SQL Release 9.2.0.4.0 - Production
    CORE 9.2.0.3.0 Production
    TNS for 32-bit Windows: Version 9.2.0.4.0 - Production
    NLSRTL Version 9.2.0.4.0 - Production
    dba_registry:
    COMP_NAME STATUS
    VERSION
    Oracle9i Catalog Views VALID
    9.2.0.4.0
    Oracle9i Packages and Types VALID
    9.2.0.4.0
    Oracle Workspace Manager VALID
    9.2.0.1.0
    Oracle XML Database VALID
    9.2.0.4.0
    nls_session_parameters:
    PARAMETER VALUE
    NLS_CALENDAR GREGORIAN
    NLS_COMP BINARY
    NLS_CURRENCY z&#9474;
    NLS_DATE_FORMAT RR/MM/DD
    NLS_DATE_LANGUAGE POLISH
    NLS_DUAL_CURRENCY z&#9474;
    NLS_ISO_CURRENCY POLAND
    NLS_LANGUAGE POLISH
    NLS_LENGTH_SEMANTICS BYTE
    NLS_NCHAR_CONV_EXCP FALSE
    NLS_NUMERIC_CHARACTERS .,
    PARAMETER VALUE
    NLS_SORT POLISH
    NLS_TERRITORY POLAND
    NLS_TIME_FORMAT HH24:MI:SSXFF
    NLS_TIMESTAMP_FORMAT RR/MM/DD HH24:MI:SSXFF
    NLS_TIMESTAMP_TZ_FORMAT RR/MM/DD HH24:MI:SSXFF TZR
    NLS_TIME_TZ_FORMAT HH24:MI:SSXFF TZR

    Try use export utility version 9.0.1.1.1 or
    store XMLType as CLOB.

  • Is it possible to create a Synonym with different column names

    Hi,
    I want to create a Synonym with different columns names (Columns not in original table) . I am not sure if this can be done . Any suggessions...
    Thanks in advance....

    Synonyms are not limited to tables. Accroding to the SQL Reference, a synonym is:
    an alternative name for a table, view, sequence, procedure, stored function, package, materialized view, Java class schema object, user-defined object type, or another synonym.
    In fact, synonyms are not even validated until they are used:
    SQL> create synonym my_synonym for table_which_does_not_exist;
    Synonym created
    SQL> select * from my_synonym;
    select * from my_synonym
    ORA-00980: synonym translation is no longer valid

  • EXPORT/IMPORT SBO SCHEMA ERROR

    Hello,
    We have a client who is working with SAP BusinessOne version for HANA, with HANA PLATFORM rev. 69 and I need to export your database and import it to our development server .
    To backup/restore the database I have performed the following steps :
    1 - I have made ​​the export of a ' SCHEMA ' with "EXPORT "SBOXXX_ES"."*" AS BINARY INTO '/tmp/SBOXXX_ES' WITH REPLACE THREADS 10;".
    2 - I have compressed files in Linux using the command : tar- czvf .....
    3 - I've Unzipped the files to our local server.
    4 - Performing the ' IMPORT ' command gives me the following errors,I tried two ways to import :
    4.1 - IMPORT  "SBOGXXX_ES"."*" as binary from '/tmp/SBOXXX_ES' with replace threads 10 rename schema "SBOXXX_ES" to "SBOXXX_ES_2";
    Error mesage: SAP DBTech JDBC: [2]: general error: [Other schema]._SYS_SS_CE_1957622_RET not found in the import directory.
    4.2 - IMPORT "SBOXXX_ES"."*" as binary from '/tmp/SBOXXX_ES'
    with replace threads 10 NO DEPENDENCIES
    rename schema "SBOXXX_ES" to "SBOXXX_ES_2";
    Error mesage: SAP DBTech JDBC: [2048]: column store error: table import failed:  [30111] Binary import failed (could not execute create statement);invalid column view: ODLN: line 7 col 45 (at pos 506) at ptime/query/checker/check_cube.cc:259
    I guess when you export the " SCHEMA " exported la la " DEPENDENCIES ON" option and these are generating the first error when importing .
    If the error is of the DEPENDENCIES, in which DEPENDENCIES are stored files to edit , and remove all that is giving the error (SYS_SS_CE_1957622_RET ) .
    Thank you very much for your support .
    Adria.

    Hi Adria,
    I asked you to test the import on the system you exported from to determine if the problem is occurring because you are transporting the files from system 1 to system 2.  If it works on point of origin we should investigate why the transfer is corrupting the file.  I thought it would be ok because you are renaming the schema as part of the process.  I would not want to import @point of origin without the rename.
    Whenever some one asks me how to export a schema and import it with a different name I provide:
    export "SBODEMOGB"."*" as
    binary into '/home/SBODEMOGB' with replace threads 10;
    import "SBODEMOGB "."*" as
    binary from '/home/SBODEMOGB_901' with replace threads 10 rename schema "SBODEMOGB" to
    "SBODEMOGB_NEW";
    You are using the statement I would provide. 
    I cannot find an hints for the error reported (SYS_SS_CE_1957622_RET).  If you do not see anything more helpful in the trace file I would suggest opening a customer message.
    Best regards,
    Duncan

  • Related to export/backup planning schema before Planning app. migration

    Hi,
    I need to take backup of Planning planning schema before Planning application migration- (from 9.3.1 to 9.3.1)
    1) does all Hyperion services need to be running? for cssexportimport and schema backup?
    2) does it mean to export/import of schema which we have associated with datasource/particular application?
    3) if we copy SID from target before schema restore and then we store SID after schema restore will it be always successful (as i don't know from where i can check the owner of application from source server).
    4) Should we stop planning services before schema restore?

    Kumar 1  wrote:
    Hi,
    I need to take backup of Planning planning schema before Planning application migration- (from 9.3.1 to 9.3.1)
    1) does all Hyperion services need to be running? for cssexportimport and schema backup?You need Shared services running for CSSExportImport, for the schema that just needs the Oracle database running
    2) does it mean to export/import of schema which we have associated with datasource/particular application?You will have already created the datasource on your target.
    3) if we copy SID from target before schema restore and then we store SID after schema restore will it be always successful (as i don't know from where i can check the owner of application from source server).The user should be the same application owner otherwise you will experience issues with the SID
    4) Should we stop planning services before schema restore?You should really stop planning, then restore the schema, then start planning
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Export to Reporting Schema failure

    Can I get some help with the below error when attempting to export to reporting schema. I've reviewed the repository and 79 tables were created, but no data. I looks like this error occurs at the end of the process, but prior to sql commit. The DB is Oracle XE 10g.
    "Error occurred while exporting to Reporting Schema.See the log file for details"
    2011-11-12 06:33:45,859 [Thread-11] ERROR ReportsHandler - Error Exporting to Reporting Schema:
    java.lang.NullPointerException
         at oracle.dbtools.crest.model.xtdmapping.XtdMapping.isOwnerDesignPartLoaded(Unknown Source)
         at oracle.dbtools.crest.model.xtdmapping.XtdMapping.getOwnerObject(Unknown Source)
         at oracle.dbtools.crest.exports.reports.RSMappings.export(Unknown Source)
         at oracle.dbtools.crest.exports.reports.ReportsHandler.export(Unknown Source)
         at oracle.dbtools.crest.swingui.ControllerApplication$ExportToReportsSchema$1.run(Unknown Source)
    Environment
    About
    Oracle SQL Developer Data Modeler 3.0.0.665
    Version 3.0.0.665
    Build 665
    Copyright © 2008,2010 Oracle. All Rights Reserved.
    IDE Version: 11.1.1.4.37.59.36
    Product ID: oracle.datamodeler
    Product Version: 3.0.0.665
    Version
    Component     Version
    =========     =======
    Java(TM) Platform     1.6.0_23
    Oracle IDE     3.0.0.665
    Versioning Support     3.0.0.665

    Hi,
    you can try Data Modeler 3.1 EA1 (available here http://www.oracle.com/technetwork/developer-tools/datamodeler/overview/index.html) or EA2 when it's published - mappings problem is fixed there.
    Philip

  • JAVA error when exporting to reporting schema ODDM 4.1

    When attempting to export a design to a reporting schema, we received the following error:
    ERROR ReportsHandler - error exporting to reporting schema:
    java.lang.classcastException: oracle.dbtools.crest.model.design.relational.column cannot be cast to oracle.dbtools.crest.model..design..relational.columnView
    at oracle.dbtools.crest.exports.reports.RSViewColumn.export (RSViewColumns.java:43
    at oracle.dbtools.crest.exports.reports.RSRelationalModel.export (RSRelationalModel.java:62)
    at oracle.dbtools.crest.exports.reports.ReportsHandler.export (ReportsHandler.java:135)
    at oracle.dbtools.crest.swingui.ControllerApplication$ExportToReportsSchema$1.run (ControllerApplication.java:2079)
    We downloaded and installed ODDM 4.1 (EA-1) build 4.1.0.866 to resolve an issue with column widths when exporting to the reporting schema (per SR 3-10154440761).  This is the 64 bit version with the included JAVA 1.8 JRE.

    David,
    We migrated this model from data modeler 3.3.  That Model was created from an import from Oracle Designer.  We have not yet tried to import the data model from Oracle Designer directly into v4.1 but are planning to do so shortly.   When we tried to export that design (from v3.3) to the reporting schema, it failed with object too large for column errors.  We wrote SR 3-10154440761 and were advised by Michael Wickham to use v4.1 EA as the column size issue had been resolved in this version.  It was apparent that the export to the reporting schema was making more progress before it failed on the JAVA error.
    We are trying to migrate from Oracle designer to Oracle Data Modeler

  • Data Modeler version 2.0.0 - Export to reporting schema error

    Hi i have the Oracle SQL Developer Data Modeler version 2.0.0 installed.
    When i try to export one diagram to the reporting schema, i get the following error : "Error occurred while exporting to Reporting Schema.See the log file for details".
    The log file has no errors.
    The repository owner is DBA.
    The connection is ok.
    Can you help me?
    Thanks in advance
    Paolo.

    Sorry for the log. I looked at the one at the bottom of the window, i didn't know of the one in the directory.
    I purged the log and i tried again with an account with only connect,resource privileges.
    At the bottom of the message you'll find the log.
    The java.exe points refers to the one in the java directory of the data modeler (i downloaded the one with Java included).
    Thanks for the answer
    Paolo.
    SQL> create user p identified by p default tablespace f2 temporary tablespace temp;
    User created
    SQL> grant connect,resource to p;
    Grant succeeded
    2009-10-23 09:53:10,921 [main] INFO ApplicationView - Oracle SQL Developer Data Modeler Version: 2.0.0 Build: 570
    2009-10-23 09:53:11,546 [main] WARN AbstractXMLReader - There is no file with default domains (path: domains name: defaultdomains)
    2009-10-23 09:56:36,984 [Thread-4] ERROR ReportsHandler - Error Exporting to Reporting Schema:
    java.sql.SQLException: Missing IN or OUT parameter at index:: 10
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:110)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:171)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:227)
         at oracle.jdbc.driver.OraclePreparedStatement.processCompletedBindRow(OraclePreparedStatement.java:1737)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3376)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3462)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1061)
         at oracle.dbtools.crest.exports.reports.RSCheckConstraint.export(Unknown Source)
         at oracle.dbtools.crest.exports.reports.RSColumns.export(Unknown Source)
         at oracle.dbtools.crest.exports.reports.RSRelationalModel.export(Unknown Source)
         at oracle.dbtools.crest.exports.reports.ReportsHandler.export(Unknown Source)
         at oracle.dbtools.crest.swingui.ControllerApplication$ExportToReportsSchema$1.run(Unknown Source)

  • Synonyms in schema

    Hi,
    I have some tables in schema X (ts1, ts2, ts3 and synonyms for those tables are t1, t2, t3)
    I have another schema Y
    there are some stored procedures in this schema which use to refer tables with table name in schema X ( select from x.ts1 where )
    Now I was asked to change the procedures to refer synonyms rather than table name
    (X.t1)
    I have changed schema name. table name to synonym and tried to compile the procedure
    its throwing an error
    LINE/COL ERROR
    26/5 PL/SQL: SQL Statement ignored
    26/17 PL/SQL: ORA-00942: table or view does not exist
    if I keep procedures with schema name.table name compilation is sucessful
    if I am in toad session with user schema Y
    I can see all synonyms related to schema X
    what other grants do I need to overcome this error ?
    Thanks,

    I think your synonyms are not public.
    Just check that.
    Amardeep Sidhu

Maybe you are looking for

  • Extended desktop

    I am running an Imac G5 that I just had repaired. Before the repair i was able to do an extended desktop. Now I am not able to. Support says that the my version will only do mirroring and that maybe the previous user had DLed someting that would do e

  • Question for BDC about tcode VK12

    Hi, everyone, i encounter a problem when i use BDC to transfer data about vk12. when i usd BDC to transfer value to the field F001,F002, F003 and F004-LOW then click run, the detail record are be chosed and displayed, then i must chose them and click

  • No entry in table for key T012K

    hi I am getting an error with Pre-DME  "No entry in table for key : T012K" I am getting this for all the company codes except one which is the sending company code , everything is maintained correctly like the DTAKT feature and all the company codes

  • Configuring ALEAUD message between Non - SAP sytem and SAP sytem through XI

    Hi We have Scenario like an IDoc would be send to SAP through XI system by a non - sap system and expects the Status of the sent IDoc from SAP system in an Async communication by using ALEAUD message type. Non SAP <==> XI <==> SAP We have tried and e

  • HT3819 My ipad2 and apple tvs won't work for very long

    I've been having problems with streaming of even beaming from iPad 2 to Apple TV ( I have 2 )...  My iMac settings seem correct... I can't even stream CNN on iPad for more than 30 seconds, it just stops... I've tested my wifi signal and 20+ Mbps, I u