Create db architecture from import commad line

hi,
I've read there is the way to CREATE a db using "import" command but I've not understood how...(at the moment I only FIRST create the db and THEN populate it...)
may you please tell me how can I do that?
thanks

Hello,
If you have already installed any version of Oracle(Always a good idea to post your oracle version and OS) and list out your question, so it's easier to help out.
To create a new DB instance, if you have already installed oracle software.
1. Use DBCA (database configuration assistant)
2. If you have already created a database instance using DBCA, then you can use export/import (or datapump) to migrate to new database instance (but new database instance should exists in order for you to import succesfully).
3. If possible, list out in bullet points your question and what do you want to do, so it's easier to help you out.
Regards

Similar Messages

  • How to create an alias from the command line

    Hi
    I would like to know how to create an alias (for a file, not a command) from the command line. I don't want to use the ln command, as an alias has more interesting features than soft/hard links... Is there an Apple specific tool to do this?
    Thanks
    -Jerome
      Mac OS X (10.4.10)  

    The only straightforward way that I am aware of for creating a "Finder" alias from the command line is using AppleScript via 'osascript'. Of course, it's not really a command line solution since the "Finder" has to be running. Anyway, something along the lines of:
    <pre style="overflow:auto; padding: 5px; width: 500px ; font-size: 10px; border:1">osascript -e 'tell application "Finder" to make alias file to POSIX file "/full/path/to/file" at POSIX file "/full/path/to/folder"'</pre>

  • How to create analytic privileges from sql command line in hana studio?

    I want to create a bunch of analytic privileges, activate them and assign it a roles. I was wondering if there is a method where I can create these analytical privileges directly from sql?

    Hi Krishna,
    Thanks for the reply.
    The use case is to create a bulk analytical privileges on the pre-existing analytical or calculation views and I'm failing to create it using the simple CREATE STRUCTURED PRIVILEGE.
    The security guide shows below mentioned as the syntax but I'm failing to create it through that:
    CREATE STRUCTURED PRIVILEGE AP_SALES_1 FOR SELECT ON TABLEOWNER.VIEW_SALES WHERE REGION IN ('DE','UK') OR PRODUCT = 'CAR';
    It gives me this error -
    SAP DBTech JDBC: [257] (at 44): sql syntax error: incorrect syntax near "FOR": line 1 col 44 (at pos 44)

  • Creating an outline from a rule line? Can you do that in InDesign?

    I want to outline a 12 pt stroked rule line in an InDesign document.
    Piece of cake in Illustrator but can this be done in InDesign?

    Hi Thomas,
    As long as the line is strictly horizontal or vertical, the following script will do the trick:
    //ConvertRuleToBox.jsx
    //An InDesign CS3 JavaScript
    //Converts the selected rule to a frame.
    main();
    function main(){
    if(app.selection.length != 0){
      if(app.selection[0].constructor.name == "GraphicLine"){
       var myGraphicLine = app.selection[0];
       var myFillColor = myGraphicLine.strokeColor;
       var myPointA = myGraphicLine.paths.item(0).pathPoints.item(0);
       var myPointB = myGraphicLine.paths.item(0).pathPoints.item(1);
       if((myPointA.anchor[1] == myPointB.anchor[1])||(myPointA.anchor[0] == myPointB.anchor[0])){
        var myBounds = app.selection[0].visibleBounds;
        myGraphicLine.paths.item(0).entirePath = [
          myBounds[1],
          myBounds[0]
          myBounds[1],
          myBounds[2]
          myBounds[3],
          myBounds[2]
          myBounds[3],
          myBounds[0]
        myGraphicLine.paths.item(0).pathType = PathType.CLOSED_PATH;
        myGraphicLine.strokeWeight = 0;
        myGraphicLine.fillColor = myFillColor;
       else{
        alert("Please select a horizontal or vertical graphic line and try again.");  
      else{
       alert("Please select a graphic line and try again.");
    If the line is at an angle, it'll take a more complicated script.:-)
    Thanks,
    Ole

  • How to create diferents deliveries for each schedule line

    Dear gurus,
    I have sales orders with many schedule lines in order to deliver in diferents dates. We need to create all the deliveries together but each schedule line needs to be in a diferent delivery with the corresponding delivery date.
    I analiced the customizing about pool for delivery creation (VL10) but all I can change is for display and can not change the way the delivery is created. If we select two schedule line with diferent dates, the proccess create only one delivery with the total quantity and the first date of delivery.
    Anybody knows some way to make the proccess create individual deliveries from diferents schedule lines?
    Tanks in advance!
    Marina.

    Hello Marina
    I hope you are using VL10E. Did you try working with Delivery creation date (range) and Delivery Date calculation rule? For example if you go for a value of 2 for the CalcRuleDefltDlvCrDt ('Rule for determining default value for deliv. creation date), then system will consider only those sched lines which are to be delivered today and tomorrow.
    You also have the possibility of setting up your own routine for CalcRuleDefltDlvCrDt.
    Thirdly SAP has suggested a solution for Scheduling agreements ( valid for releases upto 4.7). In this SAP has suggested solution 4 for ensuring all schedule lines are not delivered together. You can customize the code to include Sales orders ( in stead of Sched Agreements)  in your case. Though it is for release 4.7, I think you can use the smae concept in ECC also.
    137937 - SD scheduling agreement: Delivery split for each schedule li
    Check it out and let me know how it goes. Good luck.

  • Create new asset from SD delivery

    I know there is no standard functionality to create asset directly from SD delivery line items.
    But is there any functionality(User Exit) where we can create new assets directly from SD delivery or goods issue. Because our business process is similar to this.
    Thanks,
    YGB

    From SD there is no functionality to create assets, perhaps you can do this in combination with PS (service management)

  • How do i create a database template from the command line?

    Hi,
    As part of implementing a backup and recovery strategy for a client (including disaster recovery) I want to automate the creation of a database template From an Existing Database (Structure as well as data) via a script that will run every night.
    The background to this is that we will also be using RMAN to take backups of the database concerned but the client does not want to wait while an RMAN backup is restored and so wants an additional level of insurance in the form of a ‘standby’ clone database.
    The idea is that nightly we will run a script that creates a database template from the Existing Database (Structure as well as data) and then transfers the 2 files involved e.g. DB_data_included.dbc and DB_data_included.DFB across to a standby server where they can be used to recreate the database in the event of us needing to after e.g. a complete server failure.
    So I have a couple of questions about this that I would be very grateful if something could answer for me:
    1)     Is it possible? That is, can a database template be created from some utility by supplying a series of parameter=value pairs on the command line?
    2)     If yes how do I go about it, what utility do I use (the emca utility?). and what parameters do I need to supply on the command line to create the template?
    3)     The intention is that the script to create the template will run in the early hours of the morning when no-one is using the database but what state does the database need to be in when the template creation script runs i.e. up, down, mounted and does the creation of a template affect the state of an already up database i.e. if I kick off the template creation script and the database is up will it switch it into mount mode or anything like that? My concern here is that I want to make sure I understand exactly what is going on so that no users or connected external systems are affected?
    Thanks in anticipation of someone being able to guide me on what to do or what documentation to read.
    Also if you require any clarification on what i'm asking please post up your query and i'll respond ASAP.
    Kind Regards,
    George Johnston
    OCP 9i DBA

    Sybrandb,
    Firstly thanks for you reponse.
    However, I don’t agree that dbca only creates empty databases otherwise why does the option to create a template from an existing database (structure as well as data) exist in the dbca wizard?
    I have performed a test case where I have a created a database template including data on one 10g server. I have then used the files generated to recreate that database on a separate server. When the new database is started it is an exact copy of the original. So it’s not empty at all , it’s exactly what the client wants.
    So I don’t agree that I’m gaining zero.
    Why is this approach doomed to fail?
    There a number of reasons why I “just set up a proper standby database”
    1.     Time – I’m on a customer site in a tight engagement where the customer wants maximum value for money. I don’t have standby database skills and the customer isn’t willing to pay for me to learn on the job so please understand the tight circumstances I’m working in.
    2.     Availability – As far as I know the client is running 10.2.0.3.0 standard edition. Correct me if I’m wrong but is standby db available in that edition. Where do I look to check V$OPTION.
    On the RMAN duplicating a database front it’s an area I haven’t used before but I will take a look at it.
    Also please revisit the context of my original posting where I state
    The background to this is that we will also be using RMAN to take backups of the database concerned but the client does not want to wait while an RMAN backup is restored and so wants an additional level of insurance in the form of a ‘standby’ clone database.
    So please understand that this a quick fix that the client wants developed in the minimum time possible in ADDITION to a full nightly RMAN backup being taken.
    In an ideal world I’d have the time to follow best practice but in the real world of on-site customer support I just need to get the job done operating under the customer imposed constraints.
    Many Thanks,
    George Johnston
    OCP 9i DBA

  • Problems Creating a CSV from command line

    I have tried to create a csv file from the command line and get some unwanted lines of data in the output. Does anyone know how to create a csv without the extra lines from the command line.
    I am using the following sequence of commands.
    set wrap off
    set termout off
    set verify off
    set heading off
    set feedback off
    set lines 900
    set pages 9999
    set newpage none
    set embedded on
    set colsep ','
    set trimspool on
    spool test6.lst
    select * from rft;
    spool off
    When I run this from a script, I get exactly the data, which is what I want.
    When I run this from the command prompt, I get an extra line at the start and one at the end of the csv file.
    The data at the start is like this:
    WMSP:wmsp:SQL*Plus> select * from rft;
    The data at the end is like this:
    WMSP:wmsp:SQL*Plus> spool off
    Does anyone know how to keep these lines out of the data?
    Thank you.

    >
    The data at the start is like this:
    WMSP:wmsp:SQL*Plus> select * from rft;
    The data at the end is like this:
    WMSP:wmsp:SQL*Plus> spool off
    Does anyone know how to keep these lines out of the
    data?
    Well, a workaround could be to use one of the gazillions of utilities in Unix/Linux to remove all lines having the sql prompt (SQL>), right after your "test6.lst" file has been created.
    I am using the "perl pie" for the same in the code snippet that follows:
    $
    $ cat create_csv.sh
    #!/bin/bash
    sqlplus -s test/test << EOF
    set wrap off
    set termout off
    set verify off
    set heading off
    set feedback off
    set lines 900
    set pages 9999
    set newpage none
    set embedded on
    set colsep ','
    set trimspool on
    set echo off
    spool test6.lst
    select * from t;
    spool off
    EOF
    # remove the lines that have the sql prompt: SQL>
    perl -pi -e "s/SQL\>.*$|^$\n//g" test6.lst
    $
    $ # run the script, dump stdout to the null device
    $ create_csv.sh 1>/dev/null
    $
    $ cat test6.lst
             1,a
             2,b
             3,c
             4,d
    $
    $Note that the "test6.lst" on my system had the prompt "SQL>". You will have to tweak that regular expression so that it works for the prompt in your "test6.lst" file.
    pratz

  • Create key mapping using import manager for lookup table FROM EXCEL file

    hello,
    i would like create key mapping while importing the values via excel file.
    the source file containing the key, but how do i map it to the lookup table?
    the properties of the table has enable the creation of mapping key. but during the mapping in import manager, i cant find any way to map the key mapping..
    eg
    lookup table contains:
    Material Group
    Code
    excel file contain
    MatGroup1  Code   System
    Thanks!
    Shanti

    Hi Shanti,
    Assuming you have already defined below listed points
    1)  Key Mapping "Yes" to your lookup table in MDM Console
    2) Created a New Remote System in MDM console
    3) proper rights for your account for updating the remote key values in to data manager through import manager.
    Your sample file can have Material Group and Code alone which can be exported from Data Manager by File-> Export To -> Excel, if you have  data already in Data Manager.
    Open your sample file through Import Manager by selecting  the remote system for which you want to import the Key mapping.
    (Do Not select MDM as Remote System, which do not allows you to maintain key mapping values) and also the file type as Excel
    Now select your Soruce and Destination tables, under the destination fields you will be seeing a new field called [Remote Key]
    Map you source and destination fields correspondingly and Clone your source field code by right clicking on code in the source hierarchy and map it to Remote Key if you want the code to be in the remote key values.
    And in the matching criteria select destination field code as a Matching field and change the default import action to Update NULL fields or UPDATED MAPPED FIELDS as required,
    After sucessfull import you can check the Remote Key values in Data Manager.
    Hope this helps
    Thanks
    Sowseel

  • How not to get a 'Journal Import Created' description at the Journal Entry Lines?

    For records loaded thru the Journal import,
    I always get a 'Journal Import Created' description at the Journal Entry Lines.
    Instead of this description, I want a
    more useful information which I may
    include at the GL_INTERFACE table
    possibly at the REFERENCE10 field.
    For those who will reply to this question,
    thank you very much in advance.
    null

    To populate this journal description, the Reference10 field must be populated in the GL_INTERFACE table.
    However, I have also discovered (version 11.03) that if you populate this field, but then import summarized journals, Oracle discards the value and reverts to "Journal Import Created" unless the value in the reference10 field is identical for all records to be summarized.
    null

  • Using ME57 to create an RFQ from multiple lines on multiple PRs

    When using ME57 to create RFQs how can I select multiple line items from multiple purchase requisitions to turn into a single RFQ. If I select multiple lines and then use 'RFQ with Vendor', it only selects one line item.  After further research it appears that you can only create only line at a time (very time consuming). 
    If you use ME41 and create with reference to PR then you can not sort or filter columns to allow for easy consolidation.
    Another forum recommended the following when using ME57 which works but it again adds extra steps to the process.
         The whole process is as follows -
         1) When you are in the 'Assign and Process Purchase Requisition' screen, select related PR and then click on 'Without Vendor' icon to flag all PRs for RFQ processing.
         2) Select these PRs again and click further on 'Assignment Overview' icon (Shift and F5). The next screen will appear - Assign and Process requisitions - Overview of Assignments screen.
         3) Select the 'PReq' column and then click further on 'Process Assignment' icon (F2). The next screen will appear where you have to maintain the 'quotation deadline' information.
         4) Then click on 'Continue' icon (enter).
    [http://www.sapfans.com/forums/viewtopic.php?f=6&t=198768]
    So is there any way to either 1) enable sorting of data in ME41 or 2) use ME57 to create one RFQ from multiple line items of multiple purchase requisitions when selecting 'RFQ with Vendor'.

    What is the JPEG specs? What are the specs of the project you're working in?

  • Can you create a To Do from the Subject line of an email?

    Does anyone know if it's possible to create a To Do from the subject line of an email in Mail?
    Here's what I'm trying to do. I open a mail message, then I can highlight any text in the body of the message. When I do this, the To Do button becomes enabled. If I highlight the subject of the message, the To Do button remains disabled.
    Is there any way of doing this aside from highlighting text, then changing the text?
    Thanks!

    Open Mail Help from the Help menu. One of the main topics listed is how to create to-dos. Click on it to see what you are able "to do."

  • Creating multiple records from 1 record in the source file for Import DM

    Hi Experts,
    Today I am working on an interface/import where I want to get the following result:
    Source file contains a records like:
    Account, Entity, DriverX
    Sales,EntityA,ZZ
    The BPC appset contains the 2 dimensions Account and Entity next to CostCenter dimension. The DriverX field in the source file is just additional information in the source file. However based on this DriverX we need to determine what CostCenter to choose but we also need to have the same record assigned to a second record in BPC.
    Following my example, based on DriverX value I need to create 2 records:
    Account, Entity, CostCenter,
    Sales,EntityA,CC1
    Sales,EntityA,CC2
    I don't have a problem assigning the record to 1 CostCenter based on DriverX value but I have a problem creating my second record. Does any of you have had the same "challenge" and if so would you like to share the solution for this?
    Best regards,
    Johan
    PS: I am working on SAP BPC, version 7.0 Microsoft version.

    Hi Greg,
    Many thanks for your answer. And yes this would be a solution. However I just simplified my case as the decision to create an second record and where to post is depending on more than 1 field in the source.
    But I will keep it in mind, because I also can opt for a solution to store data differently in BPC fac-tabels which will help me to use script logic.
    If it is not possible to create multiple records from a single records in the standard functionality in the Transformation and/or Conversion file, I have to create a custom DTSX or change my way of storing data.
    Anyone else who is having an alternative idea like Greg came up with?
    Please let it know!
    Best regards,
    Johan

  • I created an album from photos taken off three different cameras. I am sorting the photos manually and when I close iPhoto, the photos move back either by date or by camera import time. How can I keep the photos from moving around?

    I created an album from photos taken off three different cameras. I am sorting the photos manually and when I close iPhoto, the photos move back either by date or by camera import time. How can I keep the photos from moving around?

    Don't tell us, tell them
    http://www.apple.com/feedback/macosx.html is the place for feature requests and feedback

  • Creating PO from PR - some line item fields are disabled.

    Hi All,
    I am creating a PO from purchase requisition through ME21N, from the document flow, I am dragging and dropping the PR into PO screen. While doing this, there are some line items which gets disabled. I want to check where this has been done, I checked in the BADI  and also in screen exits:
    SAPMM06E 0101 CUSTSCR1 SAPLXM06 0101 Subscreen: PO header
    SAPMM06E 0111 CUSTSCR1 SAPLXM06 0111 Subscreen: PO item
    SAPMM06E 0201 CUSTSCR1 SAPLXM06 0201 Subscreen: agreement header
    SAPMM06E 0211 CUSTSCR1 SAPLXM06 0211 Subscreen: agreement item
    SAPMM06E 0301 CUSTSCR1 SAPLXM06 0301 Subscreen: RFQ header
    SAPMM06E 0311 CUSTSCR1 SAPLXM06 0311 Subscreen: RFQ item
    But could not find anything, Please help.
    Regards,
    Madhuri

    Dear Guru's,
    we just facing the already discussed issue that a PO within PLANT from PO-item-level should be part of the PO-output determination. Which userexits have to manipulated to get field PLANT into structure KOMKBEA_FILL especially when PO is still not saved (NO EKKO/EKPO information available) but message is already determined with status "NOT PROCESSED"???
    Thanks for an answer.
    Regards,
    Bernd

Maybe you are looking for