Quick Date Question

I'm working on a system with a lot of date validations. The validations that I built work fine as long as someone uses the correct format. The code that I'm using is:
DECLARE
DATE_CHECK DATE;
DOB_CHECK DATE;
BEGIN
BEGIN
DOB_CHECK := to_date(:P32_DOB, 'MM/DD/YYYY');
DATE_CHECK := to_date(:P32_DI_UR_DT, 'MM/DD/YYYY');
IF DOB_CHECK > DATE_CHECK
THEN
RETURN 'Urine condition onset date cannot occur before birth date.';
END IF;
EXCEPTION
WHEN OTHERS THEN
RETURN 'Urine condition onset date not a valid date.';
END;
END;
Like I said. This works correctly, as long as someone uses the four-digit year. If they only use a two-digit year (08/04/09) it keeps throwing the error that it is occurring before the birth date.
I have used JavaScript in other programs so that I could automatically format any date that is put in to the format that I want. The problem is that I can't use that functionality in this case because it will create an infinite loop.
So, my question is this: How can I isolate the year of the date in PL/SQL so that I can add either 19 or 20 to the beginning of the year so that it conforms to the format I'm using?
Thanks in advance.
Josh

I would strongly advise a javascript validation to check the four digit year was supplied.
However the modified code below adds 19 or 20 to the input year.
But what if your software will beyond 2100?
Or what if you have a Dracula patient born before 1900?
DECLARE
   date_check   DATE;
   dob_check    DATE;
   FUNCTION add_century(p_sdate IN VARCHAR2)
   RETURN VARCHAR2
   IS
   BEGIN
      RETURN CASE WHEN LENGTH(p_sdate )<10
                    THEN CASE WHEN TO_NUMBER(SUBSTR(p_sdate ,-2)) <= TO_NUMBER(TO_CHAR(SYSDATE,'YY'))
                              THEN  SUBSTR(p_sdate ,1,6)||'20'||SUBSTR(p_sdate ,-2)
                              ELSE  SUBSTR(p_sdate ,1,6)||'19'||SUBSTR(p_sdate ,-2)
                          END   
                    ELSE p_sdate
                END;
   END;
BEGIN
   BEGIN
      dob_check := TO_DATE (add_century(:p32_dob), 'MM/DD/YYYY');
      date_check := TO_DATE (add_century(:p32_di_ur_dt), 'MM/DD/YYYY');
      IF dob_check > date_check
      THEN
        RETURN 'Urine condition onset date cannot occur before birth date.';
      END IF;
   EXCEPTION
      WHEN OTHERS
      THEN
          RETURN 'Urine condition onset date not a valid date.';
   END;
END;

