Merging all DB scripts into a single script for deployment

Hi,
I'm using an Oracle Database Project in Visual Studio to store single scripts for each database object, which I like a lot. What I don't know is how to merge all those scripts into a single script now that I'm ready for deployment. I would prefer to give the DBA guy a single script with all the objects and not one script per DB object.
Is there any way to achieve this?
Julio

Hi,
I'm playing with this stuff these days and Yes, there is a possibility:
Under Visual Studio:
Open your Database Edition Project
Goto "Server Explorer"
You should have previously created a connection to your Target DB.
Open that connection. you have a collection of folders.
Select/Open the Schema Folder, then the Tables Folder.
Select the Tables you want to Script, right-click and select "Generate Create Script to Project".
Enter a Scriptname and click OK
That's all.
Going back to your Project, you shuld find a Script into your "Script" Folder.
The problem is that you cannot create separate Scripts when selecting multiple tables, as I stated in my Post "ODT lacks some functionnalities"
Hope it helps
Rgds
P.Cury

Similar Messages

  • How do I merge 105 PDF's into a Single PFD?

    How do I merge 105 pdf's into a single PDF.
    I have already tried doing this in PREVIEW, selecting all, and then saving, and saving as. But it is for me, to no avail. When I re-open, all I get is the first page.
    please help.

    CRB wrote:
    How do I merge 105 pdf's into a single PDF.
    I have already tried doing this in PREVIEW, selecting all, and then saving, and saving as. But it is for me, to no avail. When I re-open, all I get is the first page.
    So, I'm not the only one unable to merge docs thru Preview.
    This is why I wrote my own script to do that.
    --[SCRIPT join_PDFs]
    Enregistrer le script en tant que Script : join_PDFs.scpt
    déplacer le fichier ainsi créé dans le dossier
    <VolumeDeDémarrage>:Users:<votreCompte>:Library:Scripts:
    aller au menu Scripts , puis choisir join_PDFs
    Vous pouvez également enregistrer le script en tant qu'application.
    Vous pourrez alors glisser déposer les icônes de PDFs à fusionner sur celle du script.
    J'ai trouvé le code principal dans une page Web.
    --=====
    L'aide du Finder explique:
    L'Utilitaire AppleScript permet d'activer le Menu des scripts :
    Ouvrez l'Utilitaire AppleScript situé dans le dossier Applications/AppleScript.
    Cochez la case "Afficher le menu des scripts dans la barre de menus".
    Sous 10.6.x,
    aller dans le panneau "Général" du dialogue Préférences de l'Éditeur Applescript
    puis cocher la case "Afficher le menu des scripts dans la barre des menus".
    --=====
    Save the script as a Script: join_PDFs.scpt
    Move the newly created file into the folder:
    <startup Volume>:Users:<yourAccount>:Library:Scripts:
    go to the Scripts Menu, choose Numbers, then choose "join_PDFs"
    You may also save the script as an application.
    Then you will be anle to drag an drop PDFs icons on the script one.
    I found the main code in a Web page.
    --=====
    The Finder's Help explains:
    To make the Script menu appear:
    Open the AppleScript utility located in Applications/AppleScript.
    Select the "Show Script Menu in menu bar" checkbox.
    Under 10.6.x,
    go to the General panel of AppleScript Editor’s Preferences dialog box
    and check the “Show Script menu in menu bar” option.
    --=====
    Yvan KOENIG (VALLAURIS, France)
    2011/01/18
    --=====
    on run
    if parle_anglais() then
    set les_fichiers to choose file "Select the PDFs files to merge" of type {"com.adobe.pdf"} with multiple selections allowed without invisibles
    else
    set les_fichiers to choose file "Sélectionner les fichiers PDFs à fusionner" of type {"com.adobe.pdf"} with multiple selections allowed without invisibles
    end if
    my main(les_fichiers)
    end run
    --=====
    on open sel
    my main(sel)
    end open
    --=====
    on main(lesPDFs)
    local p2s, alias_existe, aPath, chemindu_nouveauPDF, les_UNIXs
    set lesPDFs to lesPDFs as list -- just for safe
    set p2s to "" & (path to startup disk)
    tell application "System Events" to set alias_existe to exists disk item (p2s & "joinPDF.py")
    If it doesn't exist, create a symbolic link to a python script
    delivered by Apple in an Automator process.
    if not alias_existe then
    set aPath to quoted form of "/System/Library/Automator/Combine PDF Pages.action/Contents/Resources/join.py"
    do shell script "ln -s " & aPath & " joinPDF.py"
    end if
    set chemindu_nouveauPDF to "" & (path to documents folder) & (do shell script "date +_%Y%m%d-%H%M%S") & ".pdf"
    set les_UNIXs to {}
    repeat with i from 1 to count of lesPDFs
    copy quoted form of POSIX path of item i of lesPDFs to end of les_UNIXs
    end repeat
    set les_UNIXs to my recolle(les_UNIXs, space)
    do shell script "./joinPDF.py -o " & quoted form of POSIX path of chemindu_nouveauPDF & space & les_UNIXs
    tell application "Finder" to open file chemindu_nouveauPDF
    end main
    --=====
    on recolle(l, d)
    local oTIDs, t
    set oTIDs to AppleScript's text item delimiters
    set AppleScript's text item delimiters to d
    set t to l as text
    set AppleScript's text item delimiters to oTIDs
    return t
    end recolle
    --=====
    on parle_anglais()
    return (do shell script "defaults read 'Apple Global Domain' AppleLocale") does not start with "fr_"
    end parle_anglais
    --=====
    --[/SCRIPT]
    Yvan KOENIG (VALLAURIS, France) mardi 18 janvier 2011 12:24:51

  • SQL-Scripts into a Shell script

    Hi!
    After creating the database on a Linux machine, we need to create our Schema in that database.This Schema has many objects(tables, views,
    procs, triggers etc.). So executing each individual script would not be sensible. Is it possible to pack all sql scripts into one shell script and run that one?
    Thanks for your feedback/examples/links!

    If it's one-off task, why not put all of them in a SQL file and run it from SQL* Plus rather than using shell to cause sql plus which will in turn have to call the script?
    If it's a recurring task and you insist that you want to do it from Unix shell, you can do something like this:
    Place all scripts in a single file and put it under $HOME for ex. (save it as run_all_scripts.sql)
    Then write a shell script something like this:
    #!/bin/ksh
    connect_schema=scott/tiger
    sqlplus -s $connect_schema <<EOF
    @$HOME/run_all_scripts.sql
    EOF
    Regards
    Venkat

  • Is it possible inscribe all the packages into a single package ??

    Hi,
    In Oracle 10g , Is it possible inscribe all the packages into a single package ??
    Because, my PM Is asking me to inscribe all the Packages into Single Package and give same reference to the .Net developers.
    I have tried a lot, but i am not finding out the right solution for this ., and even i am bit confused whether is this possible or not.
    Can any one please suggest me how to achieve this it it's possible in Oracle.

    You mean something like...
    -- First package with functions in it...
    SQL> create package mypack1 as
      2    function myfunc1 return number;
      3  end;
      4  /
    Package created.
    -- assume a package body is created for this as well
    -- Second package with functions in it...
    SQL> create package mypack2 as
      2    function myfunc2 return number;
      3  end;
      4  /
    Package created.
    -- assume a package body is created for this as well
    -- One package encompassing other packages...
    SQL> create package allpacks as
      2    function myfunc1 return number;
      3    function myfunc2 return number;
      4  end;
      5  /
    Package created.
    SQL> create package body allpacks as
      2    function myfunc1 return number is
      3    begin
      4      return mypack1.myfunc1;
      5    end;
      6
      7    function myfunc2 return number is
      8    begin
      9      return mypack2.myfunc2;
    10    end;
    11  end;
    12  /
    Package body created.
    SQL>;)

  • Merging of 8 programs into a single program - urgent

    Hi Abappers,
    I have a requirement like 8 programs are given to me which are existing from one server. Now, what i have to do is , i should merge all of them into  one main program in another server. This is my requirement. For that in the selection criteria of the main program, options will be created for each item. The user can select the option he wants to execute.
    Now, can i create a selection screen in which there will be 8  push buttons and whenever user clicks one , the report belonging to taht button executes?
    For that, please suggest me the best way of how to do it..
    Whether include the 8 programs using include statement in the main program or by using subroutines or what?
    I am confused .. kindly suggest me the better way so taht i can proceed.
    Thanks,
    Priya

    The best way to resolve your requirement is to create a new ABAP with a selection screen with 8 options(radio buttons).
    Depending on the selection you can just submit the corresponding ABAP via selection-screen and return.
    selection-screen : begin of block B1 with frame title TEXT-001.
    parameter        : P_01 radiobutton group R1 user-command M1.
    parameter        : P_02 radiobutton group R1.
    parameter        : P_03 radiobutton group R1.
    parameter        : P_04 radiobutton group R1.
    parameter        : P_08 radiobutton group R1.
    selection-screen : end of block B1.
    START-OF-SELECTION.
      if p_01 = 'X'.
         labap = 'ZG1'.
      endif.
      if p_08 = 'X'.
         labap = 'ZG8'.
      endif.
      submit (labap) via selection-screen and return.
    Regards
    Anurag
    Message was edited by: Anurag Bankley

  • Problem merging all my partitions into one!

    I'm currently having problems merging all my partitions into one big partition. Disk Utility keeps on saying that "MediaKit reports partition map too small" when i try and erase any partitions. What can i do to merge all my partitions into one so that i can use bootcamp? I've tried searching this forum but cant seem to find any info on this.

    I don't know what your partitions look like, how they were created, the number of, or if you did something special like from the terminal or by shrinking + adding 3rd partition or something.
    But the solution stays the same.

  • Merging 2 rows data into a single column in OBIEE

    Hi All,
    Requirement is "Merging 2 rows into a single column"
    Scenario: data from table called "transactions_table"
    Id
    transaction no
    transaction name -------------------------------quantity
    100
    1
    abc
    1000
    100
    2
    def
    2000
    Required out put:
    Id
    Transactions & Quantity
    100
    abc(1000),def(2000)
    Please provide me solution, and let me know if any additional information is required.
    Thanks in advance to all of you.

    can you please share your data like below
    column1, column2 .....
    and where are you trying to do this? at answer or bi admin tool?
    there are a few ways to do this.

  • Merging 2 rows data into a single column in OBIEE 11g

    Hi All,
    Requirement is "Merging 2 rows into a single column"
    Scenario: data from table called *"transactions_table"*
    Id  ------------- transaction no -----------------------  transaction name -------------------------------quantity
    100 ----------- 1 ----------------------- abc ------------------------------ 1000
    100 ----------- 2 ------------------------ def ------------------------------ 2000
    Required out put:
    Id ----------------- Transactions & Quantity
    100 -------------- abc(1000),def(2000)
    Please provide me solution, and let me know if any additional information is required.
    Thanks in advance to all of you.
    Regards,
    chrs

    check the below link, that may help you.
    Re: Horizontal value display
    If it is helpful, please mark as correct or helpful

  • Merging of 8 programs into a single program

    Hi Abap gurus,
    Can any one pl help me out about merging 8 programs into a single one.
    Pl give me the best way to merge 8 programs into one program
    Thanks,
    Priya

    Hi priya,'
    What do you really mean by merging of 8 programs?  what are those programs ....
    but anyway ... see a program is written to fulfil a business requirement ...
    so i believe that need is now .. the functionalities of 8 programs in one program ... Am i right ..
    if that is the case then get the requirement of the one report and build a program ......
    cheers
    Kripa Rangachari..

  • I have 2 iTunes accounts and would like to eliminate 1 and merge all my purchases into ine

    Hello, I have two separate iTunes accounts.  Long story.........involving my kids.  Now, I´d like to eliminate one and merge all my purchases to the other without loosing everything.  Can this be done, how?

    Click here and follow the instructions.
    (107903)

  • How can I move all my contacts into a single email group from all the other group?

    I've got several email accounts, but my contacts are spread across them. Of course, when I access or search my contacts they do all get searched together, but I need to delete an account and this will result in me losing many contacts.
    So before I do this, I want to consolidate all my contacts into my main personal email group account. But short of doing them one by one, I can't find a way and I have several thousand contacts at risk of being lost.
    Can anyone advise me?

    Go to your Contacts on your Mac - if more than one pick the most accurate; delete any contacts you don't want. Select all the contacts, and from the File menu choose 'Export...'>'Export vCard'. Save the resultant file safely: it will be your 'master' list.
    Now delete all the contacts from whichever device has the most in it. Sync with iCloud. If necessary repeat with different Macs. The result should be that the deletions sync to iCloud and in the end you finish up with empty Contacts lists everywhere.
    Now you can import your saved file to one of your Macs. Make sure you import it under 'iCloud' not 'On My Mac'. Then it should propagate iCloud and any other devices. Keep the saved file at least until you are satisfied that all is in order.

  • How to merge two A5 pages into a single  A4 page.

    I have three PDF documents that I want to print duplexed onto a single A4 sheet. The first two pages (front and back) are A5 which is causing a problem when printing as it will not allow me to print in booklet format without cropping the back page.
    Is there any way to combine the two A5 pages into a single A4 page within Acrobat??
    I am currently running Acrobat 6.0 Standard on Windows XP SP2

    When you have been around since AA5 and earlier, the printer used to be the trick to doing things. Since AA5 a lot of the features have been built into Acrobat and it might be possible to create the page in another way. However, the print approach should still work.

  • Combining documents with multiple layouts into a single book for pdf export

    I have made a series of documents that feature 3 different layouts, however I would like to connect all these documents into a book and then export 1 layout style from each document into a pdf to form a book. However when I go to the export book as pdf the option to select pages or ranges is greyed out and not clickable for some reason, does anyone know of another way to get around this short of exporting each individual document layout and then merging them as a pdf?

    You need to set up the book to contain precisely what you want to export.
    However, it is basically better to export single documents and merging them later as PDF, regarding colour spaces, page numbering, paragraph styles, page formats etc.

  • Turning Upload script into multiple upload script

    Hi all,
    I would like to change the following script so it is able to handle 2 file uploads. With a basic understanding of PHP, this is a bit beyond me and you may laugh and the initial attempt (found at the the bottom of the post).
    Here is the original script for one upload:
    <?php
    //this is the directory where the images images will be saved
    $target = "../IMAGES/books/";
    $target = $target . basename( $_FILES['imageURL']['name']);
    // this gets all the other info from the form
    $name=$_POST['name'];
    $publication=$_POST['publication'];
    $year=$_POST['year'];
    $desc=$_POST['description'];
    $link=$_POST['linkToBuy'];
    $price=$_POST['price'];
    $pic=($_FILES['imageURL']['name']);
    // Connects to your Database
    mysql_connect("localhost:8889", "root", "root") or die(mysql_error()) ;
    mysql_select_db("keithMcCarthy") or die(mysql_error()) ;
    //Writes the information to the database
    mysql_query("INSERT INTO books (name,publication,year,description,linkToBuy,price,imageURL)
    VALUES ('$name', '$publication', '$year', '$desc', '$link', '$price', '$pic')") ;
    //Writes the photo to the server
    if(move_uploaded_file($_FILES['imageURL']['tmp_name'], $target))
              $note['success'] = 'The file '. basename( $_FILES['imageURL']['name']). ' has been uploaded, and your information has been added to the directory';
    else {
              //Give an error if it's not
              $note['error'] = 'Sorry, there was a problem uploading your file.';
    ?>
    Here is my attempt - it sends everything to the database but does not upload the file and gives an error "Sorry, there was a problem uploading your file." At leat that is working.
    <?php
    //this is the directory where the images images will be saved
    $target = "../IMAGES/books/";
    $targetTwo = "../IMAGES/books/";
    $target = $target . basename( $_FILES['imageURL']['name']);
    $targetTwo = $target . basename( $_FILES['imageURLtwo']['name']);
    // this gets all the other info from the form
    $name=$_POST['name'];
    $publication=$_POST['publication'];
    $year=$_POST['year'];
    $desc=$_POST['description'];
    $link=$_POST['linkToBuy'];
    $price=$_POST['price'];
    $pic=($_FILES['imageURL']['name']);
    $picTwo=($_FILES['imageURLtwo']['nameTwo']);
    // Connects to your Database
    mysql_connect("localhost:8889", "root", "root") or die(mysql_error()) ;
    mysql_select_db("keithMcCarthy") or die(mysql_error()) ;
    //Writes the information to the database
    mysql_query("INSERT INTO books (name,publication,year,description,linkToBuy,price,imageURL,imageURLtwo)
    VALUES ('$name', '$publication', '$year', '$desc', '$link', '$price', '$pic', '$picTwo')") ;
    //Writes the photo to the server
    if(move_uploaded_file($_FILES['imageURL']['tmp_name'], $target))
      $note['success'] = 'The file '. basename( $_FILES['imageURL']['name']). ' has been uploaded, and your information has been added to the directory';
    else {
      //Give an error if it's not
      $note['error'] = 'Sorry, there was a problem uploading your file.';
    if(move_uploaded_file($_FILES['imageURLTwo']['tmp_name'], $targetTwo))
      $note['success'] = 'The file '. basename( $_FILES['imageURLTwo']['name']). ' has been uploaded, and your information has been added to the directory';
    else {
      //Give an error if it's not
      $note['error'] = 'Sorry, there was a problem uploading your file.';
    ?>

    Thank you for your help, trulfy!
    However, I am so new to all this that I don't really even understand your reply or how to do it...
    Maybe you could put it in more simplistic terms/steps?
    Thank you anyway!

  • Can I merge all user accounts into one?

    Currently I have three user accounts on my iMac and I want to merge them all into one? Does anyone know how to do that? I've tried surfing through System Preferences for a way but I can't find one.
    If it can't be done, how do I copy all of my content over to one account so I can delete the other two?
    Any help is most appreciated!

    Open the Users folder on your hard disk, drag the other two folders to the desktop, click Authenticate when prompted, provide your administrator password, go through the folders, and move files to other parts of your account's home folder as desired.
    (33072)

Maybe you are looking for

  • Bouncing Ball without Main Method

    Hi. I needed to reserch on the Internet sample code for a blue bouncing ball which I did below. However, I try coding a main class to start the GUI applet and it's not working. How can I create the appropriate class that would contain the main method

  • XPRAS_UPG error in DOWNTIME phase in EHP4

    Hi, I am getting the below error in XPRAS_UPG in DOWNTIME phase of EHP4 installation in ERP 6.0 on HP-UNIX and Oracle. XPRA ERRORS and RETURN CODE in SAPRW70104.HD1 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1AETR012XPro

  • Updated to Firefox 9, now it gives me a blank white screen. What's going on ?

    I upgraded to Firefox 9. When backup was done it gave me a blank white screen with tool bar at the top. I thought maybe it needed "backing up your info" so I did that, still no Firefox screen. I rebooted the computer, still no screen. I can go to "Mo

  • Writing/reading HTTP with plain sockets

    Hello, I�m trying to send an HTTP request and read response with a plain socket, not URLConnection. My code below is not working - bufferedReader.readLine() returns null. If I change to URLConnection everything works as expected. What is wrong in my

  • More information in DAO pattern

    Could u send me the document more detail about DAO in Petstore I have error when I customize Petstore: I replace searchItems function with searchFullDocument But I have error as follows: javax.servlet.ServletException: An error occurred while evaluat