How to automate creating installation script?

SQLDeveloper has a nice tool which would create installation script for a database application: Deploying an Oracle Database Application However it is not automatic - you have to choose objects to export and tables to dump rows every time you create an export script. Is there a way to automate it or maybe another tool to create an installation script? I though of Introducing oraddlscript | devioblog but it doesn't seem to create a file invoking creating all other objects in the appropriate order. Oracle exp tools are also inappropriate because I need a seperate file for each object so that I could commit them to SVN and keep track of changes.

DDL Wizard Seems fine, but it required Oracle export using exp. And exp cannot export tables with BINARY_DOUBLE columns or nested tables. And installing Oracle Database link is not about installing application.

Similar Messages

  • How to automatically create a script based on XML input

    I was wondering if it is possible to automatically generate a script in Flash itself, so like a plug in or something that I can build that will allow me to take in an xml document and generate scripts on certain frames in certain movie clips
    or is it better to create a swf where users load in an xml file and things just happen from that (would that be safe? could I guarentee that no one would be able to screw things up?)

    Here are the steps to do for your requirement.
    1) In design console, create a rule like user-type ="end user"
    2) Create a role using the above rule and also create an access policy to provision these two resources using the above role.
    2) In design console, go to resource object --> select resource2->dependency tab--> assign resource1.
    3) Try to provision resource 1..it should provision resource 2 as well.

  • How to automatically create the custom migration scripts after recreating SSMA project?

    How to automatically create the custom data migration scripts after recreating SSMA project?
    There is number of tables ( big tables with BLOBS)  which I want to set up automatically to be migrated with custom migration scripts (replacing e.g. attribute named "FILE" with "TO_BLOB('') AS FILE" ).
    So the question is how to open MB file (I think that it should be standard db of some destktop RDBMS) ? 

    Hi Roman.Pokrovskij,
    According
    to your description, we can use SSMA tool to migrate data from one database (including Access, Oracle and so on) to SQL Server via GUI or the scripts. There is an example about migrating Access database to SQL Server via the
    custom migration scripts, you can review refer to them.
    <?xml version="1.0" encoding="utf-8"?>
    <ssma-script-file xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="C:\Microsoft SQL Server Migration Assistant for Access\Schemas\A2SSConsoleScriptSchema.xsd">
    <config>
    <output-providers>
    <output-window suppress-messages="false"
    destination="stdout"/>
    <upgrade-project action="yes"/>
    <data-migration-connection source-use-last-used="true"
    target-server="target_1"/>
    <progress-reporting enable="false"
    report-messages="false"
    report-progress="off"/>
    <object-overwrite action="skip" />
    </output-providers>
    </config>
    <servers>
    <!-- Server definition for Sql server target server-->
    <sql-server name="target_1">
    <sql-server-authentication>
    <server value="$SQLServerName$"/>
    <database value="$SQLServerDb$"/>
    <user-id value="$SQLServerUsrID$"/>
    <password value="$SQLServerPassword$"/>
    <encrypt value="true"/>
    <trust-server-certificate value="true"/>
    </sql-server-authentication>
    </sql-server>
    </servers>
    <script-commands>
    <create-new-project project-folder="$project_folder$ "
    project-name="$project_name$"
    overwrite-if-exists="true"/>
    <connect-target-database server="target_1"/>
    <load-access-database database-file="$AccessDbFolder$\$AccessDatabaseFile$"/>---
    <!--Schema Mapping-->
    <map-schema source-schema="$AccessDatabase$" sql-server-schema="$SQLServerDb$.dbo" />
    <!-- Convert schema -->
    <!-- Example: Convert entire Schema (with all attributes)-->
    <convert-schema object-name="$AccessDatabase$"
    object-type="Databases"
    conversion-report-overwrite="true"
    verbose="true"
    report-errors="true" />
    <!-- Synchronize target -->
    <!-- Example: Synchronize target entire Database with all attributes-->
    <synchronize-target object-name="$SQLServerDb$.dbo"
    on-error="fail-script" />
    <!-- Data Migration-->
    <!--Example: Data Migration of all tables in the schema (with all attributes)-->
    <migrate-data object-name="$AccessDatabase$.Tables"
    object-type="category"
    report-errors="true"
    verbose="true"/>
    </script-commands>
    </ssma-script-file>
    There is a similar scripts about migrating Oracle database to SQL Server, you can use powershell script to automatically run the console for scripts/variable files, saved in the specified folder. For more information, review the following
    article.
    http://blogs.msdn.com/b/ssma/archive/2010/09/09/performing-database-migration-assessment-using-ssma-console-application.aspx
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • How to create installation scripts in packaged application

    can u tel me How to create installation scripts for packaged application.
    also tell me , i have to first install scripts and then supporting objects or
    supporting objects first then installation scripts..

    Hi,
    Depending upon your usecase there are different ways to implement this logic.
    Check this for example (Read my answer in this post):
    https://forums.sdn.sap.com/thread.jspa?threadID=349151
    Also check these senarios:
    http://help.sap.com/saphelp_nw70/helpdata/en/42/9ddf20bb211d72e10000000a1553f6/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/42/9ddcc9bb211d72e10000000a1553f6/frameset.htm
    Also the delegation may be interesting for you:
    http://help.sap.com/saphelp_nw70/helpdata/en/a0/44b742cafec96ae10000000a155106/frameset.htm
    Greetings,
    Praveen Gudapati

  • How do I create a script to do this?

    I have a photoshop file with several layers...about 100. I want to put each layers into it's own group. The name of the group must be the same as the name of the layer.
    I tried creating a action to do this but it did not work right. It only works for one layer selected individually. If I select multiple layers, then it forms nested groups.
    I was told that I can't do this using an action and I would need a script for this.
    How do I create this script?
    I am using adobe photoshop cs6 ( I think) , windows 7.

    This assumes that none of the layer are already in layerSets( group ) and none have layer locking.
    if(app.documents.length>0){
        var doc = app.activeDocument;
        while(!doc.artLayers[0].isBackgroundLayer && doc.artLayers.length>0  ){
            var newSet = doc.layerSets.add();
            newSet.name = doc.artLayers[0].name;
            doc.artLayers[0].move(newSet,ElementPlacement.INSIDE);

  • How to automatically create a player schedule?

    I need your help how to automatically create a player schedule from a given list of players who will play doubles in a given period.
    Let's say, I have a list of 12 players who will each play doubles with random partners for 4 times.
    So play one could be: 1&2 vs 3&4, 5&6 vs 7&8, 9&10 vs 11&12.
    But now I want inumbers to plan the second, third and fourth play automatically but with unique combinations.
    In this example it's quite easy to do it manually, but I need to plan something similar for the tennisclub with many more players.
    It should be able to set up a worksheet where you will fill out the following parameters:
    List of players, number of available courts, whether you want ot let them play single or double games, number of plays.
    The last one could also be left empty so discover how many unique plays you have given the other parameters.
    I hope someone is able to help me, because this would save me a lot of time to make the planning for the tennisclub.
    Thanks in advance for any support!

    OK.  I think this may work for you:
    There are two parts:
    1) a small program you have to run (this is the part you may find difficult at first)
    2) a Numbers spreadsheet
    1) the program is invoked on the command line in the terminal.  You can open the Terminal by navigating to the folder "/Applications/Utilities"
    you need to download the zip file here, then copy and unzip  in the same folder where you plan to store the Numbers document for making the tennis schedule.
    Let's agree for this procedure that you are storing the program and Numbers file in the folder "/Users/<your user name>/Documents/TennisSchedule".
    Once you launch the terminal you can navigate to the folder where you stored the zip file by typing:
    cd ~/Documents/TennisSchedule
    now you can invoke the program by typing:
    ./TennisRandomList
    Then hit the return key.  Without any arguments the program simply emits some program information with a little help on how to use it-- described in the text starting with "USAGE" (see below)
    Proton:TennisRandomList wayne$ ./TennisRandomList
    Tennis Randomw List maker
    Version 0.1
    compiled on Nov 18 2012 @ 09:14:41
    USAGE: TennisRandomList numPlayers numCourts numWeeks type verbosity
      numPlayers: 1 - 255
      numCourts: 1 - 255
      numWeeks: 1 - 255
      type: [s]ingle or [d]ouble
      verbosity: 0 - 5
      0 -> player ids only
      1 -> player ids + inputs
      2 -> player ids + inputs + raw random values
      3 -> player ids + inputs + raw random values + pairings
      4 -> player ids + inputs + raw random values + pairings
      5 -> player ids + inputs + raw random values + pairings
    Proton:TennisRandomList wayne$
    so to make a schedule for:
    -12 players
      - 3 courts
    - 6 weeks
    - singles
    you would invoke as:
    ./TennisRandomList 12 3 6 s
    Then type return.
    you should get something like:
    Proton:TennisRandomList wayne$ ./TennisRandomList 12 3 6 s
    Weeks: 6
    Players: 12
    Courts: 3
    Type: singles
              Game
    Week          Slot          Court 1          Court 2          Court 3
    1          1          3          2          4          6          5          8
    1          2          9          11          10          12          1          7
    2          1          12          2          7          10          11          1
    2          2          3          5          8          4          9          6
    3          1          6          11          2          1          7          3
    3          2          4          8          5          10          9          12
    4          1          4          8          11          3          5          7
    4          2          10          12          1          6          9          2
    5          1          8          4          3          12          9          5
    5          2          6          10          7          11          1          2
    6          1          5          7          1          12          3          10
    6          2          6          8          2          4          9          11
    Proton:TennisRandomList wayne$
    You can select, then copy the text following the line "Week Slot Court 1 Court 2 Court 3" upto, but not including, "Proton:TennisRandomList wayne$ "-- bolded in the above quotation
    You can paste that into the Numbers document we will now make.
    2) a Numbers spreadsheet
    The Numbers document includes several tables as shown below:

  • How to automatically create fillable PDFs from XML

    We are looking for a way to create fillable PDFs that users can enter data into and save (so the PDF needs Reader Rights applied) and we want to be able to automatically create these PDFs from XML files. We are able to do what we want in a manual fashion using Acrobat Pro v8 but we need a way to automate this due to the volume of XML files that we will need to convert.
    Is there any way that this can be scripted from a command line interface with Acrobat.. like:
    Acrobat.exe –input FileName.xml –output FileName.pdf –applyReaderRights true
    If there is no command line options for this is there any way that this could be coded using .NET or any other programming language?

    You cannot automate applying usage rights with Acrobat. For that you'd need to use Adobe's LiveCycle Reader Extensions.
    How exactly are you currently converting XML into fillable forms? Are you using an XDP to somehow convert to an XFA-based PDF?

  • How to edit the installation scripts in the supporting objects

    I wanted to update one of the installation scripts in the supporting objects. I clicked into that script and use the "script editor" tab. After editing the script, I clicked "Apply Changes" button. It redirected me to the upper level of the page. When I reopen the script, the content of this script is messed up and has the content of another script, not what I have changed. What could happen with it? There is one case that the script was all wiped out!
    One general question, how can I easily update the install scripts and reload it without export and import the whole application? or Can I?
    Thanks
    Fengting

    Fengting,
    I am not sure what causes this, but I have had the same issue with shared components >> report queries. Sometimes if you have multiple report queries it becomes impossible to edit any of them. If I remember correctly I tried using a different browser and everything seemed to work ok. I was using Firefox when I was having the issue.
    Sorry this is not an answer, but I feel your pain!
    Cheers,
    Tyson Jouglet

  • How to automatically create xml documents ?

    Hi,
    I have created an xml form with specific fields and properties. Now, I want to automatically create a large amount of xml documents based on it.
    Is there any means to do this ?
    Thanks,
    Loïc LEVEUGLE

    You cannot automate applying usage rights with Acrobat. For that you'd need to use Adobe's LiveCycle Reader Extensions.
    How exactly are you currently converting XML into fillable forms? Are you using an XDP to somehow convert to an XFA-based PDF?

  • How to automatically create hyperlink destinations based on numbered list?

    I am very new to InDesign and am creating a template for an academic journal. Each article contains a list of references at the end and the references are cited in the main text (like what you see in Wikipedia if you are not familiar with scientfic journal articles). In exported HTML, the citation in the main text should be hyperlinked to the coressponding reference in the reference list. I have two questions:
    1) It is possible to ask paragraphy style to assign each numbered item a hyperlink destination? If this is possible, I can then manually inserted hyperlinks in the main text.
    2) one step further, is there any way (e.g. script) which can then insert hyperlink to those destinations based on pattern match? For example, in main text, the citation to reference #1 appear in the text as [1] which should be hyperlinked to reference #1.
    One more question, is there anyone who knows how academic journals handle the flow from InDesign to html? Certainly, the exported html cannot go directly online without further editing.
    Thank you.

    Hi Eric,
    I posted the script here. But it should be adjusted to your particular document. (Anyone with basic scripting knowledge can do this). I am sure it won’t work as it is. I assume that “comments” and “references” are in two different stories.
    Can I have the scripts from you (for a fee or free)?
    I don't sell my scripts: they're free.
    Can the scripts handle the pattens like these [3], [1-5], [3,4], [6, 8, 11-13]?
    This script can't, but another handles both single page numbers and page ranges like so:
    I can post it as well.
    Now I’d like to make one thing clear:
    I made a set of scripts for creating hyperlinks in InDesign documents for further exporting them to ePub/HTML. I can’t make a script that would work for everyone because all books are very different. I simply adjusted scripts for every book I had to work with (mainly changing GREP expressions and names of styles) and I have numerous variations of scripts. I can post them if someone is interested but you should be aware that they have to be reworked.

  • How to automatically create a table on the next page?

    I was working on my Resume using tables on Pages 13.  When the first page is nearing to be filled in, I continue to put more details as I expected the table to be created automatically in the next page, like that of Microsoft Word but it did not happen.  What happened was the table continue to elongate only on the first page eventhough the last part cannot be seen anymore.  Please advise me how to do this, if possible.  Thanks.

    You need to make the Table Inline ie part of the text.
    Select the Table by clicking on the large dot top left > Cut > Click in the Text > Paste
    It will now flow from page to page, but there is a bug in Pages 5.2, which means text may not show in the table after a few pages.
    The table will also break at cell boundaries, it will not divide a cell over 2 pages.
    Peter

  • How to automate creating movie poster frames?

    Hello.
    I have a fairly large movie library in itunes now, about 500 movies. I know how to right click a frame of a movie and set a poster frame. However this seems very slow and doesn't always work perfectly. Does anyone have any ideas or scripts that would automate the process? Even if it just sets the poster frame at 2 minutes into every movie it would be better than the 1st frame, Thanks for any ideas.

    I have not had my question answered yet. I am guessing its not possible. However the problem you mentioned is not an issue for me. I can pause a video, right click on it, and the bottom choice is to set a poster frame.
    What I want is to have something automate the process of picking a different point as the poster frame without having to select it on each and every video. I have 500 videos and this could take way too long. I would imagine there is an easier way to set all videos to use the 30 second mark as the poster frame.

  • In VA01, how to automatically create a PO from a Sales Order

    In VA01, I create a sales order using item.cat. TAS; then, system generates a PR for the sales order.
    Is it possible to make the system create PO instead of PR?
    In item.cat. configuration, I tried to check the check box "Create PO Automatic."; however, the system still geerates a PR for me w/o generating any PO.
    Any idea would be appreciated.

    Hi Vitthavat
    In VOV6 for schedule line category CS  check wheather the following data has been maintained or not
    Order Type: NB
    Item Category: X
    Account assignment cat: 1
    In VOV7 , for item category TAS
    Check the box - Automatic PO generation
    Billing Relevance - F
    In MM02 , in Purchasing tab , check the automatic purchasing tab
    Use  ME59N for  Automatic PO creation
    Regards
    Srinath

  • How To Automatically Create Planned Orders When Sales Order Is Saved

    I have a MTO sceanrio where we need to create planned orders when sales orders are saved without running MRP.
    I have the Planning Strategy Group set to 81 in the material master, but it didnt create the planned orders.
    Could you tell me other settings I should review to make the planned orders create automatically?

    Tony,
    At the "Requir. Classes" (OVZG) customizing screen, field "Automatic start of make-to-order in background mode" affects the automatic planning. See fields help doc. below.
        If you select this indicator, the system automatically carries out
        single-item, multi-level planning for a sales order if a sales order
        item is either created or changed.
        This function can only be used for make-to-order production.
    So check out the Req. Cl that yr Req. type (req. type is part of a strategy).
    BR,
    Elly

  • How do I create a script to crop the channels within specific limits defined by me?

    Hi,
    I am trying to automate processing of my channels, but as a first step I need to crop them within specific boundaries (all data at once).
    Kindly let me know any specific script commands which would help me in doing the same.
    Solved!
    Go to Solution.

    Hi Brad_Turpin,
    I have attached a sample data with this post for your reference. In the attached file, there is one time channel (X axis) and one data channel (Y axis), and I need to crop both the channels apart from 0 to 20 sec.
    I checked the syntax for DataBlDel() which is 'Call DataBlDel(ChnNoStr, ChnRow, ValNo, [ValDelOnly])'. What I understand from this is (please correct me if I am wrong), I need to input the 'row no.' and the number of values from and to which I want to delete values from the channel data.
    But the problem for using it is that the 'row no.' and the number of values I want delete may vary when I pull in a different dataset. (i.e. If you look at the attached file you can see that for this example time channels starts from -5 to 40 sec, but for a different dataset time channel may start from -10 to 35 sec. But my requirement for the new dataset still remains same, that is from 0 to 20 sec). What should I do for this condition
    Additionally, I would also like to know the best way to crop if I am having more than one data channels (lets say, I am having 5 data channels apart from the time channel and want to crop all of them from 0 to 20 sec).
    Hope I have not confused you, please let me know for further clarification of my requirement.
    Thanks in advance.
    Regards,
    Fazil Shah.
    Attachments:
    to crop_1.zip ‏7 KB

