RR FORMAT 과 YY FORMAT 의 차이

제품 : SQL*PLUS
작성날짜 : 2002-04-25
RR FORMAT 과 YY FORMAT 의 차이
==============================
PURPOSE
다음은 RR DATE FORMAT 과 YY DATE FORMAT에 대해서 알아본다.
Explanation
다음의 1) 과 2)의 차이를 잘 살펴 보자 .
1) select to_char(to_date('01-03-27','yy-mm-dd'),'rrrrmmdd')
from dual;
SQL>TO_CHAR(TO_DATE('01-03-27','YY-MM-DD'),'RRRRMMDD')
19010327
2) SQL> select to_char(to_date('01-03-27','rr-mm-dd'),'yyyymmdd')
from dual;
TO_CHAR(TO_DATE('01-03-27','RR-MM-DD'),'YYYYMMDD')
20010327
Reference Documents
--------------------

RR was introduced as a Y2K workaround for all those programs that didn't store the century. It has a fixed window - 50 to 99 defaults to twentieth century, 00 to 49 is twenty-first. YY on teh other hand just defaults to the current century. At least in 9.2 it does. I think in earlier version of the database it defaulted to 00 - hence many systems apparently have records that were created in the first century AD.
SQL> SELECT to_char(to_date('01-JAN-50', 'DD-MON-RR'), 'DD-MON-YYYY')
  2  FROM  dual
  3  /
