乡下人产国偷v产偷v自拍,国产午夜片在线观看,婷婷成人亚洲综合国产麻豆,久久综合给合久久狠狠狠9

  • <output id="e9wm2"></output>
    <s id="e9wm2"><nobr id="e9wm2"><ins id="e9wm2"></ins></nobr></s>

    • 分享

      Oracle TO_DATE

       昵稱62509612 2019-03-03

      This tutorial explains how to use Oracle TO_DATE function with basic syntax and examples.

      TO_DATE function convert a character string to a date format.

      Syntax:

      TO_DATE(char[, 'format_model'], [nlsparams])
      • Char : The character that will be converted to a date

      • 'format_model' : format that will be used to convert char to a date. If format_model is not specified, the format is DD-MON-YY. and It can be one or a combination of the following values:

      ParameterExplanation
      SCC or CCCentury; server prefixes BC date with –
      Years in dates YYYY or SYYYYYear; server prefixes BC date with –
      YYY or YY or YLast three, two, or one digits of year
      Y, YYYYear with comma in this position
      IYYY, IYY, IY, IFour-, three-, two-, or one-digit year based on the ISO standard
      SYEAR or YEARYear spelled out; server prefixes BC date with –
      QQuarter of year
      MMMonth: two-digit value
      MONTHName of month padded with blanks to length of nine characters
      MONName of month, three-letter abbreviation
      RMRoman or brown
      WW or WWeek of year or month
      DDD or DD or DDay of year, month, or week
      DAYName of day padded with blanks to a length of nine characters
      DYName of day; three-letter abbreviation
      JJulian day; the number of days since December 31, 4713 BC
      RRRRAccepts a 2-digit year and returns a 4-digit year.
      A value between 0-49 will return a 20xx year.
      A value between 50-99 will return a 19xx year.
      HHHour of day (1-12).
      HH12Hour of day (1-12).
      HH24Hour of day (0-23).
      MIMinute (0-59).
      SSSecond (0-59).
      SSSSSSeconds past midnight (0-86399).
      AM, AM, PM, or PMMeridian indicator
      • Nlsparams : has the same purpose in this function as in the TO_CHAR function for date conversion

      Example:

      Let's get some examples about Oracle TO_DATE and how to use it:

      SELECT to_date ('2019/03/01', 'yyyy/mm/dd')FROM   dual;
      Oracle to_date
      SELECT TO_DATE('030119', 'MMDDYY')FROM   dual;
      Oracle to_date
      SELECT TO_DATE('20190301', 'yyyymmdd')FROM   dual;
      Oracle to_date
      SELECT TO_DATE('2019/03/01 18:00:59', 'YYYY/MM/DD HH24:MI:SS'), TO_DATE('2019/02/05 09:19:59', 'YYYY/MM/DD HH:MI:SS')FROM   dual;
      Oracle to_date

      Source :  https://www./wiki/oracle-to-date

        本站是提供個(gè)人知識管理的網(wǎng)絡(luò)存儲空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點(diǎn)。請注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購買等信息,謹(jǐn)防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點(diǎn)擊一鍵舉報(bào)。
        轉(zhuǎn)藏 分享 獻(xiàn)花(0

        0條評論

        發(fā)表

        請遵守用戶 評論公約

        類似文章 更多