Similar Messages

  • Quick script question

    Hi all,
    Could anyone advise me if i can add anything within - header('Location: http://www.mysite.co.uk/thankyou.html'); in the script below so as the page
    re- directs back to the main index page after a few seconds ?
    Thankyou for any help.
    <?php
    $to = '[email protected]';
    $subject = 'Feedback form results';
    // prepare the message body
    $message = '' . $_POST['Name'] . "\n";
    $message .= '' . $_POST['E-mail'] . "\n";
    $message .= '' . $_POST['Phone'] . "\n";
    $message .= '' . $_POST['Message'];
    // send the email
    mail($to, $subject, $message, null, '');
    header('Location: http://www.mysite.co.uk/thankyou.html');
    ?>

    andy7719 wrote:
    Mr powers gave me that script so im rather confused at this point in time
    I don't think I "gave" you that script. I might have corrected a problem with it, but I certainly didn't write the original script.
    What you're using is far from perfect, but to suggest it would lay you open to MySQL injection attacks is ludicrous. For you to be prone to MySQL injection, you would need to be entering the data into a MySQL database, not sending it by email.
    There is a malicious attack known as email header injection, which is a serious problem with many PHP email processing scripts. However, to be prone to email header injection, you would need to use the fourth argument of mail() to insert form data into the email headers. Since your fourth argument is null, that danger doesn't exist.
    One thing that might be worth doing is checking that the email address doesn't contain a lot of illegal characters, because that's a common feature of header injection attacks. This is how I would tidy up your script:
    <?php
    $suspect = '/Content-Type:|Bcc:|Cc:/i';
    // send the message only if the E-mail field looks clean
    if (preg_match($suspect, $_POST['E-mail'])) {
      header('Location: http://www.example.com/sorry.html');
      exit;
    } else {
      $to = '[email protected]';
      $subject = 'Feedback form results';
      // prepare the message body
      $message = 'Name: ' . $_POST['Name'] . "\n";
      $message .= 'E-mail: ' . $_POST['E-mail'] . "\n";
      $message .= 'Phone: ' . $_POST['Phone'] . "\n";
      $message .= 'Message: ' . $_POST['Message'];
      // send the email
      mail($to, $subject, $message);
      header('Location: http://www.example.com/thankyou.html');
      exit;
    ?>
    Create a new page called sorry.html, with a message along the lines of "Sorry, there was an error sending your message". Don't put anything about illegal attacks. Just be neutral.
    By the way, when posting questions here, don't use meaningless subject lines, such as "Quick script question". If you're posting here, it's almost certain to be a question about a script. It doesn't matter whether it's quick. Use the subject line to tell people what it's about.

  • Hi all .hope all is well ..A quick trim question

    Hi all
    Hope all is well ......
    I have a quick trim question I want to remove part of a string and I am finding it difficult to achieve what I need
    I set the this.setTitle(); with this
    String TitleName = "Epod Order For:    " + dlg.ShortFileName() +"    " + "Read Only";
        dlg.ShortFileName();
        this.setTitle(TitleName);
        setFieldsEditable(false);
    [/code]
    Now I what to use a jbutton to remove the read only part of the string. This is what I have so far
    [code]
      void EditjButton_actionPerformed(ActionEvent e) {
        String trim = this.getTitle();
          int stn;
          if ((stn = trim.lastIndexOf(' ')) != -2)
            trim = trim.substring(stn);
        this.setTitle(trim);
    [/code]
    Please can some one show me or tell me what I need to do. I am at a lose                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            

    there's several solutions:
    // 1 :
    //you do it twice because there's a space between "read" and "only"
    int stn;
    if ((stn = trim.lastIndexOf(' ')) != -1){
        trim = trim.substring(0,stn);
    if ((stn = trim.lastIndexOf(' ')) != -1){
          trim = trim.substring(0,stn);
    //2 :
    //if the string to remove is always "Read Only":
    if ((stn = trim.toUpperCase().lastIndexOf("READ ONLY")) != -1){
       trim = trim.substring(0,stn);
    //3: use StringTokenizer:
    StringTokenizer st=new StringTokenizer(trim," ");
        String result="";
        int count=st.countTokens();
        for(int i=0;i<count-2;i++){
          result+=st.nextToken()+" ";
        trim=result.trim();//remove the last spaceyou may find other solutions too...
    perhaps solution 2 is better, because you can put it in a separate method and remove the string you want to...
    somthing like:
    public String removeEnd(String str, String toRemove){
      int n;
      String result=str;
      if ((n = str.toUpperCase().lastIndexOf(toRemove.toUpperCase())) != -1){
       result= str.substring(0,stn);
      return result;
    }i haven't tried this method , but it may work...

  • Quick Notation Question - Data Rates/Frame Rates/Interlacing

    Finally upgraded to a decent prosumer camera and I'm trying to decipher what the manual is telling me about the many different formats it shoots and and the associated options.  I keep seeing things like "There are two basic shooting modes: 720p and 1080i/p.", which I'm finding confusing.  In my understanding, the "p" in 720p means progressive video and the "i" in 1080i means interlaced.  So what do I make of 1080i/p?
    On top of this, my camera shoots in "native" mode, which drops duplicate frames used in "over 60" formats.  This will give me variations in the notation like:
    720/24pN
    720p Native 60 fps
    1080i/24p
    1080/24PN
    Can someone give me a quick primer about frame rate vs data rate and explain how to read these notations?  I'd appreciate it quite a bit.
    Thanks!

    There are so many cameras, capable of so many different formats that providing a manufacturer and model could be helpful in this discussion.
    Jim's answer is absolutely correct but I'm going to re-state for clarification.
    The i/p designation means you can chose to record as interlaced or progressive for a given resolution.
    It sounds like your camera is designed to "capture" images at 60 frames per second, selecting "native" mode means extra frames are deleted and only the desired frames, based on frame rate setting, are recorded to memory. The advantage of "native" @ 24fps is you save space on your memory card. The advantage of NOT using "native" mode is that all 60 frames per second are recorded, but the file metedata tells playback software to only show the frames needed for the specified frame rate (i.e. 24). Since all 60 frames per second are recorded, you use more memory but you also have the option of retrieving all the those frames, if you so desire, at a later time (i.e. for smoother slo-mo).
    To be honest I don't know what your spec of 1080i/24p means. If that is truly an option then I would guess it means it will record a 24p image but the metedata would indicate the file should playback at 30fps interlaced by adding the proper 3:2 pulldown. This would give you that "film" look in a broadcast compatible format.
    For the most part, you don't want use use any interlaced settings. Very few display devices still in use can properly display interlaced images. Interlacing is only required in some broadcast specifications.
    To answer the second part of your question;
    Frame rates are an indication of how many times the moving image is captured over a given period (per second). Higher frame rates means smoother, more "real life" motion. Data rates can generally be considered an indication of image or audio quality. Higher levels of compression result in lower data rates and (generally) lower quality. If squeezing more hours of footage on fewer memory cards is more important than getting the best image quality, choose a lower data rate. Higher frame rates (more images per second) inherently require a higher data rate to retain the same quality as fewer frames at a lower data rate.

  • Quick Data Merge question

    I've done this before but I only do it about once a year so I'll be damned if I can remember how to do it. However, I think I remember... does this sound about right?
    I'm doing 4 up postcards on an 8.5 x 11. I have one postcard in the upper left with text boxes in the address area.
    I linked up the excel document. Then I'm going to grab from the Data Merge panel "First Name" and drop it into one of the text boxes, then grab "Last Name" and drag into one of the text boxes, etc, etc. Then, I'm going to hit "Create Merged Document" and set it for "Multiple Record Layout"... but heres where I'm getting stuck. How do I tell it to do 4 up? When I hit the "preview multiple record layout" it just kind of shifts the one down and to the right a little but doesnt put it 4 up. Any thoughts?

    Yes, they will. But I think my "spacing" is goofed up.
    The layout is 8.5 x 11 horizontal so each one is 5.5" wide and 4.25" tall (4 up on a sheet). The one in the upper left should repeat to the right 5.5", down 4.25" and then to the right 5.5" and down 4.25" so its in the bottom right corner....
    I think I need help in the "Multiple Record Layout" section

  • Urgent help with quick translation questions

    Hello,
    I am somewhat new to Java. I have a translation to hand in in a few hours (French to English). Argh! I have questions on how I worded some parts of the translation (and also if I understood it right). Could you, great developers, please take a look and see if what I wrote makes sense? I've put *** around the words I wasn't sure about. If it sounds strange or is just plain wrong, please let know. I also separated two terms with a slash, when I was in doubt of which one was the best.
    Many thanks in advance.
    1) Tips- Always ***derive*** the exceptions java.lang.Exception and java.lang.RuntimeException.
    Since these exceptions have an excessively broad meaning, ***the calling layers will not know how to
    distinguish the message sent from the other exceptions that may also be passed to them.***
    2) The use of the finally block does not require a catch block. Therefore, exceptions may be passed back to the
    calling layers, while effectively freeing resources ***attributed*** locally
    3) TIPS- Declare the order for SQL ***statements/elements*** in the constant declaration section (private static final).
    Although this recommendation slightly hinders reading, it can have a significant impact on performance. In fact, since
    the layers of access to data are ***low level access***, their optimization may be readily felt from the user’s
    perspective.
    4) Use “inlining.”
    Inlining is a technique used by the Java compiler. Whenever possible, during compilation, the compiler
    copies the body of a method in place of its call, rather than executing a ***memory jump to the method***.
    In the example below, the "inline" code will run twice as fast as the ***method call***
    5)tips - ***Reset the references to large objects such as arrays to null.***
    Null in Java represents a reference which has not been ***set/established.*** After using a variable with a
    large size, it must be ***reassigned a null value.*** This allows the garbage collector to quickly ***recycle the
    memory allocated*** for the variable
    6) TIPS Limit the indexed access to arrays.
    Access to an array element is costly in terms of performance because it is necessary to invoke a verification
    that ***the index was not exceeded.***
    7) tips- Avoid the use of the “Double-Checked Locking” mechanism.
    This code does not always work in a multi-threaded environment. The run-time behavior ***even depends on
    compilers.*** Thus, use the following ***singleton implementation:***
    8) Presumably, this implementation is less efficient than the previous one, since it seems to perform ***a prior
    initialization (as opposed to an initialization on demand)***. In fact, at runtime, the initialization block of a
    (static) class is called when the keyword MonSingleton appears, whether there is a call to getInstance() or
    not. However, since ***this is a singleton***, any occurrence of the keyword will be immediately followed by a
    call to getInstance(). ***Prior or on demand initializations*** are therefore equivalent.
    If, however, a more complex initialization must take place during the actual call to getInstance, ***a standard
    synchronization mechanism may be implemented, subsequently:***
    9) Use the min and max values defined in the java.lang package classes that encapsulate the
    primitive numeric types.
    To compare an attribute or variable of primitive type integer or real (byte, short, int, long, float or double) to
    ***an extreme value of this type***, use the predefined constants and not the values themselves.
    Vera

    1) Tips- Always ***derive*** the exceptions java.lang.Exception and java.lang.RuntimeException.***inherit from***
    ***the calling layers will not know how to
    distinguish the message sent from the other exceptions that may also be passed to them.***That's OK.
    while effectively freeing resources ***attributed*** locally***allocated*** locally.
    3) TIPS- Declare the order for SQL ***statements/elements*** in the constant declaration section (private static final).***statements***, but go back to the author. There is no such thing as a 'constant declaration section' in Java.
    Although this recommendation slightly hinders reading, it can have a significant impact on performance. In fact, since
    the layers of access to data are ***low level access***, their optimization may be readily felt from the user’s
    perspective.Again refer to the author. This isn't true. It will make hardly any difference to the performance. It is more important from a style perspective.
    4) Use “inlining.”
    Inlining is a technique used by the Java compiler. Whenever possible, during compilation, the compiler
    copies the body of a method in place of its call, rather than executing a ***memory jump to the method***.
    In the example below, the "inline" code will run twice as fast as the ***method call***Refer to the author. This entire paragraph is completely untrue. There is no such thing as 'inlining' in Java, or rather there is no way to obey the instruction given to 'use it'. The compiler will or won't inline of its own accord, nothing you can do about it.
    5)tips - ***Reset the references to large objects such as arrays to null.***Correct, but refer to the author. This is generally considered bad practice, not good.
    Null in Java represents a reference which has not been ***set/established.******Initialized***
    After using a variable with a
    large size, it must be ***reassigned a null value.*** This allows the garbage collector to quickly ***recycle the
    memory allocated*** for the variableAgain refer author. Correct scoping of variables is a much better solution than this.
    ***the index was not exceeded.******the index was not out of range***
    The run-time behavior ***even depends on compilers.***Probably a correct translation but the statement is incorrect. Refer to the author. It does not depend on the compiler. It depends on the version of the JVM specification that is being adhered to by the implementation.
    Thus, use the following ***singleton implementation:***Correct.
    it seems to perform ***a prior initialization (as opposed to an initialization on demand)***.I would change 'prior' to 'automatic pre-'.
    ***this is a singleton***That's OK.
    ***Prior or on demand initializations***Change 'prior' to 'automatic'.
    ***a standard
    synchronization mechanism may be implemented, subsequently:***I think this is nonsense. I would need to see the entire paragraph.
    ***an extreme value of this type******this type's minimum or maximum values***
    I would say your author is more in need of a technical reviewer than a translator at this stage. There are far too serious technical errors in this short sample for comfort. The text isn't publishable as is.

  • Java io, sort by date question

    I have what I hope is a quick question - I am trying to open the oldest file in a given directory. The filenames are randomly generated, so the only criteria I have to search on is the create/mod date.
    Any ideas?
    thanks so much!

    Get all the files into an array. (You can do this with one line of code, have a look at the API documentation for java.io.File.)
    Scan the array and keep track of the entry that has the oldest last-modified date.

  • Quick Easy Question About N580GTX-M2D15D5 Bios

    Hey guys!!
    I just have a real quick and easy (i suppose) question!
    I had bios version KH0, and MSI live update found KH1, i downloaded and flashed successfully (DOS window said please restart and press any key to exit) so i did, restarted my computer, and MSI live update utlity and gpu-z and MSI afterburner are all reporting the same bios version i had with the KH0, version 70.10.17.00.01 & date November 09, 2010
    MSI live update is not picking up the update again, so my question is, how do i know if it flashed correctly since the bios date and version remained the same?
    Thanks !

    Quote
    I had bios version KH0, and MSI live update found KH1, i downloaded and flashed successfully (DOS window said please restart and press any key to exit) so i did, restarted my computer, and MSI live update utlity and gpu-z and MSI afterburner are all reporting the same bios version i had with the KH0, version 70.10.17.00.01 & date November 09, 2010
    Quote
    version 70.10.17.00.01
    that's suppose to be, this is the version of the both bioses
    Quote
    & date November 09, 2010
    this is GPU release date, not BIOS date
    Quote
    MSI live update is not picking up the update again, so my question is, how do i know if it flashed correctly
    Get this: https://forum-en.msi.com/index.php?action=dlattach;topic=147603.0;attach=7931
    extract it somewhere, then run info1 , and look for the last line
    Quote
    since the bios date and version remained the same?
    they are not the same, your looking the wrong stuffs

  • TDMS - Quick winning Question....

    We are reviewing TDMS
    We have  one quick question ....
    After 4 years of Journey & age of landscpae, becuase of  SPDD & SPAU was not handled incidentally during "different" patch upgrades. and we assume there is slight inconsistency of " Repository objects"  " Dictionary Objects"...
    We want to acheive  In short
    We want to build a Development System which should be in synch of  " Repository objects"  " Dictionary Objects"... with out any master & application data with TDMS ?
    Can we acheive this or not ...
    TDMS provides all other luxuries, but we could get a straight confirmation as requirement as above.
    Pl Help
    Regards
    PR

    Hi Sriniwas
    If you are asking this question to make a buying decision about TDMS then i would suggest that you get in touch with your SAP customer engagement manager (account manager) and ask him to present you all the capabilities and functionalities of TDMS.
    Current version of TDMS offer multiple options and functionalities which may be useful for you.
    Now regarding the query that you have asked -
    If I understood you correctly you are looking for a functionality using which you want to create a development system which is a copy of your production system such that only repository gets copied over from production to the development system and all the client dependent application data is filtered. In the end you will have your development system which is in perfect sync as far as repository and DDIC is concerned.
    The above can certainly be achieved using the TDMS Shell process within TDMS. TDMS Shell is also used as a process to prepare your receiver system for TDMS data transfer.
    I hope this info helps
    Pankaj.

  • Unlimited Data Questions...

    Hey guys,
    I have a few questions regarding ulimited data on my plan. I am on a plan with one other person. We share at total of 400 anytime minutes. We each have our own UNLIMITED data plans at $30 a month. We had both got Droid 1/Milestones when they came out. A year and some went by and i had recieved a Upgrade card in the mail. I used the card to purchase my Droid RAZR on 11/11/11. I was still enrolled in the UNLIMITED data plan at that point. Unlimited data was nixed as a plan on 11/28/11 which didnt effect me then but it does NOW as i am trying to upgrade to a newer phone due to speed and camera clearity. The person i am on the plan with still has their Droid 1/Milestone and ISN'T planning on upgrading ANYTIME soon. I recently recieved a text saying i could upgrade but would lose data. I use anywhere from 4.6-5.8gb of data a month because i do not have WiFi in my place of work, school, or at home.
    For my questions:
    1.) If i upgrade and renew for 2 years with a new phone i lose my unlimited data, correct?
    2.) If the other person on my contract upgrades and then we switch phones she will lose unlimited as well
         but will that effect my phone number plan?
    3.) I was told that i would be paying $810 total over 18 months if i upgrade to a higher data gb plan because
         it would jump from $30 a month to $75 a month which is $45 more. $45 times 18 months equals $810.
         Would it be more cost effective to BUY a phone at RETAIL and then activate it?
         3a.) Would Verizon charge for that?
         3b.) Would that remove my grandfather?
         3c.) Was the information i recieved from Verizon correct?

    Bawkinator wrote:
    Hey guys,
    For my questions:
    1.) If i upgrade and renew for 2 years with a new phone i lose my unlimited data, correct?
    2.) If the other person on my contract upgrades and then we switch phones she will lose unlimited as well
         but will that effect my phone number plan?
    3.) I was told that i would be paying $810 total over 18 months if i upgrade to a higher data gb plan because
         it would jump from $30 a month to $75 a month which is $45 more. $45 times 18 months equals $810.
         Would it be more cost effective to BUY a phone at RETAIL and then activate it?
         3a.) Would Verizon charge for that?
         3b.) Would that remove my grandfather?
         3c.) Was the information i recieved from Verizon correct?
    1) Yes
    2) Each line has their own contract. You can swap upgrades dates. The person who the upgrade originally belonged to will lose their unlimited data.
    3) Not sure where the 18 months come in since you can only upgrade once every 24 months. The 5 GB plan is $50 a month( or $20 more ) and the 10 GB plan is $80 a month( or $50 more )
    3a) Charge for what? data? More data you use the more it costs. That's how a tiered data plan works.
    3b) because Verizon wants to get people off of unlimited data plans. This policy has been in effect for nearly 11 months now.
    3c) yes and no.

  • 7.9.6.1 Financial Analytics - JDE - Extract Dates question

    Hi all,
    Implementation of 7.9.6.1 Financial Analytics + Procurement and Spend Analytics
    OLTP: JDE E9
    OLAP DB: Oracle 11g
    We were trying to adjust the # of prune days for an incremental load, when we discovered the change was having no effect.
    Our situation - JDE*
    Looking at the parameters in DAC, we found that the incremental condition in the SDEs is:
    date >= *$$LAST_EXTRACT_JDEDATE*
    In DAC, this parameter expands to:
    TO_NUMBER(TO_CHAR(TO_DATE('@DAC_$$TGT_REFRESH_DATE'), 'DDD'))+(TO_NUMBER(TO_CHAR(TO_DATE('@DAC_$$TGT_REFRESH_DATE'), 'YYYY')) -1900) * 1000
    If one keeps digging,
    +$$TGT_REFRESH_DATE = @DAC_TARGET_REFRESH_TIMESTAMP in custom format, MM/DD/YYYY+
    Compared to EBS*
    Now, if I look at the *$$LAST_EXTRACT_DATE* parameter (used in EBS SDEs)
    It expands to:
    +@DAC_SOURCE_PRUNE_REFRESH_TIMESTAMP in custom format, MM/DD/YYYY+
    Conclusion and question*
    Obviously the Julian date conversion is required in $$LAST_EXTRACT_JDEDATE, but apparently the prune days are being considered in $$LAST_EXTRACT_DATE and not in $$LAST_EXTRACT_JDEDATE.
    An obvious fix is to use @DAC_SOURCE_PRUNE_REFRESH_TIMESTAMP in $$LAST_EXTRACT_JDEDATE, but I don't know if that would have any side effects. I'll test it.
    I'll raise a SR with Oracle, but wanted to check if you guys had seen this before.
    Thanks, regards.-
    Alex.-
    Edited by: Alejandro Rosales on Feb 22, 2011 5:57 PM

    Hi Alejandro,
    Maybe this has been updated/correct in 7.9.6.2. Later today I will be in the office and can check in a VM image.
    I'll update the thread as soon as soon as I have checked this out.
    Regards,
    Marco Siliakus

  • Unsubsidized Activation and Unlimited Data Question

    I'm currently an AT&T customer, and want to move to Verizon before the tiered data begins. I'd like a 4G phone, but the offerings right now are kind of sparce. So I'm thinking of buying a Droid 2 Global at full cost, and upgrading to the bionic whenever it comes out, but I've got a couple questions:
    1. If I buy an unsubsidized phone and don't need to enter into a 2-year contract, will the unlimited data plan for month-to-month still be active after July 7?
    2. When the Bionic finally comes out, will I be eligible for the subsidized cost? And can I keep the unlimited data for a 2-year contract?
    Thanks!

    SweetJebus wrote:
    I'm currently an AT&T customer, and want to move to Verizon before the tiered data begins. I'd like a 4G phone, but the offerings right now are kind of sparce. So I'm thinking of buying a Droid 2 Global at full cost, and upgrading to the bionic whenever it comes out, but I've got a couple questions:
    1. If I buy an unsubsidized phone and don't need to enter into a 2-year contract, will the unlimited data plan for month-to-month still be active after July 7?  maybe, they are saying yes, but for ho wlong its not certain
    2. When the Bionic finally comes out, will I be eligible for the subsidized cost? And can I keep the unlimited data for a 2-year contract?  yes
    Thanks!

  • IPhoto 11 Event Date Question

    I have a question about iPhoto 11 events.  My camera was set to the wrong date for part of an event.  I went in and did a batch change of the time and date of the affected photos.  However, the date range beneath the title of the event still has the old erroneous date, and the event gets sorted by this date range.  Is there a way to go in and change that date range under the title of the event?  I go to the event and click on info, and the event shows the correct date range for the pics, but it is not changing the date range under the title.  Thanks for any help in advance.

    Thank you - I had the same problem and found your helpful answer.  However, this is actually a work around to a bug in iPhoto - it's not how the Apple Support pages say it works and common sense says that if you change all the dates in an event it should sort to the right place without being re-created.  Can you help me with one more thing - how do I bring this to Apple's attention so that they fix it in a future release?
    Thanks again for the help.

  • Quick NativeWindow questions.

    Hi,
    Two Quick Questions about native window actions (I am using AIR with HTML and JS):
    1. How do you "refer" to minimize button ? - So, when a user clicks minimize, it should do an action defined in javascript.
    2. How to define click event for System tray icon ? - So I can display something when my system tray icon is double-clicked.
    Thanks.

    1. Add an event listener to the window.nativeWindow object, listening for the NativeWindowDisplayStateEvent.DISPLAY_STATE_CHANGING  or DISPLAY_STATE_CHANGE events.
    2. Add an event listener to your SystemTrayIcon object. You can listen for click, mouseUp or mouseDown events, but doubleClick events are not dispatched by this object.

  • Date question in Oracle

    hi
    how to insert (text) time: 09:44:02 and date:11/09/2007 to date filed in Oracle ?
    i have field Tdate (date) and Ttime (date) in oracle
    thanks in advance
    Edited by: GoldSoft on 16:33 22/08/2011

    Gold, I think SB has answered your question. You use to_date to pass the character representation of a date to Oracle and identify what format the date is in using a format mask. To get a date data type out of Oracle and present it any way you want you use the to_char function and a format mask to tell Oracle how to display the date information.
    You can find the date format mask characters listed in the SQL Language manual. Just look up to_date or to_char and there should be a reference to the available masks.
    HTH -- Mark D Powell --

