How to move one env to another script

Hello

I have a database where I have two schemas.

(1) owner and user 2). The user schema contains all of the synonyms for objects in the schema of the owner and the application will connect the user to the schema only.


Now I have 2 script files) 1 create tables in the owner + give grant access for the user 2) create synonyms for objects in the owner


I have the code of the Dev environment to QA. For QA I have no privileges must give the DBA script file to execute

My DBA says... give the scripts through clearcase. only 2 script files should be here and information on the environment should not be hardcoded. That is to say

for instructions in the script as a file: grant access for < table_name > to USERSCHEMANAME and create the synonym < table_name_alisa > for OWNERschemaNAME.table_name

How can I give the scripts to my DBA with a hardcodiing.    How do you have this movement of code in your project?

Can I use any placeholder for the NAME of owner (environment part spefcific) and have to ask them to replace it with the name of corresponding runtime env

What should I do?

I hope that I am clear, please let me know if iam not clear

concerning
REDA

My dba was to talk about some & 1 and said something like... grant select, insert, update, delete on emp to & 1

Your DBA seems to have its scripts.
And you need to read on [the substitution variables | http://www.oracle.com/pls/db102/search?remark=quick_search&word=substitution+variables&tab_id=&format=ranked]
Name of the schema = a variable.

And continue to ask questions to your DBA, if you do not understand what he wants.

Tags: Database

Similar Questions

  • How to move one application to another but stay on $20 membership

    I would like to animate (flash) CC to CC in Photoshop, I don't want the two and I can't afford both, I want only photoshop CC, but I have no idea how do.

    Hello

    You can follow the steps here: https://helpx.adobe.com/creative-cloud/help/upgrade-change-plan.html

    Or contact our support here: https://helpx.adobe.com/contact.html

    Let us know if this helped!

  • How to move a container to another container

    Hi all,

    IAM using mutiple containers in my app now, I want to move one container to another by clicking on the button.

    How can I add action listener and move it to another container in the same page.

    Thanks in advance

    You add the eventlistener to the button. On this callback function, you remove the container from its parent (removeChild) and add this container to the new parent (addChild).

    For the button, it would be:
    mybutton.addEventListener (MouseEvent.CLICK, MoveContainer);

    If I understand your question.

  • How to fill one shape with another shape, but not of models

    Hello

    How to fill one shape with another shape, but not of models. Example of this poster

    Screen Shot 2015-05-18 at 13.41.33.png

    put in a shape of the tree so that it looks like this:

    Heavy_type_tree.jpg

    Select your type with a vector path, which is the subject

    Object > envelope distort > make with top object.

  • How to get one application to another changes

    Hello

    I'm starting to write my thesis on data migration at the APEX.
    I have a master application running in our society and a few copies to run on other servers partners. When I make a change in the main application or in its database, how to make all the changes to other applications of the partners?
    I will write on the possibilities of how to do this. To get an informed perspective, I looked in some books from the library, but there is no real explanation how to do this. Maybe I'm looking for the wrong words.

    Can someone tell me some possibilities how to get the changes to an application on one server to another copy of this application on another server?
    You don't have to explain how it works. I need just a little help I know what I have to look in the library (or Google Scholar)

    Concerning
    Felix

    It depends...

    If 'other' applications and data are supposed to be exact copies of the 'master' of all at once, then you might be looking at replication of database.

    If 'other' applications are simply the 'versions' of a 'master' i.e. request with the same treatment base but different data then you look at configuration management and release management.

    I think you are talking about the latter: you have developed an application and installed in different places; you have changed the application (and some data) and now update remote applications to match what you have just developed?

  • How to move itunes library to another drive on the same PC?

    Please indicate the steps required to move iTunes library to another drive on the same PC?

    Drag the entire iTunes, not only in the iTunes media folder, there, launch iTunes with the SHIFT key, and then choose it.

    (144009)

  • How to replace one table with another?

    I need to replace one table with another. Both tables have the same structure, primary keys, indexes, constraints, but different data (about 50 million records).
    I would like to make this replacement in line, with no passage of database in offline mode.
    There is no clause CREATE or REPLACE TABLE in Oracle unfortunely.
    I could use just DROP and ALTER TABLE RENAME instructions, but it is necessary that a user receive message error "table or view does not exist. It may be possible to block incoming requests at the moment, while old and new droppping table rename are performed?

    Thanks in advance.

    Hi again!

    You can detect normal users with session sessions $ v. A session of a normal user has a username (username of the column). Systemsessions PMON and SMON have no user name. So, you can use the following query to detect sessions, you need to kill:

    SELECT sid, serial#, username
    FROM   v$session
    WHERE type NOT LIKE 'BACKGROUND';
    

    concerning

  • How to move one Web Service to another machine.

    I was reading a book on SOA. In describing the concept of coupling low he said

    Web services, however, are "loosely coupled." A piece of software that have already
    exposed as a web service, it is relatively simple to move it to another computer. Why
    is it? It is simple Web services "non-couple" and "decouple" because these services
    Summary of the functionality of the software interface. Once software is
    available as a web service, it is available through SOAP in a variety of ways, including
    Protocols of the Internet.

    can someone explain this?

    When you have a web service that is consumed by SOAP over HTTP protocol, of course it would be to have a WSDL that are associated with. So all consumers are interested is the WSDL and the interface provided by the service. So, here in this example, for the new service what service replaced mainframe, also a long time that its end URI and the interface of the service are maintained, consumers is unclear, because the new service also provides the same functionality can be and also for sure the same interface defined as one.

    Hope this helps,
    N

  • How data form move one table to another table

    Hai All

    I have two tables and a table, I need to move data to another table.

    First table t1 has 3fields
    code, date, time

    Second table t2 has 8fields

    code, intimate, outtime, att_date, perin, intrinsically, perout, introut

    The table t1, I need to move the data to the t2.

    for example
    Bartime bardate barcode

    02/01/10 0011, 0815

    02/01/10 0022, 0820

    02/01/10 0011, 1130

    02/01/10 0022, 1145

    02/01/10 0011, 1230

    02/01/10 0022, 1235

    02/01/10 0011, 1645

    02/01/10 0022, 1650

    both depend on that data to store in this table t2 and I seem to like this


    barcode timein intrinsically introut timeout date
    0011 0815 1130 1230 1645 02/01/10

    0022 0820 1145 1235 1650 02/01/10

    Thanks and greetings

    Srikkanth.M

    I need to cursor for that pls tell me on how to use and get the sequential files

    You don't need a cursor at all, you can do it with a single INSERT statement:

    insert into table2 (barcode, bardate, timein, intrin, introut,timeout)
     select barcode, bardate,
            max(decode(rn,1,bartime,null)) timein,
            max(decode(rn,2,bartime,null)) intrin,
            max(decode(rn,3,bartime,null)) introut,
            max(decode(rn,4,bartime,null)) timeout from (
                             select barcode, bardate, bartime,
                                    row_number() over (partition by barcode, bardate
                                                       order by bartime) rn
                               from table1)
    group by barcode, bardate;
    

    It works with a single employee and 9999999999999...

    Max
    http://oracleitalia.WordPress.com

  • How to migrate Application Roles(BIEE 11g) of one env to another?

    Hello

    As far as I know, in BIEE 10 g, Application roles are stored in. The RPD file. But in 11g, users and application roles are stored in Weblogic (if BIEE11g not connect to LDAP server), no?

    If so, how do you migrate the dev env Application roles. production env?

    His part as a tedious task than 10g BI. Migration of security in talking about courtesy obiee BI 11 g: -.
    http://www.obieetalk.com/Oracle-BIEE-11g-%E2%80%93-migrating-security-%E2%80%93-identity-stores-%E2%80%93-part-1
    http://www.obieetalk.com/Oracle-BI-EE-11g-%E2%80%93-migrating-security-%E2%80%93-policy-store-%E2%80%93-part-2
    http://www.obieetalk.com/Oracle-BI-EE-11g-%E2%80%93-migrating-security-%E2%80%93-credential-store-%E2%80%93-part-3

    Award points and close the thread if the question is answered.

    Thank you
    -Aude

  • If I have several tabs open how can I move from one tab to another using the keyboard? For example to move one window to another we have to type alt + tab keys. How does for tabs?

    Thank you

    Hello

    To move to the next tab, it's Ctrl + Tab or Ctrl + Pg Dn (Page Down). To go on the Forelegs (reverse), it's Ctrl + SHIFT + Tab or Ctrl + Page Up (Page Up) key. More info on this and other keyboard shortcuts here.

  • How to move a layer over another layer uisng jsx?

    Hello guys,.

    can some tell me how do to move a layer to the top another layer using jsx script?

    Hi John,.

    Try this Code...

    var doc=app.activeDocument;
    var moveLayer = doc.activeLayer;
    var targetLayer = doc.layers[0];//say topmost layer;
    moveLayer.move(targetLayer,ElementPlacement.PLACEBEFORE);
    doc.activeLayer=targetLayer;
    //SelectionLayer;
    var laySB=doc.activeLayer.bounds;
    doc.selection.select([[laySB[0],laySB[1]],[laySB[2],laySB[1]],[laySB[2],laySB[3]],[laySB[0],laySB[3]]], SelectionType.REPLACE, 0, false);
    doc.activeLayer=moveLayer;
    align('AdCV');
    align('AdCH');
    doc.selection.deselect();
    
    function align(method) {
      var desc = new ActionDescriptor();
      var ref = new ActionReference();
      ref.putEnumerated( charIDToTypeID( "Lyr " ), charIDToTypeID( "Ordn" ), charIDToTypeID( "Trgt" ) );
      desc.putReference( charIDToTypeID( "null" ), ref );
      desc.putEnumerated( charIDToTypeID( "Usng" ), charIDToTypeID( "ADSt" ), charIDToTypeID( method ) );
      try{
      executeAction( charIDToTypeID( "Algn" ), desc, DialogModes.NO );
      }catch(e){}
    }
    
  • How to EXTRACT one PICTURE to another

    How to retrieve a single photo and place in another using PSE 19

    Title of the message was edited by: Brett N

    You probably mean PSE10 - Typo?

    1. One of the selection tools, for example the selection brush, lasso tool, to select the object on the picture.
    2. Go to Edition > copy to the Clipboard
    3. Open photo B
    4. Choose Edition > paste. At will be on its own layer
    5. Access the move to position A tool and resize with the corner of the frame handles encompassing
  • Physically move one grid to another storage

    Dear team,

    We intend to pass our storage of a grid to another.

    It is a small useful total storage capacity is 3TO (EMC CX4-120). created a 3 TB LUN size and even mapped to 14 ESXi host.

    This LUN is selected as the heartbeat data store.  We follow below POA to exercise such activity.

    -> Select Home = > datastore & clusters data store = > select the data store = > VM = > take the export of VMS

    = > stop gracefully all the virtual machines that are hosted on this data store (out of production virtual machines without having to migrate the same thing on the other data store)

    = > selection of different data store for datastore heart beat (need your help how to do this)

    = > remove this data from the heart rate data store store (need your help how to do this)

    = > Cancel registration of all virtual machines (Please confirm what I have to unregister the VMs?)

    = > remove and detach then unmap the end of storage data store (if I have the same on all hosts of esxi remap going I could see the onit data, I don't want to loose data)

    = > free stop SAN storage

    = > Disconnect the cable storage.

    = > Move the storage racks 1 to rack2

    = > Connect the cables and turn on the storage

    = > set and set up the data store on all esxi hosts

    or If I unmap the store of data before the activity then map it on the store of data even on all the 14 esxi host and rescan the HBAS

    = > get the data on all store the host and it will be visible on all hosts to esxi esxi

    = > register all virtual machines

    = > Poweron & check any network connection.

    = > Given to the team of the application.

    point which are marked as "BOLD" need disproportionate on the same thing, also add missing steps if necessary.

    concerning

    Mr. VMware

    Please find the right measures

    above POA is 100% correct and tested.

    before the take-off of export activity VM that are stored on the data store


    Home-online store of data and the data cluster store => select the data-VMs online store => add all columns => take export VM


    take the last export RVTool.



    stop all VMs-online you unsubscribe from all models and virtual computers-online RK on Cluster (change the setting-online data store-online here hearbeating we have to choose another data store and click OK)


    to confirm the new data store is visible as heartbeat data store select Cluster-online Sumamry-online state Custer-online Heartbeat Datastore)

    If we are able to see the new data store, then now remove old data from the heart rate data store store


    RK on Cluster (change the setting-online data store-online here hearbeating he have to uncheck the data store and click OK)


    disassemble => detach (you will need to perform this step on all esxi hosts)-online san team will be unmap-online beginning of movement storage (storage poweroff) => move the storage-online poweron-online san team will map the data-attach online store ((need to perform this step on all esxi hosts) => set up the data store)


    Register for all virtual machines


    PowerOn all VMs if get message (moved or copied) select moved.


    If followed then steps it up no error, above will work flawless.


    Yes we must cancel the registration of all models and virtual computers before disassembling a data store.


    concerning

    Mr. VMware



  • How to move the VM to another storage without Virtual Center

    Hello-

    I read some other posts on the moving a virtual computer to another storage without Virtual Center and there is a good post, but I have different problems, because my situation is a little different.

    My VC is currently stored on a local storage of the ESX servers.  It is the virtual machine that I want to move to a shared storage.

    You guys can help me with some of the steps I can take to move this shared storage better?

    I'm not too familiar with Linux, so even copy files etc, I'm not sure how to do it.

    TIA!

    Luke

    You are welcome!

    Now you can help us.  Please consider awarding points for 'useful' or 'right' answers

Maybe you are looking for