How to make ed command from sql prompt work in Solaris 10

Hi,
I recently installed Oracle 10g R1 on Solaris 10. When I tried to edit SQL statement by typine ed from SQL>, it does not give me the copy of my SQL statement for editing, instead it gives a blank space for typing. When I press return, a ? appears.
Can anyone help me to make this ed command work?
Thanks
Xiaoming

At OS level, before entering Sql*Plus, do :
$ EDITOR=vi; export EDITOR
$ sqlplus ......
Message was edited by:
Paul M.
Ciao Nicolas :-)

Similar Messages

  • How retrive the written command from sql editor

    hi all
    is there any method to do this.
    as i executes no. of commands in sqlplus editor
    due to the specific page size the some commands are not displayed.
    can recover all the command excuted from starting
    plz help

    856376 wrote:
    thanks i need that all queries which are excuted;start your session with
    SQL> set echo on feedback on verify on trimsp on tab off
    SQL> spool command_history
    --- then do your work

  • How to open notepad from sql prompt?

    Hi to all
    can anyone please let me know how to open notepad from sql prompt.
    I tried ed command but message appears " Cannot create save file "afiedt.buf"
    thanks in advance

    user13480742 wrote:
    can anyone please let me know how to open notepad from sql prompt.
    I tried ed command but message appears " Cannot create save file "afiedt.buf"Create a SQL*Plus shortcut on your desktop.
    Create a SQL folder on your desktop (in your documents folder, or whatever desktop location you have read and write access to).
    Change the +Working Directory+ of the SQL*Plus shortcut to this SQL folder you have created (via editing the properties of the shortcut).
    Launch SQL*Plus via that shortcut.
    It will now run from that SQL directory. This means that it will have read and write access to the current directory (allowing it to create the +afiedt.buf+ file for example). It also means that you can save your SQL scripts in this directory and execute these from the SQL*Plus command line, without having to specify a path.

  • Need command to run sql script from sql prompt

    Hi,
    I am beginner in sql i need a command to run sql file from sql prompt.In notepad i have write 10 to 15 tables creation and saved as .sql i want to run this file from sql promp pls some one help.I am very great full to all users in this forum.

    You can also use the 'start' command.
    You may also want to look in the SQLPlus User Guide and Reference (for your release) at the set command for commands to set the number of lines per page, turn headings on or off, and so on:
    http://download.oracle.com/docs/cd/E11882_01/server.112/e10823/toc.htm
    HTH -- Mark D Powell --

  • Xcopy Command From Sql

    Dear Guru's,
    I have Script of my all the procedure.
    After all procedure gets execute, As a output it create .csv files.
    This .csv files i manually copy past on one of my directory.
    For avoiding this manual copy past i want to use xcopy command from sql itself.
    Please guide me how do i do this.
    Regards,
    Chanchal wankhade.

    CHACHA wrote:
    I have Script of my all the procedure.
    After all procedure gets execute, As a output it create .csv files.
    This .csv files i manually copy past on one of my directory.
    For avoiding this manual copy past i want to use xcopy command from sql itself.
    Please guide me how do i do this.Do not like the sound of the architecture you are using for this. Scripts? Scripts for Oracle should be limited to installing s/w.
    Writing any kind of Oracle application using scripts, is questionable ito design, robustness, flexibility, security and so on.
    Wanting to use console commands from a SQL cursor? That sounds even more broken and wrong. If you want to do o/s calls, it should be done carefully and securely from PL/SQL code.
    And PL/SQL code should be inside the database - not outside in some script.
    As for copying files. Realise that SQL and PL/SQL code executes on the server inside an Oracle server process. This does not have access to your client's file system and directories.

  • Running OS Command From SQL

    Hellow,
    Can Any Anyone tell me how to run an Operating System Command From SQL ???
    Or From Developer 6i ??
    Regards
    Tariq

    Use Host command

  • When I open itunes on my laptop, how do i stop itunes from automatically prompting for my apple account info?

    When I open itunes on my laptop, and I have connected my iPod Touch, how do I stop itunes from automatically prompting for my apple account info?  I'm usually not intending to make any purchases at that time, so do they need to know my account info?

    Rented movies downloaded to an Apple TV can't be transferred to any other device.
    (86941)

  • How to make dyn/admin not to prompt for username and password?

    Hello all
    How to make dyn/admin not to prompt for username and password? I am writing a selenium job to automate cache invalidation to load test a production issue we are facing. Selenium is opening a fresh firefox session and prompting for username and password every time. I am also trying to modify my script such that it will use the same session again and not prompt for username and password. But I thought of asking this question in the group.
    Your inputs will help a lot.
    Thanks,
    Sundar

    Hi,
    You can set enabled property of /atg/dynamo/servlet/adminpipeline/AuthenticationServlet/ to false. It will not prompt for authentication.
    Gopi

  • How to execute Linux command from Java app.

    Hi all,
    Could anyone show me how to execute Linux command from Java app. For example, I have the need to execute the "ls" command from my Java app (which is running on the Linux machine), how should I write the codes?
    Thanks a lot,

    You can use "built-in" shell commands, you just need to invoke the shell and tell it to run the command. See the -c switch in the man page for your shell. But, "ls" isn't built-in anyays.
    If you use exec, you will want to set the directory with the dir argument to exec, or add it to the command or cmdarray. See the API for the variants of java.lang.Runtime.exec(). (If you're invoking it repeatedly, you can most likely modify a cmdarray more efficiently than having exec() decompose your command).
    You will also definitely want to save the returned Process and read the output from it (possibly stderr too and get an exit status). See API for java.lang.Process. Here's an example
    java.io.BufferedReader br =
    new java.io.BufferedReader(new java.io.InputStreamReader(
    Runtime.getRuntime().exec ("/sbin/ifconfig ppp0").
    getInputStream()));
    while ((s = br.readLine()) != null) {...                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to call gnuplot command from java

    Hi there,
    In our course, we are required to develop an GUI for gnuplot. In case you don't know about gnuplot, it's a plotting program and has lots of command. We want to use java and swing, but now we don't know how to call gnuplot command from java, or how to execute a shell command(script) from java.
    By the way, since we need read in files with several columns of data and allow user to select a column, we want to use JTable. Is that reasonable?
    Thanks a lot for any suggestions!
    Jack

    Hi, there:
    Will using JTable add much overhead? I may have to use several JTables and switch among them. I can add scroll bar to or edit JTables, right?
    BTW, do you have experience about gnuplot? Can I find the command tree of gnuplot somewhere? Or do you know a better place to post question about gnuplot? unix/linux group, maybe.
    Thanks,
    Jack
    P.S. Would you guys answer my question after I use up my duke dollars? :- )

  • How to access Oracle 8g from SQL Server 2005 SP3 EE 64 Bits ?

    Dear All,
    How to access Oralce 8g from SQL Server 2005 SP3 EE 64 Bits (liked server).
    Best regards,
    Miguel Gavinhos

    Hi!
    For the Oracle version is 8.1.6. what should I install, to access Oracle trought a linked server.
    Best regards
    Miguel Gavinhos

  • How to make a silhouette from a portrait (photo) and-

    How do I make a silhouette from a portrait?
    And how do I make the background transparent?

    Do you mean that I send you the portrait?
    Chabæna
    26 apr 2014 kl. 12:31 skrev c.pfaffenbichler <[email protected]>:
    Re: How to make a silhouette from a portrait (photo) and…
    created by c.pfaffenbichler in Photoshop General Discussion - View the full discussion
    How do I make a silhouette from a portrait?
    Ah, but wouldn’t it be ever so much easier to explain if you actually provided (a lores of) the image in question?
    And how do I make the background transparent?
    Preferably with a Layer Mask and then saving in the appropriate file format (psd or png24 for example support transparency).
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/6332417#6332417
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/6332417#6332417
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/6332417#6332417. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Photoshop General Discussion at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • How to connect to db from sql navigator ?

    database active and working.
    login from web working normally.
    how to connect to db from sql navigator ?

    Remote connections generally need three bits of information, whether its an oracle, odbc, or some other type of client ...
    1. Where does the database "live" (hostname or IP address)
    2. What port is the database listener "listening" on for connections
    3. What is the database service name or $ORACLE_SID
    Default port is 1521, if its an XE install the service name is XE out-of-the-box (as set up by the installer and no DBA intervention.)

  • How to make bootable iso from download

    how to make bootable iso from download

    This one - https://www.microsoft.com/en-us/download/details.aspx?id=5587
    1st:  This is NOT a .ISO file!!
    2nd.  It is a .MSI file which is a Microsoft Installer file.
    3rd:  Read the instructions:
    Install Instructions:
    Click the Download button to start the download.
    Do one of the following:
    To start the installation immediately, click Run.
    To save the download to your computer for installation at a later time, click
    Save.
    To cancel the installation, click Cancel.
    When installation completes a file called readme.txt will open to provide instructions for burning a home computer restore CD. The file is also located
    next to the ISO image file for later reference.
    4th: If you are unable to read and follow instructions, there is nothing anyone in these forums can do to assist you.  You must be capable of reading and following instructions! 
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
    OK, well sorry to disagree with you but:-
    1. Using windows 7, the download does not provide a save but only a run option.
    2. In the MS predownload instructions you copied it refers to the readme text next to "the ISO image"
    3. This is a copy of the read me file attached:-
    "This ReadMe document is one of the Windows Home Server Home Computer Restore CD files. Unless you changed the installation location during setup, the Home Computer Restore CD files and license terms are located in one of the following folders:
    * On Windows Vista: %HOMEPATH%\Documents\Windows Home Server Home Computer Restore CD (Dual Boot)
    * On Windows XP: %HOMEPATH%\My Documents\Windows Home Server Home Computer Restore CD (Dual Boot)
    To use the Home Computer Restore CD software, you must write the ISO image file (restorecd_dual.iso) to a blank CD. A CD/DVD burner is required to write
    the ISO image file to the CD. Usually a CD/DVD burner includes the software that you need to write ISO image files. Follow the instructions with your burner software, and then select the option to write an ISO image, not the option to write
    individual files. Note that you cannot write the ISO image by using Windows Explorer to copy the file to the CD-ROM drive.
    Burning the ISO image creates a bootable CD. To restore your home computer, boot the computer from the CD and follow the instructions.
    Microsoft may update the Windows Home Server Home Computer Restore CD software. You can download the latest version from the Microsoft Web site at http://go.microsoft.com/fwlink/?LinkID=109282.
    If you want to review the license terms for the Windows Home Server Home Computer Restore CD, the file EULA_DUAL.TXT can be found in the same folder"
    As you will see it refers to the downloaded .iso file. Nowhere is there a reference to a msi.  As there was only a run function on the downloaded file, it could not be saved. How is an ordinary Windows user meant to interpret the instructs
    if the download function does not work? What you do is try and follow the instructions and produce a load of frigging coffee mats, as it seems did many of the posters on this thread. Are we all illiterate?
    If Microsoft could think in the way of a user it would help a lot of people.
    So Rick Dee, please inform me how I misread the instructions?

  • How to make data flow from one application to other in BPEL.

    Hi All,
    I am designing work-flow of my application through BPEL(JDeveloper), I am making different BPEL projects for different functions, like sales manager got the order from sales person and sales manager either approve it or reject it, if he approve it it goes to Production manager and he ships the goods, now I want to keep sales person, sales manger,production manager in seperate BPEL files and want to get the output of sales person to sales manager and sales manager to production manager please help me in dong this.
    I was trying to make partner link in Sales manager of sales person and getting the input from there. I dont know this is right even or not, if it is right I dont know how to make data flow from one application to other.
    Experience people please guide.
    Sales Person -----> Sales Manager ----> Production Manager
    Thanks
    Yatan

    Yes you can do this.
    If you each integration point to be in different process, you have to create three BPEL process.
    1. Create a Async BPEL process 'A' which will be initiated when sales person creates the order.
    2. From BPEL process 'A' call a ASync BPEL process 'B' which has the approval flow. Depending on the input from process 'A' the sales manager will review the order in workflow and approve or reject and send the result back to process 'A'.
    3. Based on the result from workflow, invoke the Sync BPEL process 'C', where you can implement the shipping logic.
    -Ramana.

Maybe you are looking for

  • Initial download of Z contract table from R/3 to CRM

    Hi, We have two contract tables called ZCONTRACTHEAD and ZCONTRACTITEM in our R/3 system which we bring to our CRM system to the same respective tables. We use a downloadable object ZZCONN_HEAD and ZZCONN_ITEM in transaction r3ac1 and do an initial d

  • Using Datasource location

    Hello, I am trying to change the tables used in a specific report.  Table "Customers" is currently being used in the report.  I have made a copy of this table in my MS SQL DB and called it "Customers_2011".  Using 'Set Datasource Location" I am tryin

  • Help: iPod Classic 160GB refuses to update software, nor to restore

    I just purchased a 160GB iPod. I charged it, uploaded the music ( with my Macbook with OsX 10.4.11), and it works fine. But then it was supposed to update the software to 1.2. It refuses because of "unknown reasons": error 1435. I tried to reset it a

  • HT5467 Why is "Notify Me" in "Find Friends" greyed out ?

    I have got "Notify Me" working OK with various friends running IOS6, but my daughter's iPhone is a 3GS and, even though she is on IOS6, the "Notify Me" button in Find Friends when I locate her is still greyed out. Is this something to do with the fac

  • Seems OK, but won't play

    Hi all, Tried to use my shuffle after a few weeks of not using it. Turned it on and saw alternating green and amber lights. Did the 5-Rs, including updating to new version of iTunes. It seemed to work briefly when I tested it. Today I tried again. Th