Help me import my synonyms please

I have 2 database (a. production, b. test).
I got an DMP file and I would like to import the synonyms into the test database.
How could I only import that?
or alternative, which query could I use to know the synonym name a table is using?
So i can make a store procedure by reading the production database synonym name and pass it to the test database.
gracias

Hi, you can use the next script for extract the ddl from your production database and after recreate into the test database.
select 'CREATE '|| decode(owner,'PUBLIC','PUBLIC ',null) ||
'SYNONYM ' || decode(owner,'PUBLIC',null, owner || '.') ||
lower(synonym_name) || ' FOR ' || lower(table_owner) ||
'.' || lower(table_name) ||
decode(db_link,null,null,'@'||db_link) || ';'
from sys.dba_synonyms
where table_owner = 'MYOWNER'
order by synonym_name
Luck.
Have a good day.
Regards.

Similar Messages

  • Hello, okay? since then, was robbed today, and my find my    iphone this down, please tell me if he has a way to locate the computer, I need the iphone again, it has many important data it please help me

    hello, okay? since then, was robbed today, and my find my
      iphone this down, please tell me if he has a way to locate the computer, I need the iphone again, it has many important data it please help me

    It's gone and you most likely are not getting it back.
    If you had important info on it, you should have made backups so you would not lose the data.

  • HT4906 hello, my hard drive broke. I purchased a noew one. Now I have no access to Iphone or any of my old apps. even after I reldownload them. Please help. Important fro work.

    hello, my hard drive broke. I purchased a noew one. Now I have no access to Iphone or any of my old apps. even after I reldownload them. Please help. Important fro work.

    Not ure what this has to do with iPhoto. Perhaps you'd be better off asking on the forum for your MacBookPro.

  • Pages "document can't be opened"... Important document! Please help...

    I made a document in pages this morning and attempted to open it just now, but it says "document can't be opened". I have tried restarting the app and ipad, nothing seems to work. I can't email it to myself either, because it can't create an email or export the document because the 'creating email,page just loads forever. I need this important document ASAP, please, do you have any suggestions? The app and my ipad 2 are both updated.
    Thank you!

    When this has happened to me, I have never been able to successfully open the document.
    Have you tried going to iCloud.com and see if you can open the file on your computer? If that doesn't work, more than likely the document isn't going to open. It's corrupt for some reason, and without being able to get into the file, there is no way to email it or change the format as you already know,

  • Please help on Import

    Hi,
    I am using Oracle8 Release 8.0.4.0.0 - Production.
    I have one oracle user called finadmin/finance. In this schema there are 400 tables of an application. These all objects are created in the user's default tablespace - 'finadmin' and for indexes we have another tablespace called 'finadminidx'.
    Now I want to create the same schema with a different User name and tablespaces in the same database.
    I took user level export of finadmin and created another tablespace with different name, different user and different tablespace for indexes then I tried to import.
    But it is not successful returns an error... It is trying to create tables and in creating script it have tablespace name of the previous user's default tablespace. that is why its returning
    imp-00003: oracle error 3113
    ora-03113: end-of-file on communication channel
    imp-00021: Operating System error - error code <dec 2, hex0*2>
    imp-00000: Import terminated unsuccessfully
    please tell me how to create same user schema with a different user ( i mean replicating the schema with different user name and tablespace names, should have different datafiles in the same database)
    Thanks in advance... please reply as soon as possible
    ...

    Hi Nicolas,
    I am posting the import log file below, please go thru it...
    Thanks...
    Connected to: Oracle8 Release 8.0.4.0.0 - Production
    PL/SQL Release 8.0.4.0.0 - Production
    Export file created by EXPORT:V08.00.04 via conventional path
    Warning: the objects were exported by VEFUND, not by you
    . . importing table "ACNT_GROUP" 15 rows imported
    . . importing table "ACNT_SUB_GROUP" 38 rows imported
    . . importing table "ACSTOBTAB" 0 rows imported
    . . importing table "DAILYWAC" 3714 rows imported
    IMP-00017: following statement failed with ORACLE error 1658:
    "CREATE TABLE "DAILY_SYMBOL_PRICE" ("PRICE_DATE" DATE, "STK_EXCHG_CODE" VARC"
    "HAR2(10), "CURR_CODE" VARCHAR2(5), "SYMBOL" VARCHAR2(15), "PRICE" NUMBER(14"
    ", 6), "UPD_FLAG" VARCHAR2(1), "UPD_STAMP" VARCHAR2(100)) PCTFREE 10 PCTUSE"
    "D 40 INITRANS 1 MAXTRANS 255 LOGGING STORAGE(INITIAL 199720960 NEXT 9984614"
    "4 MINEXTENTS 2 MAXEXTENTS 2147483645 PCTINCREASE 50 FREELISTS 1 FREELIST GR"
    "OUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "IAPMS""
    IMP-00003: ORACLE error 1658 encountered
    ORA-01658: unable to create INITIAL extent for segment in tablespace IAPMS
    . . importing table "DEALS" 626 rows imported
    . . importing table "DEAL_BK" 0 rows imported
    . . importing table "DEFAULT_ACCOUNT_CODES" 0 rows imported
    . . importing table "DELALCLNK" 0 rows imported
    IMP-00017: following statement failed with ORACLE error 1658:
    "CREATE TABLE "INVOICES" ("RATE" NUMBER(14, 6) NOT NULL ENABLE, "SLNO" VARCH"
    "AR2(10) NOT NULL ENABLE, "INV_NO" VARCHAR2(10) NOT NULL ENABLE, "INV_DT" DA"
    "TE NOT NULL ENABLE, "INVESTOR_CODE" VARCHAR2(10) NOT NULL ENABLE, "SECURITY"
    "_CODE" VARCHAR2(15) NOT NULL ENABLE, "BROKERAGE" NUMBER(14, 6) NOT NULL ENA"
    "BLE, "BS_FLAG" VARCHAR2(1) NOT NULL ENABLE, "CURR_CODE" VARCHAR2(10) NOT NU"
    "LL ENABLE, "POST_FLAG" VARCHAR2(1) NOT NULL ENABLE, "QUANTITY" NUMBER(16, 6"
    ") NOT NULL ENABLE, "VALUE" NUMBER(14, 6) NOT NULL ENABLE, "TOTAL_AMT" NUMBE"
    "R(14, 6) NOT NULL ENABLE, "FRIZZED_FLAG" VARCHAR2(1) NOT NULL ENABLE, "UPD_"
    "STAMP" VARCHAR2(50) NOT NULL ENABLE, "CR_STAMP" VARCHAR2(50) NOT NULL ENABL"
    "E, "ORDER_NO" VARCHAR2(10), "ORDER_DT" DATE, "EXG_RATE" NUMBER(14, 6), "SER"
    "V_TYPE" VARCHAR2(5), "WAC_DT" DATE, "WAC_RATE" NUMBER(14, 6), "DEAL_NO" VAR"
    "CHAR2(10), "TRADE_DATE" DATE, "VALUE_DATE" DATE) PCTFREE 10 PCTUSED 40 INI"
    "TRANS 1 MAXTRANS 255 LOGGING STORAGE(INITIAL 13189120 NEXT 6590464 MINEXTEN"
    "TS 1 MAXEXTENTS 2147483645 PCTINCREASE 50 FREELISTS 1 FREELIST GROUPS 1 BUF"
    "FER_POOL DEFAULT) TABLESPACE "IAPMS""
    IMP-00003: ORACLE error 1658 encountered
    ORA-01658: unable to create INITIAL extent for segment in tablespace IAPMS
    . . importing table "INVPROS_LOG" 158 rows imported
    IMP-00017: following statement failed with ORACLE error 1658:
    "CREATE TABLE "MAIN_SUB_LNK" ("MAIN_CODE" VARCHAR2(4), "SUB_CODE" VARCHAR2(1"
    ")) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 LOGGING STORAGE(INITIAL 7"
    "823360 NEXT 3895296 MINEXTENTS 2 MAXEXTENTS 2147483645 PCTINCREASE 50 FREEL"
    "ISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "IAPMS""
    IMP-00003: ORACLE error 1658 encountered
    ORA-01658: unable to create INITIAL extent for segment in tablespace IAPMS
    IMP-00017: following statement failed with ORACLE error 1658:
    "CREATE FORCE VIEW "FUNDTEST"."SN_LOAN_WORK_TYPE" ("W"
    "ORK_TYPE","WORK_DESC","WORK_DRCR_INDICATOR","WORK_PIO_INDICATOR","CR_DATE","
    ""CR_USER_ID","UPD_DATE","UPD_USER_ID") AS "
    "select "WORK_TYPE","WORK_DESC","WORK_DRCR_INDICATOR","WORK_PIO_INDICATOR",""
    "CR_DATE","CR_USER_ID","UPD_DATE","UPD_USER_ID" from "OPS$ODBGL"."SNAP$_SN_L"
    "OAN_WORK_TYPE" with read only"
    IMP-00017: following statement failed with ORACLE error 3113:
    "CREATE TRIGGER "FUNDTEST".ordupd"
    "after update"
    "on opsfin"
    "for each row"
    "begin"
    " if updating then"
    " update opshdr set"
    "     ORDER_DT     =     :new.order_dt,"
    "     ORDER_TYPE     =     :new.order_type,"
    "      BS_FLAG          =     :new.bs_flag,"
    "      SECURITY     =     :new.security,"
    "      EXCHG_CODE     =     :new.exchg_code,"
    "      CURR_CD          =     :new.curr_cd,"
    "      STKOROPT     =     :new.stkoropt,"
    "      LIMIT          =     :new.limit,"
    "      REMARKS          =     :new.remarks,"
    "      BROKER          =     :new.broker,"
    "      STATUS          =     status,"
    "      CR_STAMP     =     cr_stamp,"
    "      UPD_STAMP     =     :new.upd_stamp,"
    "      BRK_COMM     =     :new.brk_comm,"
    "      RATE          =     :new.rate,"
    "      ALLOC_FLAG     =     :new.alloc_flag"
    " where"
    " order_no      =      :old.order_no"
    " and"
    "     Order_dt     =     :old.order_dt;"
    " update opstran set"
    " INVESTOR     =     :new.investor,"
    "     SERV_TYPE     =      :new.serv_type,"
    " TRUST_FLAG     =      :new.trust_flag"
    " where"
    "     order_no     =     :old.order_no"
    " and"
    "     order_dt     =      :old.order_dt"
    " and"
    "     investor     =      :old.investor;"
    " end if;"
    "end;"
    IMP-00003: ORACLE error 3113 encountered
    ORA-03113: end-of-file on communication channel
    IMP-00021: operating system error - error code (dec 2, hex 0x2)
    IMP-00000: Import terminated unsuccessfully
    IMP-00021: operating system error - error code (dec 2, hex 0x2)
    ----------------------------------------------------------------------------------------------------------

  • Need help for importing oracle 10G dump into 9i database

    hi, Someone help me to import oracle 10G dump into 9i database. I'm studying oracle . Im using oracle 10G developer suite(downloaded from oracle) and oracle 9i database. I saw some threads tat we can't import the higher version dumps into lower version database. But i'm badly need help for importing the dump...
    or
    someone please tell me the site to download oracle 9i Developer suite as i can't find it in oracle site...

    I didnt testet it to import a dump out of a 10g instance into a 9i instance if this export has been done using a 10g environment.
    But it is possible to perform an export with a 9i environment against a 10g instance.
    I am just testing this with a 9.2.0.8 environment against a 10.2.0.4.0 instance and is working so far.
    The system raises an EXP-00008 / ORA-37002 error after exporting the data segments (exporting post-schema procedural objects and actions).
    I am not sure if it is possible to perform an import to a 9i instance with this dump but maybe worth to give it a try.
    It should potentially be possible to export at least 9i compatible objects/segments with this approach.
    However, I have my doubts if this stunt is supported by oracle ...
    Message was edited by:
    user434854

  • I need help instantly on this program please

    import java.util.*;
    public class D3
              private static int[] z = new int[100000];
    private static int first=z[0];
              private static int last=z[n-1];
              private static int n=100000;
    public static void main(String args[])
    Scanner input=new Scanner(System.in);
    for(int i=0;i<z.length;i++)
              z=2*i;
    int seqSearch(z;50000;n); //method call 4 key where key=mid
              int binSearch(z;first;last;50000);
              int seqSearch(z;35467;n); //method call 4 key where key in the left half
              int binSearch(z;first;last;35467);
              int seqSearch(z;89703;n); //method call 4 key where key in the right half
              int binSearch(z;first;last;89703);
              public int seqSearch(int z[];int key;int n)
         long start = System.currentTimeMillis();
    int count=0;
    int ans=-1;
    for(int i=0;i<n;i++)
    if z[i]=key
    count++
    {ans=i
    break;}
    return ans;
    long elapsed = System.currentTimeMillis() - start;
    System.out.print("Execution Time:" + elapsed);
    System.out.print("# of Basic Operations:" + count);
         public int binSearch(int z[];int first;int last;int key)
         long start = System.currentTimeMillis();
         int count=0;
         if(last<first){
         count++;
         index=-1;
         else
         count++;
         int mid=(first+last)/2
         if(ket=z[mid]{
         index=mid;
         else
         if(key<z[mid]){
         index = binSearch(z[];first;mid-1;key);
         else
         index=binSearch(z[];mid+1;last;key);
         return index;
         long elapsed = System.currentTimeMillis() - start;
         System.out.print("Execution Time:" + elapsed);
         System.out.print("# of Basic Operations:" + count);
    // if anyone could tell me whats wrong with my code i'd be greatful...the program is supposed to perform binary and sequential search on a sorted array of 100000 numbers.once on an item in the middle of the array once on the right side of it and once on the left side...i also need to count the number of basic operations for the same number in both sequential and binary to see whats better.and i need to check the time...plz i need help now,,,

    "Guide to a first-time poster"
    you need to add exclamation marks to signify how urgent it is
    e.g.
    i need help instantly on this program please!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    capital letters is better
    I NEED HELP INSTANTLY ON THIS PROGRAM PLEASE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    starting the italics on line 1, better again
    import java.util.*;
    public class D3
    private static int[] z = new int[100000];
    private static int first=z[0];
    private static int last=z[n-1];
    private static int n=100000;
    public static void main(String args[])
    Scanner input=new Scanner(System.in);
    for(int i=0;i<z.length;i++)
    z=2*i;
    int seqSearch(z;50000;n); //method call 4 key where key=mid
    int binSearch(z;first;last;50000);
    int seqSearch(z;35467;n); //method call 4 key where key in the left half
    int binSearch(z;first;last;35467);
    int seqSearch(z;89703;n); //method call 4 key where key in the right half
    int binSearch(z;first;last;89703);
    public int seqSearch(int z[];int key;int n)
    long start = System.currentTimeMillis();
    int count=0;
    int ans=-1;
    for(int i=0;i<n;i++)
    if z=key
    count++
    {ans=i
    break;}
    return ans;
    long elapsed = System.currentTimeMillis() - start;
    System.out.print("Execution Time:" + elapsed);
    System.out.print("# of Basic Operations:" + count);
    public int binSearch(int z[];int first;int last;int key)
    long start = System.currentTimeMillis();
    int count=0;
    if(last><first){
    count++;
    index=-1;
    else
    count++;
    int mid=(first+last)/2
    if(ket=z[mid]{
    index=mid;
    else
    if(key><z[mid]){
    index = binSearch(z[];first;mid-1;key);
    else
    index=binSearch(z[];mid+1;last;key);
    return index;
    long elapsed = System.currentTimeMillis() - start;
    System.out.print("Execution Time:" + elapsed);
    System.out.print("# of Basic Operations:" + count);
    and what about the dukes, offer 10 (never to be awarded, of course)
    do this, then sit back and watch the replies roll in.

  • Need help to import and syncronize HCM pagelets with Interaction Hub, how can I do that?

    Hi,
    I need help to import and synchronize HCM pagelets with Interaction Hub, how can I do that? The default page "Select Remote Content" of the WorkCenter "Unified Navigation WorkCenter" is not working as well, when I run the import/sync button I get the following error message:
    Integration Gateway: General Connection Failed (158,10836)
    This error is thrown when there is no valid response.
    Possible errors include:
    Bad gateway URL
    Sync Service Timeout set and Service actually timed out.
    Java exception thrown - Check Application Server for possible Java exception

    Do you have integration configured between the two systems?  It sounds like you don't from the error.  Here is a walk-through on setting up Unified Navigation although it assumes you have integration already working.  If you haven't done that, it's documented a hundred different places.
    http://remotepsadmins.com/2013/03/04/peoplesoft-unified-navigation-with-peoplesoft-applicatations-portal-interaction-hub/

  • Help me fix my 8900 PLEASE! Desperate now

    Hi
    A month ago, I was using my phone - had like a 20-30 minutes call, it was quite hot, so I was a little sweaty through the call (relevance will come later).
    Anyway, 5-10 minutes after call, my keypad stopped functioning completely. Read around, they said it is most likely a moisture issue.
    So now, I gave it in to a mobile repair centre - after holding it for 1 month - they said they couldn't fix it...
    What can I do to have it fixed!? Would maybe reformatting help (if anyone has a method of reformatting phone via Desktop manager - I would appreciate it). I am not worried about cost :/.
    Thank you ;(.

    Reformatting and software won't do squat for a hardware/moisture problem.
    You are probably about a month late to post here, if done in time, moistures issues are very easily overcome. 
    HOWEVER, the salts in your sweat are the problem here. Salty moisture will dry and leave minerals deposited on the inner workings of the keyboard and those mineral deposits can short the keys out.
    Nevertheless... you can try/attempt to dry out your keyboard, remove the battery and LEAVE the device open in a bag/box of dry rice for five days. Do NOT replace the battery each day to check it. Electricity and moisture do not mix well... 
    http://www.blackberryfaq.com/index.php/Got_Your_Bl​ackBerry_Wet%3F
    All that said... if cost and money is not a problem, get a new 8900. I have a feeling you've fried this one by waiting too long.
    And, get a Best Skins Ever for full protection of your device.
    Message Edited by JSanders on 10-07-2009 10:57 AM
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Help me save my texts please!!

    I updated my software to the os 6..its not the best but I've gotten used to it. The problem I hyave though is with the new software there is no keep sms messages forever option. My text conversations are constantly getting deleted...any way to keep my messages forever without having to back them up on a computer??

    First thing? Check the File Free at Options > Device > Status, what is the number at File Free?
    Now, leaving the device powered ON, remove the battery of your device, hold a minute, replace and reboot.
    What is the File Free now?
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Help me find my ipod please

    i lost my ipod touch in my friend's dad's car or in my room.. i looked everywhere in my room.. nd my friend say her dat looked in the car and didnt see it, bt i dont kno how thoroughly he looked but i kno its either in his car or in my room, because the last place i had was in his car. I have the app Text Me on my ipod can that in any way help me find my ipod because, the wifi on my ipod is turned off, and i dont have other apps or anything to help me find it.. please help because my mom bought me that for christmas and its was very expensive.

    With wifi off all you can do is look for it like a lost glove. Sorry.

  • Urgent help for extremely new newbie - please.

    I have been asked to set up a Labview program to graph and log
    thermocouple temperature measurements from two Keithley 2001 Multimeters
    and a DC voltage from HP 34420A nano Volt/Micro Ohm Meter. All three are
    instruments are IEEE interfaced to a Windows 98 machine running Labview
    (version 5.0 I think.) I have a couple of weeks to get the job done.
    The problem is that I have never used Labview. I am an experienced C,
    Fortran, BASIC programmer but this graphical system is completely new.
    My situation is complicated because I am told the experienced person who
    was originally going to set this up left under bad circumstances and
    took many of the manuals. I would greatly appreciate any and all help I
    can get.
    Please feel free to send responses directly to me.
    [email protected]
    Thanks,
    Stan Thomas

    In article
    <[email protected]>,
    Stan Thomas
    wrote:
    > I have been asked to set up a Labview program
    to graph and log
    > thermocouple temperature measurements from two
    Keithley 2001 Multimeters
    > and a DC voltage from HP 34420A nano Volt/Micro
    Ohm Meter. All three are
    > instruments are IEEE interfaced to a Windows 98
    machine running Labview
    > (version 5.0 I think.) I have a couple of
    weeks to get the job done.
    > The problem is that I have never used Labview.
    I am an experienced C,
    > Fortran, BASIC programmer but this graphical
    system is completely new.
    > My situation is complicated because I am told
    the experienced person who
    > was originally going to set this up left under
    bad circumstances and
    > took man
    y of the manuals. I would greatly
    appreciate any and all help I
    > can get.
    >
    > Please feel free to send responses directly to
    me.
    >
    > [email protected]
    >
    > Thanks,
    >
    > Stan Thomas
    >
    >
    All manuals are available at
    http://www.natinst.com/manuals/
    They also have an example program database at
    http://www.natinst.com/support/epd/
    Sten Karlson
    D/A Production AB
    SWEDEN
    Sent via Deja.com http://www.deja.com/
    Share what you know. Learn what you don't.

  • Hi I have a Iphone4 in using. I couldn't find Safary, E-mail and notes from my phone one day. I made this mistake when I want to delete some programe from my phone. Who can help I recovery my phone please.

    Hi
    I have a Iphone4 in using. I couldn't find Safary, E-mail and notes from my phone one day. I made this mistake when I want to delete some programe from my phone. Who can help I recovery my phone please.
    Thanks

    Hello, HenryWang2103.
    Thank you for visiting Apple Support Communities.
    The Safari, Email and Notes applications are native to the iOS and is unable to be deleted.  Since this is the case, they are either in a folder on the iPhone, on another page or Restrictions are enabled.  You can also search for these Apps on the iPhone by touching the screen and sliding your finger down.  Here is some information regarding these features.  The information about folders is located in the user guide below.
    iPhone User Guide
    iOS: Understanding Restrictions (Parental Controls)
    http://support.apple.com/kb/HT4213
    Cheers,
    Jason H.

  • Import package (synonym) from db

    Hi,
    in our DWH we use a dedicated user (owbread) to read all data from all source databases . Tables are granted to this user in the source databases via synonym. The user does noown any tables , vies or packages himself.
    With tables this works fine. I can import them via obi and extract data in the etl processes.
    We want to do exactly the same with packages (and procedures or functions). We have created synonyms for the packages in the source database, but when we want to import the packages, we cannot see them in the import wizzard.
    Do we really need to copy these packages over to the data warehouse or how do we import them ?
    Regards,
    Knut
    P.S. OWB 11.1.0.7.0
    source db Oracle 9i
    Edited by: knherzog on 25.01.2011 02:16

    I faced the same problem long ago. may be you can raise a SR.
    the alternate is to create the location pointing to that schema.
    Unable to import private Synonym for procedure  in OWB
    Cheers
    Nawneet

  • I purchased a factory unlock I phone 4s and I want to use it on idea cellular network..can you help in settings of 3G please?

    I purchased a factory unlock I phone 4s and to use it on idea cellular network..can you help in settings of 3G please?

    In ? which country and I mean a Store owned and run by Apple
    I see Apple do not have any stores in India
    Idea (if you are in India) is not an approved Apple carrier but IF your iPhone
    is a genuine unlocked iPhone it should work on a GSM network
    although all the features will not be supported
    Put in a microsim and  activate  through iTunes

Maybe you are looking for