How to change Default editor in Linux for PL/SQL Programming

Deare friends ,
I am using oracle 8i (8.1.6) on RedHat Linux 7.2 , But i donot know how to change default editor for modify editor on sql prompt say ex:-
In winodow
SQL> ED
it open nope pad to modify sql and pl/sql statement
while in linux
SLQ > ED
it open one editor but it is not easy to work and i want to change that editor so could you tell me how to chane editor i want to use vi editor .
if any boyd know reply me on :-
[email protected]
or on this forum
Thanking you in advance
Piyush Patel

Either manually do a 'define editor=vi' when you log in through sql*plus, or put that in the glogin.sql in $ORACLEHOME/sqlplus/admin or put that in a login.sql in the directory you run sqlplus from.

Similar Messages

  • How to change default Current Flag values for SCD2?

    I'd be curious to find out how to change default Current Flag values for SCD2 (instead of 0/1 to use N/Y)
    Probably I can change IKM module .... is there another way?
    Thanks

    Hi,
    You need change the IKM. This values are hardcode in the IKM.
    You can create a new IKM and the values used are a options of the IKM.
    Regards
    Edited by: Uthred on May 18, 2009 4:27 PM

  • How to Change Default Colors in Linux

    Hello All, and thanks in advance.
    I wanted to know how can I change the default colos in Linux, so that they resemble the Windows's one.
    For example I want to change the blue-green bg color in linux to a gray.

    Either manually do a 'define editor=vi' when you log in through sql*plus, or put that in the glogin.sql in $ORACLEHOME/sqlplus/admin or put that in a login.sql in the directory you run sqlplus from.

  • How do I submit a concurrent request (for PL/SQL program)   from RDF

    Hi,
    I have a requirement i need to call a PL/SQL program using concurrent request from Oracle RDF, I am using below code.
    -> PL/SQL program has two input parameters
    Case:- 1
    reqid :=
    fnd_request.submit_request ('SQLAP','IPCS_ACH_VENDOR_PAYMENT1','','', FALSE,
                   :P_PAYMENT_BATCH,'N' , '', '' ,
    If i ran the above rdf i am getting below errors from concurrent request log
    ORACLE error 6550 in FDPSTP
    Cause:  FDPSTP failed due to ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'GEN_ACH'
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    Case :- 2
    reqid :=
    fnd_request.submit_request ('SQLAP','IPCS_ACH_VENDOR_PAYMENT1','','', FALSE,
                   :P_PAYMENT_BATCH,'N' );
    -> Able to compile the report without any errors.
    -> Upon running the rdf getting below error messages
    REP-0736: There exist uncompiled program unit(s).
    REP-1247: Report contains uncompiled PL/SQL.
    => Case:1 very well worked for Host file .
    --- Please help me how to submit a concurrent program( PL/SQL with 2 paramerers) in RDF ...
    Thanks
    Edited by: Apps Beginer on Dec 2, 2009 1:40 PM

    Looking at the 11.5.10 version of the [Oracle Applications Developer's Guide|http://download.oracle.com/docs/cd/B25516_18/current/html/docset.html] on page 21-32 - it states that the FND_REQUEST function must know information about the user and responsibility that is submitting the request. Therefore, the function only works from concurrent programs or forms within Oracle Applications. There are ways around this by initializing this information in your session before your call to SUBMIT_REQUEST. I've never tried this from a Report, but I've done it from PL/SQL that executes outside of Apps. You could try the following to see if it works.
    DECLARE
         n_RESP_APPL_ID          NUMBER;
         n_RESP_ID          NUMBER;
         n_USER_ID          NUMBER;
         n_REQUEST_ID          NUMBER;
    BEGIN
         n_RESP_APPL_ID := apps.FND_PROFILE.VALUE('RESP_APPL_ID');
         n_RESP_ID := apps.FND_PROFILE.VALUE('RESP_ID');
         n_USER_ID := apps.FND_PROFILE.VALUE('USER_ID');
         apps.FND_GLOBAL.Apps_Initialize(n_USER_ID, n_RESP_ID, n_RESP_APPL_ID);
         /* I prefer to use Named Notation for this call rather than enter placeholders for all 100+ parameters to SUBMMIT_REQUEST */
         n_REQUEST_ID := apps.fnd_request.submit_request(
                                       application => 'SQLAP',
                                       program => 'IPCS_ACH_VENDOR_PAYMENT1',
                                       start_time => To_Char(sysdate,'DD-MON-YYYY',
                                       argument1 => :P_PAYMENT_BATCH
                                       );Obviously, I don't know all of the parameters you need for your request, so I made a "BEST GUESS" based on your code sample so I doubt my example call to Submit_Request will work if you Copy-N-Paste. Make sure you use the correct parameters when you try this in your report.
    Hope this helps.
    Craig...
    If a response is helpful or correct, please mark it accordingly

  • How to change default approval for ResourceAuthorizerApproval ?

    Hi,
    I'am new in OIM and I follow documentation where I found some predefined workflows. I'd like to use them.
    Could you tell me, step by step, how to change default approval for ResourceAuthorizerApproval (only for my new defined resource).
    I'm using OIM 11g and Design Console 11.1.1.3.0.2.0

    Ok, I made new tamplate (copy of existing one), there I changed Template Level Approval Process and set allowed resources. It seems to be ok :)
    If there are other solutions please share with me
    Thanks
    M.

  • How to change default ringtone to a custom one for IPhone 5.

    I have gone into settings  through Sounds made the change, but it does not register as the default even though the ringtone chosen has the checkmark beside it.  Ringtone still lists the factory default under sounds & vibrations.
    I am able to customize ringtones for individual contacts.

    user598986 wrote:
    Hi,
    How to change default value in a table
    I have a table TEST which has 2 fields CODE of Datatype VARCHAR2(10) and Indicator as VARCHAR2(1).
    I want to change the default value using ALTER TABLE TEST of field Indicator to 'I'.
    ALTER TABLE  test
    MODIFY (indicator DEFAULT 'I'); 
    Incidentally, INDICATOR is a keyword in Oracle, so you may have problems using it as a column name. If so, you'll have to enclose the column name in double-quotes, and be careful to use capital letters inside the quotes.
    Edited by: Frank Kulash on Aug 26, 2009 11:42 AM

  • How to change the UWL refresh rate for all portal users.

    Hi Portal Experts,
    How to change the UWL refresh rate for all portal users?
    Users can individually change the refresh rate through "Personalise View" in UWL.But we want this to set it for all users(we have 10k portal users).
    It was defaultically set to 5 mins for all users.How to change this to 20 mins.
    Thanks
    Sony.

    1.      Launch the UWL iView configuration page.
    You can access the iView from the UWL administration pages (System Administration ® System Configuration). Navigate to the property editor as follows:
          From the Universal Worklist Systems, choose the system for which you want to edit the properties.
        Choose Edit.
    may be you can get clear help from below help file
    http://help.sap.com/saphelp_nw04s/helpdata/en/eb/101fa0a53244deb955f6f91929e400/frameset.htm
    regards
    nagaraju

  • How to change default Ovi Player store ...

    Hi, 
    I need help from you people.  
    I had installed Ovi Player. Whenever I try to open Ovi Player, the default store gets’ open is "India". I change the store location to "Germany". When I do the search for particular music, it will again take me to "India" store instead of "Germany" store. In addition, most annoying is that I have to re-login but my user id and password will not work as its different store. Also when I go via music.nokia.de and try to login, it open Ovi player and since default location is "India", it takes me to India store and my login credentials do not work.  
    I ask Nokia care on how to change default Ovi Player Store location but they are unable to provide any good answer.  
    I already un-install / re-installed but won't work. Do any of you have answer to my problem? I want my default Ovi Player location to be "Germany" instead of "India".  
    More information, my regional settings have location as “Germany” and language as “English”.  
    Please help. 
    Thanks for your response.
    Regards,
    Subhendra
    Nokia N97 Black
    RM-505
    V12.0.026
    0586701
    Solved!
    Go to Solution.

    I had got message from Nokia on how to correct this issue. This had solved the problem. Below is the mail from them ...
    Dear Chakraborty,
     Thank you for your response.
     This error is sometimes caused by a corrupted MDataStore.db3 file used by the Ovi Player.  This file will need to be deleted with the Ovi Player closed.  Then open the player and the datastore file will be rewritten by the application:
     Close Ovi Music Player and delete the MDataStore.db3 file:
     Vista C:\Users\<user>\AppData\Local\Nokia\Nokia Data Store\DataBase\MDataStore.db3
     XP C:\Documents and Settings\<user>\Local Settings\Application Data\Nokia\Nokia Data Store\DataBase\MDataStore.db3
     Both of these locations are in hidden folders.  So, to view them users will need to: 
     Open Windows Explorer > Tools > Folder Options > View > Show Hidden Files and Folders
    Once Ovi Music is opened again the MDataStore.db3 file will be rewritten to this folder.
      After that manipulation try to install the Ovi Player once again:
     http://europe.nokia.com/explore-services/music/nokia-music
      Best regards
     Nokia Care Team

  • How to change default value in a table using ALTER TABLE

    Hi,
    How to change default value in a table
    I have a table TEST which has 2 fields CODE of Datatype VARCHAR2(10) and Indicator as VARCHAR2(1).
    I want to change the default value using ALTER TABLE TEST of field Indicator to 'I'.
    Any help will be needful for me
    Thanks and Regards

    user598986 wrote:
    Hi,
    How to change default value in a table
    I have a table TEST which has 2 fields CODE of Datatype VARCHAR2(10) and Indicator as VARCHAR2(1).
    I want to change the default value using ALTER TABLE TEST of field Indicator to 'I'.
    ALTER TABLE  test
    MODIFY (indicator DEFAULT 'I'); 
    Incidentally, INDICATOR is a keyword in Oracle, so you may have problems using it as a column name. If so, you'll have to enclose the column name in double-quotes, and be careful to use capital letters inside the quotes.
    Edited by: Frank Kulash on Aug 26, 2009 11:42 AM

  • How to change default encoding in DataBindings.cpx

    Hello,
    How to change default encoding in DataBindings.cpx,
    on windows-1251 for instance?

    I've filed Bug# 3147045 for this. Our DataBinding.cpx file and UIModel XML files seem to be getting hardcoded to use the ISO-8859-1 encoding. Our ADF Business Components XML files correctly pickup the IDE encoding.

  • How to change default account  in  contacts

    How to change default account in contacts. My email address is outlook but need to change it too sky

    Thank You for your help put me on the right  track, Have  sky calender and all working
    Regards Maggie

  • How to change default Server NFS version in Solaris 10 ?

    How to change default Server NFS version in Solaris 10 ?
    I need to change default version of NFS server version, currently i have NFS_SERVER_VERSMAX=2, for changing NFS version i changed this variable in /etc/default/nfs, but still its using version 2,
    Please let me know where else i need to change./
    Thanks a lot in advance!!!

    Did you change the /etc/default/nfs on the server or on the client?
    What is NFS_SERVER_VERSMIN set to? The NFS server is allowed to use any version in the span of NFS_SERVER_VERSMIN and NFS_SERVER_VERSMAX.
    NFS_SERVER_VERSMAX=4
    The default of NFS_SERVER_VERSMIN is 2.
    And, as mentioned, you will have to restart your NFS server for changes to take effect.
    .7/M.

  • Very newbie: change default editor(notepad) of sqlplus in windows

    when typed 'edit' in sqlplus then notepad appear. HOw can I change default editor of sqlplus to other editor? Ex: gvim. I'm using gvim in windows also.
    Thanks in advanced.

    define _editor=C:\path\to\gvim 
    Niall Litchfield
    http://www.orawin.info/

  • How to change default compile directory tmp_ejb?

    Dear all,
    Someone knows how to change the default directory "tmp_ejb...." in WebLogic Server
    7.0?
    This is the default directory where WebLogic Server 7.0 generates and compiles
    the EJB's declared in config.xml.
    I try to specify the attribute TmpPath="ANOTHER_TMP_LOCATION_DIRECTORY_FOR_EJB"
    in the EJBContainer node but still doesn't work.
    The same thing happens when I test this attribute on EJBComponent declaration.
    Someone knows if there is an enviroment variable that specify this tmp_ejb location
    path?
    It's false that the tmp_ejb is located where the config.xml file is placed.
    I have 3 weblogic servers and they haven't the same behaviour.
    Someone can help me??????
    Thanks.

    I ran into the same problem and was wondering if you got an aswer the question you posted in BEA's news group: "How to change default compile directory tmp_ejb?
    Thanks

  • How to change default save as location

    hi,
    how to change default save as location in acrobat 7.0?

    Why is Acrobat involved in this process at all? Why don't you save directly the pdf from your email program directly where you want it to be? Acrobat is just adding another step to this process.

Maybe you are looking for