TO_CHAR(TO_
01-JAN-1950
SQL> SELECT to_char(to_date('01-JAN-49', 'DD-MON-RR'), 'DD-MON-YYYY')
  2  FROM  dual
  3  /
TO_CHAR(TO_
01-JAN-2049
SQL> SELECT to_char(to_date('01-JAN-50', 'DD-MON-YY'), 'DD-MON-YYYY')
  2  FROM  dual
  3  /
TO_CHAR(TO_
01-JAN-2050
SQL> SELECT to_char(to_date('01-JAN-49', 'DD-MON-YY'), 'DD-MON-YYYY')
  2  FROM  dual
  3  /
TO_CHAR(TO_
01-JAN-2049
SQL> Cheers, APC

Similar Messages

  • Setting format and format options in Output module settings for render queue item

    Hello,
    I am unable to set the "Format" and "Format options" for video in output module settings programatically using After effects apis.
    I referred the after effects cs3 sdk guide for the apis.
    I find apis for all other options in the "outputmodule settings " like :
    AEGP_SetEmbedOptions
    AEGP_SetOutputChannels
    AEGP_SetStretchInfo
    AEGP_SetSoundFormatInfo
    But there is no api listed for setting the options available in the "Format" tab and "Format options" tab.
    The "Format" tab and "Format options" tab is available in the dialog that opens when user clicks on the Output module settings for the render queue item.
    The format tab when clicked shows a drop down list with aff different formats. By default "Video for Windows" is set.
    The drop down list contains following format options
    Adobe Clip Notes
    Adobe Flash video
    Quicktime movie
    Video for Windows
    I need to be able to set the "Quicktime movie" option in the Format tab programmatically and then set the compression type as "Animation" in the compression settings programatically using the api functions available in AE CS3 SDK
    Please suggest the suitable api to do so.
    I need to write my own plugin to export to Quicktime movie using the after effects apis.
    I follow below steps to do so.
    1. AEGP_InsertMenuCommand and add export option to AE with my own plugin name
    2. In the command hook, select active item using AEGP_GetActiveItem
    3. Add it to render queue
    4. Set the output module settings for 0 th output module using
    suites.OutputModuleSuite1()
    5. Use different functions from suites.OutputModuleSuite1() to set the output module settings like EmbedOptions,StrechInfo etc.
    6. Till this step, I am doing it right. But I am not able to find any api for setting Format options using suites.OutputModuleSuite1()
    I also checked all other suites available for setting FormatOptions but no luck.
    Please help.
    Thanks,
    -Namita

    Hi Namita,
    I am experiencing the same problem.
    I am using AE CC SDK, and I am unable to change the outputmodule format to any of the other movie format types (mov, mpg, flv, etc.).
    It is always set to "avi"
    I even compiled and ran the Queuebert example in the SDK, and there I get the same problem: the path extension is always left on ".avi"
    Does anyone know how to change this?

  • Format, image format, partition in disk utility...

    I'm hyper in my thoughts of what I wanna do and hypo in really doing them. So this question comes from someone who is know as a geek amongts his folks (and is) and has been using a computer since 10 years and OS X since 3 years now....
    If one wants to have a clear picture of what a disk and disk image is all about... how will u put what "format", "image format" and "partiton" are and how they relate to each other.
    My need to finally know disk utility more came from the fact that now I want to have a shared iphoto library, which according to a Apple support article, needs to be on a disk image for some permissions related issues. at the moment i have just put the entire library in the shared folder in Users and have set the premissions to let all user accounts in my system to access it. i still dont understand why that would not be apple's way.
    anyway, i want to have a more clearer view about what lies inside disks and disks images. so if u could please answer my question above.
    thanks
    Neerav

    Ok thanks for pointing out that i need to use NTFS instead of FAT.. And the order of partitions..
    I----------OSX----------I I------Windows----I I---Install---I
    My only issue now.. ( atleast i think it is my only issue )
    Im a noob at this, so please dont get mad.
    But as i understand, you are using the information in this link
    http://discussions.apple.com/message/17365855#17365855
    to bypass (Or Un-grey) the "create a usb" option.
    Now my only issue is that there is no "create a usb" option, i have
    "download the latest windows support software from apple"
    And
    "install Windows 7"
    I stuck... ive tried remote disk, rEFIt, installing from usb, installing from dvd.
    Dont know where else to go.
    Once again, thanks for your help.

  • ESS Report in PDF Format-HTML Format

    Dear All,
      I have made a report in R3 and publish it in ITS for ESS.
      But out put not properly coming I want to see it in PDF format .
      Like when we use Payslip for tcode PZ11_PDF .
      Kindly help me.
    Thanking you in advance
    Siladitya

    Hi
    Use the fun modules
    CONVERT_OTF_2_PDF or
    CONVERT_ABAPSPOOLJOB_2_PDF
    for converting the output to PDF format
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • What is the best format to format an external hard drive to?

    I want to read and right on a mac of course but I would love to be able to transfer files from my PC to Mac.
    Is this at all possible?

    In addition to what Matt Clifton said, I'd add the following:
    If you network your computers, you can format the external in FAT32, NTFS, or the Mac's HFS and both Windows-based PCs and Macs will be able to read and write to the external drive.
    I have a network of 5 Macs and two Dell PCs networked---the Dell has an external drive formatted in NTFS, each of the Macs have one external drive formatted in HFS, and then I have one large external drive connected to the Airport Extreme as a true network drive formatted in HFS. Each computer, Mac or Dell, can access any of the other computers and external drives and read and write to them all. The reason is that over a network, the SMB network protocol translates everything automatically and in the background so you can read and write to any network connected drive and computer---Windows or Mac.
    So, I would format your external in HFS to be able to take advantage of the fact that there is essentially no limit on file size as there is for FAT32. Makes a difference if you are working with video files. FAT32 has a file size limit of 4 GB.

  • How to recover word files with readable format after formatting external hard drive?

    I had tried different software. All software are able to recover word files but all word files having encoded content  is there any way to convert it in readable format?
    please provide any solution for this problem
    Thank You.

    Are you saying that these documents are password-protected? In that case, if you don't have the passwords, it's going to be next to impossible to open them.
    Stefan Blom, Microsoft Word MVP

  • Adding 1 day to a date of format YYYYMMDD format and it is char.

    HI,
    I have a column checktodate which is declared as char(8) and it is of format YYYYMMDD.
    some of the values in the checktodate column are null and blank also.
    I have to give a condition as
    checktodate+1>= sysdate.
    I am giving as
    TO_CHAR(to_date(nvl(CHECKTODATE,0),'yyyymmdd')+1,'yyyymmdd') >= TO_CHAR(SYSDATE ,'YYYYMMDD')
    I am getting the error as
    ORA-01840: input value not long enough for date format
    01840. 00000 - "input value not long enough for date format"
    *Cause:   
    *Action:
    kindly suggest.
    Thank you.
    Regards
    Chaitanya.

    I gave the below conditions like this
    select xyz,asdf,
    (CASE WHEN TO_DATE(checktodate,'YYYYMMDD')+1 >= SYSDATE
    THEN CHECKTODATE
    ELSE TO_CHAR(SYSDATE ,'YYYYMMDD')
    END) startdate
    FROM dummy
    where checktodate IS NOT NULL
    AND INSTR(CHECKTODATE,' ') = 0
    I am getting the following error
    ORA-01839: date not valid for month specified
    01839. 00000 - "date not valid for month specified"
    *Cause:   
    *Action:                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • File need to be read in different formats( Tab formatted, commas separated)

    Hi All,
    I am reading an input text file which can be in any of the format like tab formatted, commas separated or fixed format. How can i write a code to make it work for all these file format other than writing separately for the above three cases. Kindly suggest.
    Thanks,
    Neslin.

    As far as seperators are concerned you may read entire file to stirng table, then identify separator (i.e. if you find  tab mark, you assume it is tab separated; if you find ";" mark you assume this is a column separator). Use SEARCH or FIND statement and then (after having the separator) loop at string table and split each entry at this separator. If none of the above was find (no separator or fixed one) split according to given fixed format.

  • How do I create a .flv in FCE4? If can't what is the best settings to render the video to re-format in "Format Factory" on a Dell?

    How do I create a .flv in FCE4? If I can't without additional software, what would be the best settings to create the file and flash drive it over to a Dell (-I know...) and re-format to a .flv in "Format Factory?"

    PS, it for 30 sec to 1-min videos (PSA's)

  • Importing MS Word formatted document, format changes!?

    I'm showing my ignorance of this product again (and apologies for that being the case, as I'm really trying to get up to speed on this product but seem to keep failing at it...  I swear I actually did understand PageMaker and other similar products when they were in their heyday!), but I'm struggling to import formatted text into a structured FrameMaker document (book).
    I'm cheating a bit and have copied a .book (and all the included files) from a prior document that was created by the tech writer that I'm working to fill-in for.  The main section of that .book includes a .fm file that is the primary document.  There are several other pieces of the book that I have successfully updated (for now), including the table of contents (which will likely lead to frustration later when I need to update the entire .book).
    Anyway, I select all of the text in the flow that I want to replace, delete it all (whee, gone that quickly!) and then use File > Import to import an MS Word 2007 formatted document.  That document includes a numbered list that has sub numbers as part of it...
    For example:
    1. Heading...
    Text...
    * Bulleted List
    * Bulleted List item, etc.
    1.1 Further information related to 1 above
    More text
    * More bulleted lists
    - sub to that bullet list
    - additional sub to the bulleted list
    * More bullet list
    2. New Heading
    Hopefully that comes through in a way that helps what I'm working with make sense.
    Anyway, I want to import the nicely formatted MS Word document back into Frame to replace the content that was there before.  Alternatively, if there is a simple way to edit the content that was there previously and retain the bulk of the formatting, then I'm game.  The key thing for me is getting the numbered list to look and work right, with the sub numbers where needed.  When I tried to edit the text that was there and get the listing right I'm lost as to how to edit it in a way that makes sense to me.  Again, it may just be ignorance on my part, and again I apologize and appreciate any assistance anyone can lend.
    I swear FrameMaker 9 just makes me long for the good old days of working on a Xyvision system (or even worse the old Penta system that I worked on before that), or at least makes me want to find a copy of Quark Xpress or something similar ;-)
    Thanks in advance for any assistance that can be lent to this poor lost soul :-}

    Barry,
    but I'm struggling to import formatted text into a structured FrameMaker document (book).
    import an MS Word 2007 formatted document.
    First, I doubt that you are working with a structured document. If you are, you do not want to import a Word file into a structured Frame document, because you will then have to apply the structure. A structured document is like an XML document but with the formatting added. That is, a structured document has elements inside elements, etc. To see whether it really is a structured document, open one up, place the insertion point inside a text flow, and select StructureTools > Structure View (FrameMaker 9), or something similar for your version of Frame. You should see a window with little rounded boxes hanging from vertical lines...that is the document's structure. If the window is empty, you do not have a structured document.
    Furthermore, importing a formatted Word file into an unstructured Frame document does not guarantee the same formatting in Frame as in Word. I never do it, so I will let others explain more about that.
    Alternatively, if there is a simple way to edit the content that was there previously and retain the bulk of the formatting, then I'm game.  The key thing for me is getting the numbered list to look and work right, with the sub numbers where needed.
    Of course, FrameMaker allows you to edit its files. In an unstructured document, you format things virtually the same as you do in Word, that is, you apply styles (also called tags) to paragraphs. So, you have to be, or get, familiar with the available styles. For nested lists, there are typically two styles for each level of the list. One of the styles/tags will have a name indicating it is the tag to be used for the FIRST item in the list. This tag resets the numbering to 1. For example, if the outer list has a tag named numbered_list, then there is likely another tag named numbered_list_first. The numbered_list_first tag is applied to the first item in the list and the numbered_list tag is applied to the remaining items in the list. The "first" tag restarts the numbering and the other tag simply increments the numbering.
    Sublists might have tags like sublist_numbering. I have seen tags named list_alpha (for lists numbered with letters), list_roman (for lists numbered with roman numerals), etc. It all depends upon how the tags were created and by whom.
    I suggest you read more about this in the FrameMaker user manual. The user manual explains the guts of list numbering.
    I hope this helps,
    Van

  • How does FCP7 user export QT. movie to DNxHD uncompressed AVI format? format

    dear sir, madam,
    How does FCP7 user export or convert quick time mov to uncompressed AVI format?
    thank you.

    Not in Classic.  Use this forum guide to learn where to post:
    https://discussions.apple.com/docs/DOC-2463

  • Date prompt to displayed in header&Format date format in header MM/DD/YYYY

    we have a date prompt. Based on the date selection on prompt, it has to be appeared on the Report header. Actually RELEASED_DATE is timestamp format. we need to format this to dispaly only MM/DD/YYYY format in Report header section.
    Report Name : <?$RELEASED_DATE?>
    We are displaying the same RELEASED_DATE with timestamp in Report section
    <?param@begin:CRSU_RELEASED_DATE?>

    can you paste the timestamp being displayed?
    You can use, format-date function or other, but its all based on the data you have for DATE.

  • After taking a photo in RAW format, which format is best to save in for editing in photoshop

    I want the highest quality pictures possible, so I take photos in RAW format, but what format should I be saving in during photoshop editing?   Is TIFF or PSD or EPS, or some other format the best for retaining the highest quality photos?

    To me saving as PSD seems more natural.  Since it's Photoshop's native format, you can rest assured that all aspects of your document will be saved.
    -Noel

  • Paragraph Format / Character Format for Variable address in SAPSCRIPT

    Dear All,
       I am trying to print variable address for ship-to-party. But the address is variable address for different vendors.
    The contents like
    /:  ADDRESS PARAGRAPH AS
    /:  TITLE    &LFA1-ANRED&
    /:  NAME     &LFA1-NAME1&, &LFA1-NAME2&, &LFA1-NAME3&, &LFA1-NAME4&
    /:  STREET   &LFA1-STRAS&
    /:  POBOX    &LFA1-PFACH&  CODE &LFA1-PSTL2&
    /:  CITY     &LFA1-ORT01&, &LFA1-ORT02&
    /:  POSTCODE &LFA1-PSTLZ&
    /:  COUNTRY  &LFA1-LAND1&
    /:  REGION   &LFA1-REGIO&
    /:  FROMCOUNTRY &T001-LAND1&
    /:  ENDADDRESS
    My question is, How to assign Paragragh format or character format to the above code?
    Your reply will help alot..
    Thanks and waiting
    Regards
    Anukul

    hi,
    in ur code u already gave
    /: ADDRESS PARAGRAPH AS goto paragraph formats n define or make the required changes for the paragraph format AS.
    click on character formats n define/change the character formats as breakpoint has mentioned.

  • Simple question in Paragraph format / Chracter format of FORMS?

    Hello
    I am enhancing a existing custom SAP Script by appending an additional line to a my_static_text (its not a standard text, it kept inside the SAP Script as a static text).
    The current text looks like below, 
    existing    text   1
    existing    text   1
    After adding my addiitonal line, the text looks like below,
    existing    text   1
    existing    text   1
    my           additonal    line
    My requirement is, REDUCE the SPACE between the WORDS of a line, it should look like below
    existing text 1
    existing text 1
    my additonal line
    I checked paragraph format's FONT, but, not getting any clue that What & Wher i should make change to either paragraph format or character format? is it OUTLINE or is it LINE SPACING?
    Thank you

    Hi
    The spaces can be set by pressing the keyboard for the space of course, but if you need the texts of the lines are stacked it's better to use the TAB.
    The TAB are insert by a double commas ,,
    So
    existing    text   1
    existing    text   1
    If the tabs are used here, you can see them in the sapscript:
    existing,,text,,1
    existing,,text,,1
    So how the text is written?
    Max
    Edited by: max bianchi on Oct 5, 2011 5:08 PM

Maybe you are looking for

  • Convert Web Page to PDF only creating in landscape mode

    I have a web page that is in XML (xccdf) format with an XSL stylesheet. It opens successfully in any browser. They are Security Technical Implementation Guides from DISA (http://iase.disa.mil/stigs/index.html) I'm trying to convert these to PDF so I

  • Music downloaded onto Ipod, how do i get it into itunes?

    I bought and downloaded music onto my 2nd gen IPod touch, and now I want to get it into ITunes. How do I do that?

  • Userexit or BADI in O4C1/O4C2

    Dear SAP Experts, I would like to implement some userexit or Badi in order to control what the user inserts in a field of the O&G transaction O4C1/O4C2. Specifically, I need to obligate the user to fill the field OIGC-TU_ID. I could not figure out so

  • 6233 voice activated dialling feature. TERRIBLE!!!

    For the last 30 mins I have been trying to find a way of recording my own voice tags for voice activated-calling on my 6233. What a waste of time. I think it is ridiculous that Nokia has not included this feature and according to the previous posts t

  • URLs Broken in All CF Reports

    I have been trying to find a solution to this for several month. Once you upgrade to any JVM other than 1.4.2_05 (e.g. apply CF Updaters) all URL links in CF Reports break. They become non-functional. I cannot find any technical documents to fix this