Maybe you are looking for

  • Kernel Panic on MBP running 10.6.8

    Hi all, A friend is experiencing intermittent kernel panics on her MacBook Pro 15" running 10.6.8. I have checked the RAM on both Memtest and AHT both of which passed, repaired permissions and tested hard disk. Only peripheral is an Apple Cinema Disp

  • Out of memory error when opening an .xlsx file in numbers v1.6.2 on ipad 2

    The file sizes are too small (38KB) for this to be a true "out of memory" issue. Any suggestions? I didn't have any problems before updating numbers to the current version. I haven't downloaded the new iOS 6 operating system. Is that the problem?

  • Can I make a url link from my logo in web gallery?

    I'm in LR 1. I have a logo in the upper left in web gallery. Can I make a url link? Pity that clients can see the logo but cannot link to the url. thanks.

  • On Page reset data erase

    Hi, SELECT wwv_flow_item.DATE_POPUP(2,rownum,null,'DD-Mon-YYYY',10,20,'onfocus="ChkBoxChecked(''f01_#ROWNUM#'')"') "Plan Start Date", wwv_flow_item.DATE_POPUP(3,rownum,null,'DD-Mon-YYYY',10,20,'onfocus="ChkBoxChecked(''f01_#ROWNUM#'')"') "Plan End Da

  • Is 4gb of ram enough for my uses?

    Hi everyone, just a little question which has popped up in the past, although I just wanted too get an answer from other people myself. I'm a college student, 17 years old, starting higher education of my college course in september, which is a 2 yea