copy objects from one server to another schema

Hello.


Oracle 11g running on multiple servers.


Is it possible to copy tables and procedures, at the same time
from one server to another using sqlplus?


For example, I would like to do something like this:


From sqlplus on server1:


create or replace mytable from dblink_server2.mytspace.mytable;


Any suggestions are greatly appreciated.


Thank you.

user652257 wrote:
Why does in SqlPlus but not in my procedure?

You need a direct privilege to create objects to work through the procedures or plsql.

Grant Create Table to user1;

HTH

SS

Tags: Database

Similar Questions

  • Scheduled tasks are stored in a file that can be copied easily from one server to another?

    We have a multitude of scheduled tasks.  When moving from one server to another, we currently re-enter manually the tasks.  There are problems which the least is my strike capability.  The tasks are saved in a XML or any other file type that I could just copy from one server to the other instead of re-entering?

    Thank you!

    The file is \cfusion.ear\cfusion.war\WEB-INF\cfusion\lib\neo-cron.xml

    See also: http://helpx.adobe.com/coldfusion/kb/purpose-location-xml-configuration-files.html

  • Copy paste from one server to another

    Hello

    I just thought with the installation of EMP in a server and copy the file system after installation to the other server.

    Would like to know if it's possible.

    It's

    1. perform a complete installation in Server A.
    2 using the backup of system files (option IBM TSM) option.
    3. load the data in the backup from Server B, Server B now will all the system files as server has (both servers have the same name)

    Can I now use server B to perform all the activities as A server, without any changes/configuration?


    Thank you
    Mathieu

    http://docs.Oracle.com/CD/E17236_01/EPM.1112/epm_high_avail_11121.PDF
    on page 23

    There are generally 3 ways to do it, described in the doc, you describe option 1 where they are on separate networks with the same name:

    Hostname specifications
    EPM System Disaster Recovery deployment requires a way to resolve the references to the host
    between the production and standby sites. Make sure your configuration using one of these
    options, listed in order of preference:
    -Production and standby are on separate networks. Fully qualified host names can be the same in both sites.
    -Production and standby sites have different DNS which resolves to the correct IP address host names in their network.
    The backup site can have an expectation of DNS that is activated when a disaster occurs.
    -Production host names are resolved to a local IP address on the site of relief effort through a file/etc/hosts.

    If you have separate networks, both servers have the same name but are completely separate and everything, including the database server is the same then Yes, you describe the first scenario of DR. I would recommend the hosts file option as it would ensure that guests always resolve to what you expect.

    Nick

  • Copy object from one page to another in dashbord

    Is it possible to copy an object (columns, article, link...) of the page on new page

    Thank you

    Yochai

    Yes,

    Just navigate the catalog when you change the page of dashboard on page of dashboard that contains the column, the section or article you are looking for and drag & drop into your page.

  • How to use the copy utility for app from one server to another

    Hello
    I use hyperion 9.3.1 and I want to synchronize two applications on different server, I know how to use the utility to copy of app, but on the same server, I think that we can also use this utility to copy the application from one server to another using the properties file but I dnt know how to do it because the example is SQL and I am using and database oracle
    can you guys please help.

    Published by: sharad sapra on March 31, 2011 11:33

    Hello

    1. create a property file (this example is relevant if you have a repository of ORACLE, you can find more information in http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_hp_admin/frameset.htm?ch09s01s01.html]):

    SOURCE_APP_JDBC_CATALOG = SOURCE_APP
    SOURCE_APP_JDBC_DRIVER = Hyperion.JDBC.Oracle.OracleDriver
    SOURCE_APP_JDBC_URL = jdbc:hyperion:oracle://RepositoryDatabaseServer; SID = DatabaseSID
    SOURCE_APP_JDBC_USERNAME = schemaName
    SOURCE_APP_JDBC_PASSWORD = schemaPassword
    SOURCE_APP_JDBC_DATABASE_TYPE = ORA
    SOURCE_APP_OLAP_SERVER = olapServerName:port
    SOURCE_APP_OLAP_USERNAME = olapUserName
    SOURCE_APP_OLAP_PASSWORD = olapUserPassword
    SOURCE_APP_OLAP_APPNAME = SOURCE_APP

    TARGET_APP_JDBC_CATALOG = TARGET_APP
    TARGET_APP_JDBC_DRIVER = Hyperion.JDBC.Oracle.OracleDriver
    TARGET_APP_JDBC_URL = jdbc:hyperion:oracle://RepositoryDatabaseServer; SID = DatabaseSID
    TARGET_APP_JDBC_USERNAME = DatabaseSchemaName
    TARGET_APP_JDBC_PASSWORD = DatabaseSchemaPassword
    TARGET_APP_JDBC_DATABASE_TYPE = ORA
    TARGET_APP_OLAP_SERVER = olapServerName:port
    TARGET_APP_OLAP_USERNAME = olapUserName
    TARGET_APP_OLAP_PASSWORD = olapUserPassword
    TARGET_APP_OLAP_APPNAME = TARGET_APP

    2. open CMD and type copyapp /S:yourSourceAppName T:yourTargetAppName P:yourPropertiesFileName.properties /L:yourLogFileName.log

    Once the migration has been successful, you must update your users using the UpdateUsers.cmd (UpdateUsers.cmd and PlanningUserName PlanningUserPassword TARGET_APP).

    I hope this helps...

    Kind regards
    André

  • Oracle9i database from one server to another server.

    I am an Oracle Pl/SQL Developer. We will migrate the database to Oracle9i from one server to another server (both are unix solaris). What are all the meterics we must ensure the Migration succeeded.

    rp0428 wrote:

    user12223156 wrote:

    OK, what about triggers, sequences, synonyms and links from DB? This will affect anything?

    If you stop the database cleanly and then copy all THE files to a new installation of the same version of Oracle on another machine using the same folder structure (a COLD backup) it can not miss anything.

    Re-reading the initial recognition, seeing that they do NOT change the versions of Oracle and do NOT change their operating system, it would seem that a cold backup and a restore would be the preferred method.  Very probably fewer service interruptions and a guaranteed relentless, nothing will 'disappear' from the database...

  • Computer scientists moved us from one server to another. The change of server name has left me with an orphan sync partnership.

    Our it staff moved us from one server to another.  Although I did a sync with all my spotted "available offline" files before the move, the change of server name left me with an orphan sync partnership.  Is anyway to disconnect this partnership?  I have not been able to find a way.  Thank you.

    original title: orphans of sync partnership

    Hello

    Your question is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for Windows Vista Networking forums. Please ask your question in forum Windows Vista Networking TechNet.

    http://social.technet.Microsoft.com/forums/en-us/itprovistanetworking/threads

  • When I copy something from one page to another, it seems to change text color or background, that I do not understand why he never used to do.

    When I copy something from one page to another, it seems to change text color or background, that I do not understand why he never used to do.

    Whether it's text or only a shape it changes its color to something else when I copy and paste on.

    Do you mean 'page' or 'site '?

    If you copy something from another site, the reason may be, to have different, but all also named colours on each site.

    It would be normal and causes the noticed effect.

  • How to migrate from one server to another (home of the workspace) html file

    Hello

    Does anyone know how to move an html file that is attached as a home page for the workspace from one server to another server?
    When I try to use the export option, I do not see this file to select.


    Thanks in advance,
    PM

    You can use the feature of LCM.

    THX

  • What is the process to move the VCenter SQL DB from one server to another?

    I read the threads for the displacement of vCenter Server and it's local database from one server to another. My situation is a little different.

    VirtualCenter Server 2.5 build 174768 has it's SQL database on another server.  We're going to retire that SQL server only and move just the DB to a new SQL Server - current vCenter server will not be affected.

    I'm trying to figure out how knowledge current vCenter once used SQL server (DCMNMSSQL02) DB is now on the server DCMSQL07 - which all on stays of DB.

    Hello.

    You must update the DSN on the server vCenter.  See the article kb 7960893 for more information.

    Good luck!

  • copy data from one database to another

    Hello

    I want to copy data from one database to another.

    I have two patterns such as

    dev1/dev@ORCL
    DEV2/dev@DCEL


    I have same tables dev1 and dev2 (tables)
    but I have not given in dev2 (tables).
    now, I want to copy dev1 (tables) in dev2 (tables).

    You can also use the database link:

    select * from dev1.emp@orcl;
    

    What database are you connected to?
    You must create and use the links in the database for all other databases.

    For example if you are connected to the database A and to retrieve data from database B, you must create a connection of database in base B

    create database link B connect to  identified by  using 'B';
    

    Then you can retrieve data from database B with

    select * from [yourschema.]yourtable@B;
    

    This will work only for tables that are visible to the user that you used in the definition of database link.

    Published by: hm on 10.08.2011 22:15

  • How to change the Web server from one server to another server

    Hi all

    Can you please provide the document to change the location of the web server from one server to another server?

    Thanks in advance.

    Thank you and best regards,
    Siva Prasad B

    Siva Prasad says:
    Hi Michel,.

    Coping PS_HOME just move the web server?

    And Michel and I said earlier that you need to reinstall your Web server... and to redeploy the PIA, which is not clear?

    Nicolas.

  • transfer of data from one server to another server

    transfer of data from one server to another server... How is possible?

    We used to transfer data of one cube to another using... report script... then load rule... so can we use even for that?
    but

    I would like to know any other comments and other means (like to explore)

    If you move the range of data to load into the different cube, then you can use report script or calc extrcat data and can use the rule files to load the data.
    If you move the data to load into a cube replicated in another environment, you can take the lev0 data and can do the free form of loading.

  • Copy sheets from one workbook to another

    Hello
    Is it possible to copy sheets from one workbook to another in the same sector of activity? (discoverer more 10g v 10.1.2.55.26)
    Thank you
    Select this option.

    Hello
    It is not possible to use the most.
    It is possible to do so using the Discoverer Desktop edition.

    with office, follow these steps:
    1. connect to the discoverer desktop computer and open the workbook you want to copy from.
    2. open the workbook you want to copy.
    3. While both are open, press the "Restore down" button in the upper right area of the worksheet. (the Center button of the 3 to minimize, restore down, and close).
    4. now change the size of windows so that you will be able to see two worksheets side by side 1.
    5. place the mouse on the name of the new worksheet, press left click and drag the worksheet in the second workbook.

    You move the worksheet from one to the other, if you copy the worksheet to another workbook, and then before you start duplicate the worksheet and accomplish the foregoing on the duplicated worksheet.

    Tamir

  • Need help on transfer of files from one server to another server.

    Hi all

    I need help on transfer of files from one server to another server (Unix box to another Unix machine) using jdeveloper and BPEL process.

    I'm new to these technologies, can you please help me on this. If you encounter documents please share it with me.

    We use BPEL and Jdeveloper 10.1.3.3.0 version

    Thanks in advance!

    Concerning
    Vincent

    Published by: user10263255 on 15 Sep, 2008 12:25

    Vincent,

    One of the options I can think of is creating mount points on the boxes of unix and then using the File adapter.

Maybe you are looking for