Maybe you are looking for

  • How to create universe so that it can be opened for two diff CMS in designer

    Post Author: basham CA Forum: Administration Hi, i have created some WI reports over a universe. I need to move the report and the universe to different CMS.But i'm not able to open the .unv file for the othere CMS in Designer, i'm getting FRM00008.C

  • Will not open link in new tabs, some of my add ons are not working properly

    I am using Firefox 3.6.6 My add ons, such as Gmail Notifier and Forecast Fox are not showing up on the bottom, but they are all enabled and updated. Also, when right click and select Open Link in New Tab, it opens an Untitled tab. == This happened ==

  • Function Module Z_STC_DGW_SAPRFC_CONN_TEST

    Hi, We are using the Function Module 'Z_STC_DGW_SAPRFC_CONN_TEST' to test wheather the connection to EAI is existing or not. It is returning a sy-subrc code of 1 which means a system error.  I am not able to navigate to this function module. It says

  • Update groups in Credit Mgmt

    Hello Gurus, Could ou please tell me the exact usage of Update groups in Credit management. Points wud berewarded grnerously for apt answers. Pavan

  • Restarting again and again after boot screen

    Hi ,      I am using Lenovo G580 laptop, core i5,4gb ram and 500 GB HDD, my laptop is restarting again and again after it showing lenovo boot screen. can anyone please tell me. what might be the problem??