Change default settings and commands in sql plus

everytime i execute sql plus I have to change environment commands maually
(like linesize , wrap ...etc )
is there is a way to load those defaults not to reexecute them every time I access sql plus
Anyone have answer ????????

glogin.sql (%ORACLE_HOME%/sqlplus/admin/glogin.sql) is executed whenever any user starts SQL*Plus on the machine. login.sql (on Windows, defaulted to %ORACLE_HOME%/bin but can be changed by setting the SQLPATH environment variable) is executed for a particular user.
You change the default linesize, or execute any other SQL*Plus commands, in either of these files.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC

Similar Messages

  • When I download Microsoft word documents (if have word 2007), I have somehow changed the settings and it downloads them in wordpad, and the format is very bad and I can't read a lot of the document. How do I change the default setting back to using Micro

    When I download Microsoft word documents (if have word 2007), I have somehow changed the settings and it downloads them in wordpad, and the format is very bad and I can't read a lot of the document. How do I change the default setting back to using Microsoft Word 2007 to open these documents?
    == This happened ==
    Every time Firefox opened
    == about a few weeks ago - I had tried to open some docuuments saved on a mac, my PC (which runs Windows 7), used word pad to open these, and this seems to have changed the default settings somehow.

    See this:
    [http://support.mozilla.com/en-US/kb/Managing+file+types]

  • Copy command for SQL*Plus

    Am trying to use the copy command in SQL*Plus to copy a table
    from an Oracle database to a local table on my machine in
    another format. Keep getting errors. It seems to contact the
    remote machine fine, but can't locate my local machine or figure
    out where to put it. Any suggestions on how to set up my
    Windows 95 machine to get the copy command working would be
    greatly appreciated. Thank you.
    null

    Hi,
    Here is an example :
    SQL> copy from scott/tiger@q4_production_server create ord -
    using select * from ord;Array fetch/bind size is 15. (arraysize is 15)
    Will commit when done. (copycommit is 0)
    Maximum long size is 80. (long is 80)
    Table ORD created.
    21 rows selected from scott@q4_production_server.
    21 rows inserted into ORD.
    21 rows committed into ORD at DEFAULT HOST connection.
    Hope this helps,
    Bala
    Laura Michaels (guest) wrote:
    : Am trying to use the copy command in SQL*Plus to copy a table
    : from an Oracle database to a local table on my machine in
    : another format. Keep getting errors. It seems to contact the
    : remote machine fine, but can't locate my local machine or
    figure
    : out where to put it. Any suggestions on how to set up my
    : Windows 95 machine to get the copy command working would be
    : greatly appreciated. Thank you.
    null

  • Change default settings when user share file

    When users click on share file default setting is:
    Can edit and mark send an email invitation.
    Is there possible to change to:
    Can view and NOT mark an email invitation

    Hi,
    According to your description, you want to change default settings to
    can view and uncheck send an email invitation when user share file.
    To by default uncheck send an email invitation.  Go to the file "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\TEMPLATE\LAYOUTS\AclInv.aspx".
    You can change:
    <wssawc:InputFormCheckBox
    runat="server"
    id="chkSendEmail"
    Checked="True"
    LabelText="<%$Resources:wss,aclver_SendEmailCheckbox%>"
    To
    <wssawc:InputFormCheckBox
    runat="server"
    id="chkSendEmail"
    Checked="False"
    LabelText="<%$Resources:wss,aclver_SendEmailCheckbox%>"
    Here is a similar post, you can use as a reference:
    https://social.technet.microsoft.com/Forums/office/en-US/f250aa4a-94f0-4603-9da2-e9040d5d6133/how-to-by-default-uncheck-send-an-email-invitation-when-granting-access?forum=sharepointadmin
    To by default can view. Go to the file "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\TEMPLATE\LAYOUTS\AclInv.aspx".
    You can add the following code into the function _spBodyOnLoad():
    document. querySelector('[id$=DdlsimplifiedRoles]').value="role:1073741826";
    Best Regards,
    Lisa Chen
    Lisa Chen
    TechNet Community Support

  • OLAP commands at sql*plus

    Hi there,
    I installed on my computer the Analytic Workspace Manager 11g to manage olap cubes by using this page http://www.oracle.com/technology/products/bi/olap/index.html. It is a very useful tool which really helped me on building and quering tools, but i wasn't able to find any staff about how to do all this at command prompt "sql*plus".
    So, I would like to know how i can work with olap using commands at a proper command prompt like sqlplus. To be more specific i need commands which:
    1. Define dimensions,levels,hierarchies and cubes at command prompt!
    2. Load data on dimension tables and cubes!
    Also, could you give me a tutorial which organises all OLAP commands?
    Note: If there is no other way but to use the tool i just said, It would be helpful to tell me!

    All metadata/object creation is via the OLAP API (which is Java) so you can't create dimensions and cubes via SQL Plus. You can, however, manage cube maintenance using the dbms_cube package (which can, of course, be called from SQL Plus). See http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28419/d_cube.htm#CFHGDJAA

  • I changed some settings and my internet doesnt work

    So this morning I was playing around with my routers settings that I accessed thru 192.168.1.1. The only change I made was to allow public LAN. Now I'm not quite sure what that means (so obviously shouldn't have played with it). But previously my network did broadcat and it did not have a password. So after I allowed public LAN, my Internet connection switched to limited connectivity and I can't get my Internet back. I have tried multiple restarts and disabled ipv6, updated my wireless card settings and nothing I do works. I also tried to modify my Internet settings thru the Internet at 192.168.1.1, but it won't connect with limited connectivity and remote access to the router is disabled
    What can I do to get my Internet back?
    I have windows vista- lenovo/IBM T61- westell router(not sure what type)- verizon internet

    Reset your router. There should be a reset button on it somewhere. This will bring it back to the default settings and it should start working again, or at least make it so you can access it via 192.168.1.1 to configure it.
    If a forum member gives an answer you like, give them the Kudos they deserve. If a member gives you the answer to your question, mark the answer as Accepted Solution so others can see the solution to the problem.
    "All knowledge is worth having."

  • ERRORs executing CWM commands in SQL Plus

    Hi,
    I tried to execute following command in SQL Plus:
    execute cwm_olap_dimension.set_plural_name('olapdata', 'OLAP_APARAT_DIM', 'OLAP_APARAT_DIM');
    And in response I got following result:
    BEGIN cwm_olap_dimension.set_plural_name('olapdata', 'OLAP_APARAT_DIM', 'OLAP_APARAT_DIM'); END;
    ERROR at line 1:
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "OLAPSYS.CWM$UTIL", line 535
    ORA-06512: at "OLAPSYS.CWM$OLAP$DIMENSION", line 17
    ORA-06512: at line 1
    Can anyone explane me what am i doing wrong ?
    I would really appreciate any help!
    Thanks

    check SQL*Plus user's guide
    e.g column REMARK format a30
    set linesize 2243
    etc etc etc

  • How do I change default settings in the author field when I edit or insert a comment in a PDF?

    How do I change default settings in the author field when I edit or insert a comment in a PDF?

    Generally it gets this info from the Identity in the preferences. Unfortunately, I know of no way to change the Login Name that shows up in the comments. I need to look at newer versions of Acrobat on other machines, this is AA8.

  • What are the defaul username and password for SQL Plus ?

    hello, what are the defaul username and password for SQL Plus ? i'm using the client 11.2.0.1

    You'll need to download the full database installation files for the platform you are using. They are two .zip files, about 2.2 gig total.
    I'm not going to give you the link because you should be able to find it easily. You have to read and accept the license agreement anyway.
    When you install it, you'll be given several options about the type of database you want.
    But before you install anything, you should read the installation manual for your platform.

  • Is there a way to personalize my font in my icloud email i.e. make permanent change/default settings to font, color.  I don't want to make these changes on each individual email?

    i.e. make permanent change/default settings to font, color.  I don't want to make these changes on each individual email

    Settings App > Messages > Start New Conversations From [set to your phone number].

  • How can i change the scroll direction of the trackpad? Someone hooked a mouse up to it and it changed the settings and I cant change it back.

    How can i change the scroll direction of the trackpad? Someone hooked a mouse up to it and it changed the settings and I cant change it back.

    >System Preferences>Hardware>Mouse>Point & Click>Scroll Direction.

  • Icloud was originally set up wrong and I cannot get in to change my settings and no longer know the password

    icloud was originally set up wrong and I cannot get in to change my settings and no longer know the password

    Go to http://appleid.apple.com and click 'Forgot password'. Enter the ID you set iCloud up with. A new password will be sent to your associated email address.

  • How to set all new vm with VLAN ID as a default settings and alose set the avaiablity high .

    How to set all new vm with VLAN ID as a default settings and alose set the avaiablity high .

    Hi Ramy,
    As a work around , you can create a VM without installing OS and  configure the Vlan of VNic , then export it .
    The new VM will be with Vlan ID when you import the "export file".(note : you need to select "copy the virtual machine " in the tab "choose import type" during importing ) .
    Hope this helps
    Best Regards
    Elton Ji
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • How can I change default settings for font and size?

    How can I change my default font and size in pages?

    hi Ben,
    I found two files called AdobeDreamweaverSettingsPrefs  (.xml and.tmp)
    I removed them , emptied trash and restarted dreamweaver but the font stacks are sill missing.
    thank you for your suggestion,
    christos

  • CONNECT and ALTER statements in a Procedure. COPY command in SQL*Plus

    Hi people,
    Is it possible to use the SQL commands, "CONNECT" and "ALTER TABLE" in a procedure, function or trigger?
    In one of my audit procedures, I need to connect to a financial database (FROM the applications database), and then proceed to alter a number of tables based on certain data. I'm sure I've done it before, but I can't remember how! Isn't there a command such as "EXEC_SQL" or something?
    Another question:
    I need to copy a table from one database ("OPS$TSLIVE") to another ("TRACKER"). Here is an excerpt of my code, as well as an error! I've never had this error before!
    JOHANN> copy from ops$tslive/pwd@cds to tracker/pwd@tracker create new_alerts using select * from alertcodesfile;
    Array fetch/bind size is 15. (arraysize is 15)
    Will commit when done. (copycommit is 0)
    Maximum long size is 80. (long is 80)
    select * from alertcodesfile
    Error in SELECT statement: ORA--1002: Message -1002 not found; product=RDBMS; facility=ORA
    Please help!
    Kind regards,
    Johann.

    You are refering to 'execute immediate' (>=8i). As far as I know it is not possible to do connects. Alter table perhaps, if it is in the local database (try it). If you want to perform dml in a remote database, create a database link and use that to perform you dml on. a DB link can also be used to call a remote procedure (That perhaps does the alters for you). Try it.
    The oracle doc says this about ORA-1002:
    ORA-01002 fetch out of sequence
    Cause: In a host language program, a FETCH call was issued out of sequence.
    A successful parse-and-execute call must be issued before a fetch. This can
    occur if an attempt was made to FETCH from an active set after all records have
    been fetched. This may be caused by fetching from a SELECT FOR UPDATE
    cursor after a commit. A PL/SQL cursor loop implicitly does fetches and may
    also cause this error.
    Action: Parse and execute a SQL statement before attempting to fetch the data.It looks like a bug, ask Oracle support.
    L.

Maybe you are looking for

  • FI/accounting document tab not working in migo or mb03

    Dear Experts, In our test server the accounting entries are not showing when we are trying to check those through MIGO(display) or mb03 by clicking FI document tab. Although all are valuated entries, what could be the reason, message is coming "No su

  • Bug in shuffle? or am I doing something wrong?

    Hi, I have a number of 1-minute clips that each have a 3 second text name on them in track v2. I've decided I want to re-order some of the clips, and I'm having more trouble with it than expected. First I tried to attach the name to the audio and vid

  • Auto increment field in database issue

    Ok, I have read all about the issues with the auto increment field when trying to hook my form up to a ms access database. My problem is that the auto increment field is the one field I want in my form. Any suggestions how to create a new record with

  • Improve the performance of the data activation on DSO.

    Hi, I would like to improve the performance of the data activation on DSO. 1000 records should be uploaded by 10 minutes. Now it takes 10 minutes to activate data in DSO. And it is strange that it takes long time ( about 9 minutes) before starting ac

  • Attaching data to graphics

    I'm attempting to create an infographic (involving percentage increase) that is attached to data. My hope is that with images and underlying code, the graphic will automatically react and visual totals will be updated each time new data is put into t