Move a procedure from one database to another database

Hi all,
I have a procedure belonging to a schema in one of the databases in a server (say host A).
I have a new server (say host B) and I have installed RDBMS and have created a database.
Now, I want to move that particular procedure (in host A) to the new schema of a database in host B.
What are the steps to be followed? please help me out.
Note: It is not moving a procedure from one database to another, infact from one host to database in another host.
Thanks,
ora_sri

The steps are:
1. Pay more attention to your instructor in school.
2. Do your web searches using google.com so as not to ask other people to help you cheat on your exams.
3. Apologize to your instructor.
How do I know you are a student?
1. No version number.
2. No such thing as host A and B
3. If you had ever written a procedure in your life you would already know the answer.
So let us add #4 to the first list.
4. Write a stored procedure, save it to your hard disk, and then stare at the file you created until inspiration strikes you.
Sorry for being harsh here but I spent 10 years teaching Oracle at the University of Washington and I failed students
who did what you did. Even asked that one be expelled. So I am doing you quite a favor and hope you learn the lesson
I am trying to teach for your own good.

Similar Messages

  • Move OMS repository from one node to another&configure agents.OEM10.2.0.4

    Hi experts,
    I explain:
    my environment has two nodes:
    nodeA and nodeB (OSLINUX 64BITS)
    nodeA+nodeB has a database, DB1, that is a OracleRAC between these two nodes.
    OMS is installed on this database.
    I want to move repository,OMS in a third node, separately from these two, and migrate database repository to this third node.
    II have checked note. 382698.1
    How to move OMS repository from one node to another - Step-by-Step guide.
    but my version is 10.2.0.4 (not 9i) and in this note don explain how modify file AGENT_HOME>/sysman/config/emd.properties.
    Can you help me, please?
    Thank you for your time.
    JRC

    Once you move the repository, go to each agent and do this:
    1) Stop agent and cleanup the status, etc...
    cd <AGENT_HOME>
    bin/emctl stop agent
    rm -r ./sysman/emd/state/*
    rm -r ./sysman/emd/upload/*
    rm -r ./sysman/emd/collection/*
    rm ./sysman/emd/lastupld.xml
    rm ./sysman/emd/agntstmp.txt
    rm ./sysman/emd/blackouts.xml
    rm ./sysman/emd/protocol.ini2) Then edit the $AH/sysman/confiig/emd.properties with your new data (host:port):
    REPOSITORY_URL=https://newhost.domain.com:1159/em/upload
    emdWalletSrcUrl=http://newhost.domain.com:4889/em/wallets/emd3) And finally start the agent:
    $AH/bin/emctl start agent
    $AH/bin/emctl upload:p
    PS: And be patient, it may take up to 30 minutes to re-sync with the new OMS.
    +

  • I need a shell script to move latest archivelogs from one server to another server..

    Hi,
         I need a shell script to move latest archivelogs from one server to another server..
    Thanks&Regards,
    Vel

    ea816fb9-f9ea-45ac-906f-36a8315970d0 wrote:
    Thanks it's really helpfull..
    Now i have pasted a shell script which generates archivelog and shows latest archivelog time..
    just check let me know the answer, that how i need to execute it..
    # Force a logswitch to get the last archivelog to the standby host
    ORACLE_SID=ORCL
    ORAENV_ASK=NO
    . oraenv >/dev/null 2>&1
    SwitchLogfile()
      # Do logswitch 
      RESULT=`echo "Alter system switch logfile;" | sqlplus -S / as sysdba | grep 'System altered'`
      if [ "$RESULT" = "System altered." ]
      then
      export RETURN=1
      else
      export RETURN=0
      fi
      # Do we need to do something with this return value?
      export RETURN
    GetArchiveTime()
      CURYEAR=`date +%Y`
      echo "set heading off;" > temp.sql
      echo "set termout off;" >> temp.sql
      echo "select to_char(first_time,'YYYY-MM-DD HH24:MI:SS') from v\$archived_log where sequence#=(select sequence# - 1 from v\$log where status='CURRENT');" >> temp.sql
      sqlplus -S / as sysdba <
    spool tempres.txt
    @temp.sql
    quit
    EOF
    cat tempres.txt | grep ${CURYEAR} | grep -v grep | awk '{print $1" "$2}'
    #rm -f temp.sql  tempres.sql
    SwitchLogfile
    GetArchiveTime
    You seem to have ignored Dude's VERY good advice and continue to press down this ill-advised path.  If you continue this approach, you WILL have problems at the very time you do not need any additional problems.  Trying to recover your production database at 2:00 in the morning is not the time to be getting errors from rman because it can't find what it needs - because you decided to move them around yourself.
    Please reconsider.

  • How do I move Contacts & Calendar from one User to another User on the same Macbook Pro?

    How do I move Contacts & Calendar from one User to another User on the same Macbook Pro? OSX 10.9.5

    is this second library in a different account on the computer?
    Look at Home Sharing.
    iTunes: How to share music and video - http://support.apple.com/kb/HT2688 - about Music Sharing and Home Sharing
    Home Sharing Support page - http://www.apple.com/support/homesharing/
    iTunes: Setting up Home Sharing on your computer - http://support.apple.com/kb/HT4620
    iTunes Home Sharing now works between users on same computer - https://discussions.apple.com/thread/3865597

  • HT4528 how do i move an icon from one screen to another on my Iphone 5?

    How do I mov an icon from one screen to another on my Iphone 5?

    Tap and hold an Icon until they begin to shake. Move the Icon towards the edge of the screen and hold for a couple seconds. The Icon will then "jump" to the next screen.

  • How do I move a contact from one group to another?

    On my device, or in iCloud on the web, how do I move a contact from one group to another.  This should be as easy as it is with calender items, but the only solution I've found is to change your default contact group, and email the contact to yourself.  Then tap the contact, and add it to your contact list.  You can then delete the original.  Is there an easier way???

    Hi rjwrjw11,
    Thanks for visiting Apple Support Communities.
    If you want a song to be listed under a different album in iTunes, you can edit the song information:
    Fixing Incorrect Song or Album Listings in iTunes
    http://support.apple.com/kb/TA24677
    Editing Track Information in iTunes
    To view and edit a song or video's info in iTunes:
    Click once on the track title to select it
    From the File menu, choose Get Info
    Click the Info tab
    Best,
    Jeremy

  • How do I move vznavigator favorites from one phone to another?

    how do I move vznavigator favorites from one phone to another?
    Wife has Pre 2 where GPS works beautiful... my old Pre Plus was always hit or miss on GPS.
    But I've developed quite a library of favorites on my Plus.  How do I move these to our new Pre 2?

    Good afternoon CWFlink.
    I am a fan of the VZ Navigator myself, and all of the great features of this application!  Is the Palm Pre 2 on the same number as the Palm Pre Plus?  If yes, you can synchronize your Favorites through our website at the following link: VZ Navigator  
    You will sign in using your My Verizon login information, and sync the Settings and Favorites to your new device.  However, if your Favorites are on a different mobile number, you will have to manually enter in the information/ settings.  I still encourage you to use the website to set everything up as you like, in case you need to change devices in the future.
    I trust this information is helpful.  
    Thank you,

  • How do i move an app from one page to another

    how do i move an app from one page to another? When I upgraded to the latest software on my 4s, the camera went to the last page rather than remaining on the home page

    What Rudegar says is true, but it's a lot easier to rearrange icons in iTunes:
    Connect your phone and open iTunes. 
    Click on the Apps tab. 
    You will see your home screen in the main window, with the other screens in a scrollable column on the right. Scroll down and click on the last page to put it in main window. 
    Now scroll the column so the home page is visible on the right.
    Click on the Camera and drag it onto the home page at the right. 
    Be careful not to accidentally insert it into another app, thereby creating a group.

  • How can I move particular users from one client to another client

    Hi, I am trying to find a way to move few or many user from one client to another. Is there a transaction available or program to move them. e.g. there is a SCC1 available to move transport only from one client to another without going through TMS.
    Is there any trick available ?
    thnx in advance

    closing this one. thnx

  • In contacts app how can I move a contact from one group to another group?

    I find I cannot move a contact from one group to another group. If I delete a contact from one group I delete that contact from my total contact population. I did not have this problem in earlier IOS versions. Can anyone help me?

    Thanks SO much, Barney.  How embarrassing, I could have sworn that I tried that first.
    I will definitely get them all moved over before I delete that account and I've already gone in & changed my preferences.  Several years ago, my husband I decided to share one calendar and one contacts list, using his mobile me account and it's been great for us.  I'm particularly thrilled to no longer serve as a human rolodex and I guess that I paniced a bit when I thought there might be a problem with our system.  I'm still confused where that "On my mac" account came from on the first place.  Do you suppose that was an automatic thing that came with the Mountain Lion upgrade?
    thanks again!

  • Can  you move your notes from one iphone to another and how?

    Can you move your notes from one iphone to another and how?

    You can do this a couple ways.  If you are using MobileMe, notes is one of the options for synchronization and that would be automatic.  Another way is to backup your iphone to iTunes, this backs up essentially all the information on your phone (except for music) and if you restore the other iphone to the image of the original your notes will be transfered.

  • I want to move my library from one account to another, it is also on a different computer. How can I do this?

    I want to move my library from one account to another.  However, when I try to sync th old account it is not syncing to my iphone or exporting out.  How can I do this? Someone told me that it may be set to WiFi but it was not.  My libray is sitting there but I can get it out.  Mean while I have changed accounts and down loading to the iphone on my new account (and changing computers as well) How do I make this work so I can get my Library to sync to my iphone or export it from the old account. Is there anyway to move my library from one accont to another from the itunes side?
    Thx Rick

    Media is permanently tied to whatever account was used to purchase it.  There is currently no possible way to change the account it is tied to.
    Is there a reason why a new account was created?

  • How to move iMovie project from one computer to another

    I have been working on an iMovie 09 project on my desktop at home.
    Now I want to work on the same project on my computer at work.
    How can I move the project from one computer to another?   What I've already tried was to make a duplicate copy of the project and then use a thumb drive to move that to another computer.   It didn't work.
    Thanks for your help.

    Hello James Snedeker,
    After reviewing your post, it sounds like you want to move a file to another disk. I would recommend that you read this article, it may be able to help the issue.
    iMovie: How to Save Projects to Another Hard Disk
    To copy an iMovie project to another disk:
    1. Quit iMovie if it is open. 
    2. Locate the project folder in the Finder.
    3. Drag the project folder to the other disk.
    Note: You must move the complete project folder, intact, to the other disk in order to successfully copy the project. The project folder has the same name as the project listed in the iMovie window. This folder includes the iMovie project file, as well as a Media folder, which contains all of the clips associated with this project. If you don't copy all of these items, the project may no longer be readable in iMovie.
    Once you have copied the project, try opening it in iMovie to ensure that it copied to the other disk successfully.
    Thanks for using Apple Support Communities.
    Have a nice day,
    Mario

  • Move a file from one lacation to another in FTP

    Hi Experts,
    i have scenario were i have to move a file from one location to another in a FTP the source and the Target  structure are same can we go  with only configuration(ID) why because there is no mapping done but i have dbout when we create a sender agreement,receiver agreemant we need to mention the Message Interface is there any way to skip the IR(Design) part
    Do provide inputs
    Thanks,
    Sampath

    hi ,
      you can skip your IR part. follow this blog
    /people/william.li/blog/2006/09/08/how-to-send-any-data-even-binary-through-xi-without-using-the-integration-repository
    /people/shabarish.vijayakumar/blog/2006/04/03/xi-in-the-role-of-a-ftp
    Edited by: Robin on Jan 20, 2009 11:50 AM

  • How to move an instance from one activity to another

    Hi all,
    Is it possible to move an instance from one activity to another using an external process? Is it possible to do this with PAPI and pass parameters to the instance in order to determine the instance's flow?
    Regards

    Yes it is possible using PAPI. I have just used PAPI to create instances . I have not tried the requirement which you want. But as per my knowledge it can be done.
    Good Luck
    Right Chord

  • How do I move a user from one computer to another?

    Our company has a volume license for CS4 and I am trying to move an employee from one MAC to another MAC.  When she logs into new MAC and tries to open InDesign or Creative Cloud they both crash.  The other programs are opening up fine.  The new MAC has a user that all CS4 programs work fine as well. 

    CS4 is from LONG before the Cloud... but recent messages that are about Cloud programs indicate that the Apple "migration tool" does not work... you need to do a new install & activation
    For your problems with new Cloud programs, try the link below
    Link for Download & Install & Setup & Activation problems may help
    -Online Chat http://www.adobe.com/support/download-install/supportinfo/

Maybe you are looking for

  • Upgrade to 8.5.1 on all computers using shared variables?

    Hello, We are currently using DSC 8.5 and hosting the shared variable engine on one 'server' computer with other computers subscribing to network shared variables.  Some of the computers are Windows XP and others are RT. When we upgrade to DSC 8.5.1

  • Messages stuck in SMQ2

    Dear All, I have configured a scenario Mail to PROXY Asynchronous. Process is working fine But every time transaction happen all messages are stuck in R/3 - ECC . A  developer needs to release these messages manually using SMQ2. what is the reason fo

  • SBH52 with Z1 doesn't work

    Hi. I bought SBH52 8 months ago and it works good, but today I wanted to listen the music and I couldnt open music by sbh52... I could only play it from Z1 walkman and I couldn't pauze, play and get next or previously music. Why? I have update Z1 and

  • Calling a function in an external actionscript

    Hi. First of all I'd like to put my hands up and say that what I know about Flash is antiquated (I used to work with Flash 4 / 5), and have now been thrown into the deep end, as it were. I have an application that has a button component. In an extern

  • Passing multiple rows from one action to another

    Hi, I've build a Guided Procedure Process with two actions. Both actions call a Visual Composer Model (deployed as Flex). The Processdesign is: Process ---Block Action 1 CO 1 as VC Model (Flex) Action 2 CO 2 as VC Model (Flex) From the first vc model