Results 1 to 2 of 2

Thread: Dsntiaul

  1. #1
    Join Date
    Nov 2003
    Posts
    1

    Unanswered: Dsntiaul

    Hello,

    I would like to download a DB2 table using a DSNTIAUL sentence.

    The problem is that the dates are being downloaded in format 'DD.MM.YYYY', according to the customization of the DB2 installation.

    Is there any parameter to download the dates in the correct format 'YYYY-MM-DD'??

    Thank you for your help!

    Mark

  2. #2
    Join Date
    May 2003
    Location
    USA
    Posts
    5,737
    SELECT CHAR(DATE_COLUMN, ISO) FROM TAB1

    This will return the column in ISO format ('YYYY-MM-DD')

Posting Permissions

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