Does SQL Developer has login.sql script where I can put all the env SQLs?

Hello community,
Please help me out with a simple question.
Each time I start SQL Developer (3.1) and connect to a database I need to run:
alter session set nls_date_format='YYYY.MM.DD HH24:MI:SS';
to set data fields format to reflect hours, minutes and seconds.
Can I automate it? I use login.sql in SQL Plus tro setup environment including data formant .
How to do it in SQL Dev?
Thank you in advance,
Yury

Hi Yury,
You have a choice:
1. Specify the login script via Tools|Preferences|Database|Filename for the connection startup script.
2. Specify the value of nls_date_format directly via Tools|Preferences|NLS|Date Format (and perhaps additionally the Timestamp formats).
Recall that not all SQL*Plus commands are supported by Worksheet, but alter session does in fact work just fine.
Regards,
Gary
SQL Developer Team

Similar Messages

  • Hello,  Is there a script that I can change all the colors of a layer in to 1 PMS color, unite every object and than give it an offset of -0,2 mm ?

    Hello,
    Is there a script that I can change all the colors of a layer in to 1 PMS color, unite every object and than give it an offset of -0,2 mm ?

    the offset has to be semi-automatic, apply an Offset Path Effect (by hand), create a Graphic Style out of it (by hand), then the script can apply this graphic style to objects.

  • I got a new laptop and I can't sync all my music onto iTunes without iTunes saying it will erase my songs on the phone, how do I fix this to where  I can put all my music on my laptop?

    I got a new laptop and I can't sync all my music onto iTunes without iTunes saying it will erase my songs on the phone, how do I fix this to where  I can put all my music on my laptop?

    If you do not have access to the iTunes Library on your Old computer... or its Backup...
    See these 2 Links...
    Syncing to a New Computer...
    https://discussions.apple.com/docs/DOC-3141
    Recovering your iTunes library from your iPod or iOS device
    https://discussions.apple.com/docs/DOC-3991
    If you do have access... See Here...
    iTunes: How to move your music to a new computer

  • HT201304 How can I give my daughter the ability to imessage on her itouch and text in a way where I can see all the activity?

    My daughter wants to text and iMessage with her friends using her iTouch.  I want to set it up in a way where I can moniter the conversations.  Can anyone tell me how to do this?  Thank you!

    Set up iMessages on your own computer or device to the same Apple ID and password your daughter will use.
    Regards.

  • Is there a place where I can find all the field values for RH_STRUC_GET

    Hello Gurus,
    I there a place or maybe some documentation that will explain or give the different values for the FM RH_STRUC_GET fields ?
    Thank you,
    JZ

    Hi Jorge
    In this link you have an example .
    RH_STRUC_GET Performance
    Now when I needed that for crm I used to a class
    'CL_CRM_PPM_UM_TOOLKIT.
    In sdn you can find examples about used the FM or class

  • I accidentally clicked on "full page" and I hate it and now I don't know how to get back to where I can see all the tabs all the time. Help, Please!!!

    I think the question is pretty clear -- I don't know what additional details would be helpful. Questions?

    The F11 key toggles Full Screen Mode on or off.
    *See --> http://kb.mozillazine.org/Netbooks#Full_screen
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You may need to update some plug-ins. Check your plug-ins and update as necessary:
    *Plug-in check: https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    *Adobe Shockwave for Director Netscape plug-in: [https://support.mozilla.com/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
    *Adobe PDF Plug-In For Firefox and Netscape: [https://support.mozilla.com/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
    *Shockwave Flash (Adobe Flash or Flash): [https://support.mozilla.com/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]
    *Next Generation Java Plug-in for Mozilla browsers: [https://support.mozilla.com/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox]

  • Does my mac air have a spot were i can put a laptop lock on for theft?

    does my mac air have a spot where i can put a lock for anti theft?

    if you got one of those ones that go in a slot on your computer then macbook air doesnt have the slot sorry
    if its one of the hinge ones then as long as it fits you will be fine doesnt matter if you have a Mac or PC or some other computer its only the laws of physics that dictate if it will work or not

  • Java Code  that can find all the specified functions in a sql statement

    If i pass a string like
    SELECT CONCAT(region_name,store_name) , length( region_name) , region_name || store_name, region_name, store_name FROM Geography
    WHERE store_name = 'Boston';
    Then my code should return
    CONCAT(region_name,store_name)
    length( region_name)
    region_name || store_name
    i.e all function related stuff. Is there any parser in java that can parse all the functions a sql or ny code that can d that. Any help is highly appreciated

    I suspect a regular expression may be able to handle this, or 'grep'. Why do you need to do it in Java?

  • I have lost the develop right side column where i can do all my corrections. I am on a mac. I am in quick develop, or nothing.

    I have lost the develop right side column where i can do all my corrections. I am on a mac. I am in quick develop, or nothing.

    Are you saying you have lost the Develop module--which you can restore by doing a right-click on the top menu and putting a checkmark next to Develop:
    Or have you have merely set the righthand panel to auto-hide and can undo this by clicking the little arrow at the right:

  • I have a license for CS3 Design Premium but no disk. Where exactly can I download the software? The solution offered on the Adobe website does not work ...

    I have a license for CS3 Design Premium but no disk. Where exactly can I download the software? The solution offered on the Adobe website (CS3-Produkte herunterladen) does not work ...

    If the page you linked does not work then it should so what happens when you try?  It is possible that it might be a simple matter of you enabling cookies or trying another web browser.
    You can also try to download the trial version of the software thru the page linked below and then use your current serial number to activate it.
    Be sure to follow the steps outlined in the Note: Very Important Instructions section on the download pages at this site and have cookies enabled in your browser or else the download will not work properly.
    CS3 and CS4: http://prodesigntools.com/download-adobe-cs4-and-cs3-free-trials-here.html

  • Why does auto brightness has a bug in iOS 7.1.1 . The brightness switches automatically to higher in bright places but not returns to lower brightness in dark places but when you lock and unlock it becomes normal

    Why does auto brightness has a bug in iOS 7.1.1 . The brightness switches automatically to higher in bright places but not returns to lower brightness in dark places but when you lock and unlock it becomes normal

    Hello,
    Same problem for me. Really a pain in the *** this bug ! Does Apple fixed it. I'm really suprised noone reports this problem  and apple does not adress this.
    Because of that, I cannot give it anymore to children because it hurts the view. Really a shame on the part of apple !
    Regards

  • Does anyone have a phone number to where i can TALK to a LIVE person at verizon?

    does anyone have a phone number to where i can TALK to a LIVE person at verizon?

    Hi norealnumber!
    We definitely have a number where you can reach us personally. You can call 800-922-0204 or *611 and send from your wireless device. We can also help you right here! What's going on?
    ChristinaB_VZW
    Follow us on Twitter @VZWSupport
    If my response answered your question please click the �Correct Answer� button under my response. This ensures others can benefit from our conversation. Thanks in advance for your help with this!!

  • Does SAP BI has it own database? If yes what is the name of the database?

    Does SAP BI has it own database? If yes what is the name of the database?
    Thanks!
    York

    If you authorization take a look at the followig tcodes:
    1. DB6DBM
    2.DBACOCKPIT.
    3. DB02.
    Ravi Thothadri

  • Where do I put all my service classes?

    I am new weblogic server environment. I want to know where do I put all my service classes? I am deploying all my servlet in WEB-INF/classes directory (under the context root) but donot know where to put the service classes. (The service classes have the jdbc and sql code in them. They are like simple java beans. I don't have any sql in the servlet classes).

    <p>Hello,</p>
    <p>If the only other classes that use your service classes are in your webapp then putting them under WEB-INF/classes is perfectly acceptable, you might want to wrap them up in their own jar file and stick them under WEB-INF/lib, it is up to you.</p>
    <p>
    Hussein Badakhchani</br>
    </p>

  • Hello, I'm having trouble getting to the page where I can put in my activation code for my One to One. I keep getting ID or Password error. Have already reset twice- HELP Plz.

    Hello, I'm having trouble getting to the page where I can put in my activation code for my One to One. I keep getting ID or Password error. Have already reset twice… HELP Plz.

    sashaburg wrote:
    Unfortunately Netgear's support isn't very supportive.
    Without Airport set-up, and without wireless connection, I can't talk between macs either.
    Ok, this is a mac question: With the order changed so that the ethernet comes first, why is it still showing my connection to the neighbor's wireless? Am I reading that wrong? OR am I connected to both at the same time? If so, why would it connect twice to the internet?
    Probably because you neighbor has no security on his network. Does his network show a lock like
    If it does he's got security turned on, if there is no lock showing he hasn't turned it on.

Maybe you are looking for

  • Win 8 Pro Recovery

    Hi I can not get to HP for assistance... Warranty expired. I have a HP Pavilion G7 laptop. I had a crash and lost my OS Win 8 Pro w/MCenter  and need a revovery disk. The one I made when I bought the laptop 1 1/2 years ago...has no Boot info so it is

  • Disabling Menu Options on New Button in Form Library

    In InfoPath form libraries on SharePoint online, I've noticed a new menu that now pops up when clicking the "new" button. I do not see a setting in the library to disable this. Is there a setting some place I'm overlooking? Thanks!

  • IC webclient question

    Hi Experts, I have added two standard fields to Complheader view. The fields that I added were not part of exisiting contextnodes. The fields were in BTsalesset Bol entity which is related to BTAdminH and we had BTadminh as page attribute. So I have

  • Ejb-jar.xml Error

    Hi, I like to write a wrapper of an existing J2EE bean. -     I make an new EJB Module -     Add my JAR-File in properties for my EJB module -     Then right click the “ejb-jar.xml” node to add my bean with the “Add EJBs…” entry. It works perfect, bu

  • SAP Microsoft failover cluster

    Hello, I have Installed NW 7.31 Microsoft Failover cluster for one of  my production System.I want to test the Backup & Recovery for this system. Kindly provide me with certain Information or Document to test the Backup Scenario & thus Restoring it.