Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2002
    Posts
    13

    Unanswered: Sql Default Date Format

    How can I change the default date format from DD-MON-YY to DD-MON-YYYY ?

  2. #2
    Join Date
    Sep 2002
    Location
    UK
    Posts
    5,171
    Provided Answers: 1

    Re: Sql Default Date Format

    Originally posted by BrutusBuckeye
    How can I change the default date format from DD-MON-YY to DD-MON-YYYY ?
    In what DBMS?
    In Oracle:
    ALTER SESSION SET NLS_DATE_FORMAT='DD-MON-YYYY';

  3. #3
    Join Date
    Nov 2002
    Posts
    13

    Re: Sql Default Date Format

    Originally posted by andrewst
    In what DBMS?
    In Oracle:
    ALTER SESSION SET NLS_DATE_FORMAT='DD-MON-YYYY';
    you are the man !

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •