Can't figure out whats wrong with this IF statement

Hey.
I must be tired cause I just can't figure out why this IF statement doesn't work. It's probably something silly but please help me get it right. The user is prompted with a form (textfield) and I'm gonna check if its the right password (this is not the reason im doing this but it works good for this example).
if(displayable == form){
          String correctPassword = "abcd";
          System.out.println("Input: " + textfield.getString());
          System.out.println("Correct: " + correctPassword);
          if(textfield.getString() == correctPassword) {
               System.out.println("Password is correct");
               Display.getDisplay(this).setCurrent(mList);
          else {
               System.out.println("Wrong password");
               destroyApp(true);
               notifyDestroyed();
}Even though i enter the correct password, it still thinks it is incorrect. This is how the WTK compiler outputs the above statement.
Input: abcd
Correct: abcd
Wrong passwordObviously the passwords DO match, so what am I doing wrong?

The == comparison operator returns true for equal primitives OR for variable references to the same object.
Classes (usually) override the .equals (Object obj) method inherited from Object to return true when objects of the class are essentially equivalent.
Run this java code segment and try to understand the output.String aStr = "A string";
String bStr = aStr;
if (aStr == bStr) System.out.println ("== true");
else System.out.println("== false");
if (aStr.equals (bStr)) System.out.println (".equals true");
else System.out.println(".equals false");
System.out.println();
bStr = new String ("A string");
if (aStr == bStr) System.out.println ("== true");
else System.out.println("== false");
if (aStr.equals (bStr)) System.out.println (".equals true");
else System.out.println(".equals false");
System.out.println();
bStr = new String ("Some String");
if (aStr == bStr) System.out.println ("== true");
else System.out.println("== false");
if (aStr.equals (bStr)) System.out.println (".equals true");
else System.out.println(".equals false");Ask again if it's not clear enough. But first, read the API for Object.equals (Object obj) to understand the contract of .equals (...)
db

Similar Messages

  • CAN ANYBODY TELL ME WHAT WRONG WITH THIS RSS FEED IT WONT WORK

    CAN ANYBONE TELL ME WHATS WRONG WITH THIS FEED BECAUSE IT WONT WORK AND ALSO HOW DO I GET A LINK TO THE PODCAST RSS FEED FOR THE SUBMIT PODCAST PAGE ON ITUNES,
    ANY HELP WILL BE MUCH APRECIATED
    <?xml version="1.0" encoding="UTF-8"?>
    <rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
    <channel>
    <title>DJ Hybrid Coventry Drum n Bass Podcast</title>
    <link>http://www.djhybridcoventry.com/podcast.htm</link>
    <language>en-us</language>
    <copyright>℗ & © 2007 DJ Hybridb& </copyright>
    <itunes:subtitle>DJ Hybrid Drum n Bass Podcast brings you all the latest and greatest from the Drum n Bass scene, updated every two weeks</itunes:subtitle>
    <itunes:author>DJ Hybrid</itunes:author>
    <itunes:summary>The DJ Hybrid Coventry Drum n Bass Podcast will showcase a selection of the latest and greatest tunes that are getting rinsed on the scene, mixed down with sharp cuts and nasty double drops by Dj Hybrid the podcast will also feature other DJ's and Mc's on different shows. Updated every two weeks this is guarenteed to be an original style of drum n bass mashup, for more info check www.djhybridcoventry.com</itunes:summary>
    <description>DJ Hybrid Drum n Bass Podcast brings you all the latest and greatest from the Drum n Bass scene, updated every two weeks</description>
    <itunes:owner>
    <itunes:name>DJ Hybrid</itunes:name>
    <itunes:email>[email protected]</itunes:email>
    </itunes:owner>
    <itunes:image href="http://i100.photobucket.com/albums/m8/djhybrid/PODCASTLOGOBLUE.jpg" />
    <itunes:category text="Music">
    <itunes:category text="Drum n Bass"/>
    </itunes:category>
    <itunes:category text="music"/>
    <item>
    <title>DJ Hybrid Podcast - 1st Show 03/6/07</title>
    <itunes:author>DJ Hybrid</itunes:author>
    <itunes:subtitle>The first show of the new drum n bass podcast from DJ Hybrid</itunes:subtitle>
    <itunes:summary>Welcome to the 1st show from DJ Hybrid because its the first show im goin to play what tunes i think represent me as a DJ aswell as my favourite drum n bass tunes at the moment for tracklistings check www.djhybridcoventry.com</itunes:summary>
    <enclosure url="http://fs06n5.sendspace.com/dl/603942da730253766c5157920e810d3e/46771dd931 3f824d/v3adp4/DJ%20Hybrid%20Podcast%201%20%20-%20%203rd%20June%202007.mp3" length="8727310" type="audio/x-m4a" />
    <guid>http://fs06n5.sendspace.com/dl/603942da730253766c5157920e810d3e/46771dd9313f824d /v3adp4/DJ%20Hybrid%20Podcast%201%20%20-%20%203rd%20June%202007.mp3</guid>
    <pubDate>Sun, 03 Jun 2007 20:00:00 GMT</pubDate>
    <itunes:duration>53:36</itunes:duration>
    <itunes:keywords>DJ, Hybrid, Podcast, Drum, Bass, Jungle, Coventry, Double Drop, Latest, Tunes, Vinyl, Liquid, Rave, Reggae, Urban</itunes:keywords>
    </item>
    </channel>
    </rss>

    First...Stop screaming. It's rude.
    Next...there are some minor problems with your feed. "Drum n Bass" is not a iTunes category. Stick with <itunes:category text="Music" /> remove the others.
    Not required, but recommend to add an <itunes:explicit> tag with a Y or N depending on what suits your podcast. The iTunes staff will remove your feed if it isn't tagged properly.
    MP3 audio files should have a type="audio/mpeg".
    Keep the Podcast spec handy...the categories and other info listed in the spec.
    Test your feed with http://www.feedvalidator.org it will point out problems with your feed.
    The bigger problems stem from your podcast enclosure, specifically the URL.
    The URL you have listed to the podcast mp3 apparently has changed so iTunes can't download the file. It also appears that you are using a "free download" kind of service that uses web page based downloads, which might account for why the URL keeps changing. Don't think that iTunes will be able to properly download the file.
    Erik

  • Whats wrong with this sql statement ??

    Hello all, I am trying to run the below query out of persheet(tanel poder) performance excel chart...but i get below error...db is on 9.2
    what is wrong with this sql statement ?
    http://blog.tanelpoder.com/2008/12/28/performance-visualization-made-easy-perfsheet-20-beta/
    select * from (
    with fsq as (
      select /*+ materialize */
       i.dbid
        , i.instance_name
        , i.instance_number
    --    , trunc(s.snap_time, 'DD')     DAY
    --    , to_number(to_char(s.snap_time, 'HH24'))  HOUR
    --   -- , to_char(s.snap_time, 'MI')    MINUTE
    --    , 0           MINUTE
        , trunc(
          lag(s.snap_time, 1)
          over(
           partition by
          v.dbid
           , i.instance_name
           , v.instance_number
           , v.event
         order by
          s.snap_time
          , 'HH24'
         )           SNAP_TIME
        , v.event_type        EVENT_TYPE
        , v.event          EVENT_NAME
        , nvl(
        decode(
         greatest(
          time_waited_micro,
          nvl(
           lag(time_waited_micro,1,0)
           over(
            partition by
             v.dbid
              , i.instance_name
              , v.instance_number
              , v.event
            order by v.snap_id
           , time_waited_micro
         time_waited_micro,
         time_waited_micro - lag(time_waited_micro,1,0)
         over (
          partition by
           v.dbid
            , i.instance_name
            , v.instance_number
            , v.event
          order by v.snap_id
         time_waited_micro
           , time_waited_micro
         ) / 1000000         SECONDS_SPENT
        , total_waits         WAIT_COUNT
      from
       (select distinct dbid, instance_name, instance_number from stats$database_instance) i
        , stats$snapshot s
        , ( select
         snap_id, dbid, instance_number, 'WAIT' event_type, event, time_waited_micro, total_waits
        from
         stats$system_event
        where
         event not in (select event from stats$idle_event)
        union all
        select
         snap_id, dbid, instance_number,
         case
          when name in ('CPU used by this session', 'parse time cpu', 'recursive cpu usage') then 'CPU'
          when name like 'OS % time' then 'OS'
          else 'STAT'
         end,
         name , value, 1
        from
         stats$sysstat
    --    where      name in ('CPU used by this session', 'parse time cpu', 'recursive cpu usage')
    --    or  name like('OS % time')
    --    or 1 = 2 -- this will be a bind variable controlling whether all stats need to be returned
       ) v
      where
       i.dbid = s.dbid
      and i.dbid = v.dbid
      and s.dbid = v.dbid
      and s.snap_id = v.snap_id
      and s.snap_time between '%FROM_DATE%' and '%TO_DATE%'
      and i.instance_name = '%INSTANCE%'
    select * from (
      select
       instance_name
        , instance_number
        , snap_time
        , trunc(snap_time, 'DD')  DAY
        , to_char(snap_time, 'HH24') HOUR
        , to_char(snap_time, 'MI') MINUTE      
        , event_type  
        , event_name  
        , seconds_spent
        , wait_count  
        , ratio_to_report(seconds_spent) over (
    --      partition by (to_char(day, 'YYYYMMDD')||to_char(hour,'09')||to_char(minute, '09'))
          partition by (snap_time)
          ) ratio
      from fsq
      where
       snap_time is not null -- lag(s.snap_time, 1) function above will leave time NULL for first snapshot
      -- to_char(day, 'YYYYMMDD')||to_char(hour,'09')||to_char(minute, '09')
      -- > ( select min(to_char(day, 'YYYYMMDD')||to_char(hour,'09')||to_char(minute, '09')) from fsq)
    where ratio > 0
    order by
        instance_name
      , instance_number
      , day
      , hour
      , minute
      , event_type
      , seconds_spent desc
      , wait_count desc
    Error at line 6
    ORA-00604: error occurred at recursive SQL level 1
    ORA-00972: identifier is too long

    Hi Alex,
    Subquery factoring a.k.a. the with-clause should be possible on 9.2:
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96540/statements_103a.htm#2075888
    (used it myself as well on 9.2)
    @OP
    I recall having problems myself using PL/SQL Developer and trying to get the with clause to work on 9.2 some years ago.
    A workaround might be to create a view based on the query.
    Also, your error message is "ORA-00972: identifier is too long"...
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14219/e900.htm#sthref419
    Can't test things currently, no 9.2 available at the moment, but perhaps tomorrow I'll have a chance.

  • My sound is fine but my mic isnt working. how do i fix or figure out whats wrong with it

    Title says it. I just did a clean wipe on my computer and now my mic isnt working on vent or skype, i dont know what is wrong with it.  When i go to my sound hardware it says my external mic, IDT high def audio codec is enabled..

    Same thing here. Must be update related. Who knows. Tried to go into ventrilo today and nada. Can hear people fine, microphone not picking. In my devices it says my Anvex Virtual Audio is "not available", same with the "IDT High Definition Audio Codec. Now I'm starting to get a little agitated. No diagnostics have come back with a ping on the issue. All settings seem fine. I HAVE AUDIO, as in my speakers are working so **bleep**.
     I'm lost. No clue how to fix it. Guess I'm no longer raiding and that if this isn't working I'm going to go buy a Dell and rage beat this piece of **bleep** in the yard. That's right. I am taking 3 years of continual frustration out with HP errors, Vista complications and overall disatisfaction.
     If you can fix this problem I will offer you pictures of fluffy kittens and circus acrobats/contortionists. Now fix my ventrilo. lol

  • Cant figure out whats wrong with my applet, help pls??

    this applet checks a string against one in a database then if passwords match, a new url is opened. the applet loads in webpage with no problems. it just doesnt seem to work. have granted full access to code base in policy file.
    heres the code:
    import java.awt.*;
    import java.awt.event.*;
    import java.util.*;
    import java.applet.*;
    import java.sql.*;
    import java.net.*;
    public class LoginApplet extends Applet implements ActionListener
        Panel top;
        Panel bottom;
        TextField nameField;
        TextField passField;
        Label userNameLabel;
        Label passwordLabel;
        Button loginButton;
        public void init()
            setSize(230,200);
            setBackground(Color.white);
            // Create panels, labels, and text fields
            top                = new Panel(new FlowLayout(FlowLayout.LEFT));
            bottom                = new Panel(new FlowLayout(FlowLayout.LEFT));
            nameField           = new TextField(15);
            passField           = new TextField(15);
            userNameLabel      = new Label("User Name:", Label.LEFT);
            passwordLabel      = new Label("Password:   ", Label.LEFT);
            loginButton          = new Button("Login:");
            loginButton.addActionListener(this);
            // Mask the input so that people looking over your shoulder
            // won't be able to see the password
            passField.setEchoChar('*');
            // Add items to their panels
            top.add(userNameLabel);
            top.add(nameField);
            top.add(passwordLabel);
            top.add(passField);
            bottom.add(loginButton);
            // Set the applet layout
            setLayout(new GridLayout(3,3));
            // Add the panels to the applet (skip this
            // part and you won't see the panels on screen)
            add(top);
            add(bottom);
        public void actionPerformed(ActionEvent e)
                   String name      = nameField.getText();
                   String pass      = passField.getText();
                   try
                        Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                        // set this to a MS Access DB
                        String filename = "e:/iain/College/Y4/SWP/Program/website/database/loginDetails.mdb";
                        String database = "jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=";
                        database+= filename.trim() + ";DriverID=22;READONLY=true}"; // add on to the end
                        // now we can get the connection from the DriverManager
                        Connection con = DriverManager.getConnection( database ,"","");
                        Statement s = con.createStatement();
                        s.execute(" SELECT [password] FROM logindetails WHERE [username] = '" + name + "' "); // select the data from the table
                        ResultSet rs = s.getResultSet(); // get any ResultSet that came from our query
                        if (rs != null) // if rs == null, then there is no ResultSet to view
                             while ( rs.next() ) // this will step through our data row-by-row
                                  String passtmp = "";
                                  passtmp = passtmp + rs.getString(1);
                                  if(passtmp.equals(pass))
                                       String url = "E:/iain/College/Y4/SWP/Program/website";
                                       Runtime rt = Runtime.getRuntime();
                                       String[] callAndArgs = {"\"C:\\Program Files\\Internet Explorer\\iexplore.exe\"", url };
                                       try
                                            Process child = rt.exec(callAndArgs);
                                            nameField.setText("");
                                            passField.setText("");
                                       catch (Exception eee)
                                            eee.printStackTrace(System.err);
                                  else
                                       System.out.println("Invalid Password " +name);
                                  s.close(); // close the Statement to let the database know we're done with it
                                 con.close(); // close the Connection to let the database know we're done with it
                   catch (Exception ee)
                        System.out.println("Error: " + ee);
    }

    this is the initial error, when applet is run:
    java.security.policy: error adding Entry:
    java.net.MalformedURLException: unknown
    unknown protocol: eI don't know where that's from that code, but e isn't a protocol. If it's a file, you should append "file:///" to the full path.
    then when trying to read from db:
    Error: java.security.AccessControlException: access
    denied (java.lang.RuntimePer
    mission accessClassInPackage.sun.jdbc.odbc)
    didnt think of running it through applet viewer.
    the whole thing will be running on the same server
    using IIS over a LANYou don't connect to a local file system thru an applet without a signed applet. Period.

  • Can't figure out what will make this work....

    So I have a Verizon Wireless USB modem for internet access, and I have to turn off airport in order to gain access to the internet (some issue with VZW). And I can't have the modem plugged into anywhere but on the computer itself. So, I connected the Time Capsule to my iMac using an ethernet cord. All that being said, my Time Capsule initially would blink the amber light of doom while I was connected to the internet, and then would function just fine whenever I was disconnected, and then it stopped. I have tried resetting it, I have tried reinstalling, and I have since given up because I don't know what to do with it. I have even tried a new cord, thinking that that might help things. Please, please help. My grad school work needs to be backed up ASAP. Thanks in advance!

    Hello,
    Let's fix the Verizon annoyance first, then we'll see if it helps. Your Verizon network adapter probably has a lower priority than your airport and/or wired connection, we'll move it up so that your computer tries to use this connection to get online before any other one. Simply follow these instructions:
    http://docs.info.apple.com/article.html?path=Mac/10.5/en/8853.html
    Try connecting wirelessly or with your network cable to your Time Capsule. If your Time Capsule doesn't appear in Finder, open the Airport Utilty (Applications/Utilities). If the Airport Utility can see your Time Capsule, make sure the Disk Sharing is enabled and that you have the right password.
    If you can't connect or the Airport Utility can't see your Time Capsule, click on your desktop (to change the top menus to the Finder menus) then click on "GO" and "Connect to a Server". In the server name field enter the afp:\\10.0.1.1:548. If you changed the IP address of your Time Capsule enter it there followed by :548.
    I hope that helps.

  • My macbook pro keeps freezing and shutting off when I am browsing the web on Safari.  How can I figure out what is causing this issue?

    For the past few weeks my computer will slow down when I have been on Safari for awhile, then freeze, and then just go black.  I have to press the power button and then it goes to a black screen with the apple logo and a loading bar underneath when it reboots.  I'm not sure what is causing the issue, but on my previous mac it would have an error message if something like this happened that I could submit.  Any suggestions of where to start to solve this issue?
    Thanks!

    These instructions must be carried out as an administrator. If you have only one user account, you are the administrator.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Step 1
    For this step, the title of the Console window should be All Messages. If it isn't, select
              SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar at the top of the screen.
    In the top right corner of the Console window, there's a search box labeled Filter. Initially the words "String Matching" are shown in that box. Enter "BOOT_TIME" (without the quotes.)
    Each message in the log begins with the date and time when it was entered. Select the BOOT_TIME log message that corresponds to the last boot time when you had the problem. Now clear the search box to reveal all messages. Select the ones logged before the boot, during the time something abnormal was happening. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    For example, if the system was unresponsive or was failing to shut down for three minutes before you forced a restart, post the messages timestamped within three minutes before the boot time, not after. Please include the BOOT_TIME message at the end of the log extract—not at the beginning.
    If there are long runs of repeated messages, please post only one example of each. Don’t post many repetitions of the same message.
    When posting a log extract, be selective. A few dozen lines are almost always more than enough.
    Some private information, such as your name, may appear in the log. Anonymize before posting.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    Step 2
    In the Console window, select
              DIAGNOSTIC AND USAGE INFORMATION ▹ System Diagnostic Reports
    (not Diagnostic and Usage Messages) from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar.
    There is a disclosure triangle to the left of the list item. If the triangle is pointing to the right, click it so that it points down. You'll see a list of reports. A crash report has a name that begins with the name of the crashed process and ends in ".crash". A panic report has a name that begins with "Kernel" and ends in ".panic". A shutdown stall report has a name that ends in ".shutdownstall". Select the most recent of each, if any. The contents of the report will appear on the right. Use copy and paste to post the entire contents—the text, not a screenshot. It's possible that none of these reports exists.
    I know the report is long, maybe several hundred lines. Please post all of it anyway.
    If you don't see any reports listed, but you know there was a crash or panic, you may have chosen Diagnostic and Usage Messages from the log list. Choose DIAGNOSTIC AND USAGE INFORMATION instead.
    In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.)
    Please don’t post other kinds of diagnostic report—they're very long and rarely helpful.

  • I cant figure out whats wrong with my flash player

    I am trying to watch a tv show on cwtv.com...it is not working. it starts off showing me the logo and the cw song but when it is time for the show to play it will  not play..I have a windows 8
    Verify if Flash Player is installed
    If you see clouds moving in the animation below, congratulations, you have successfully installed Flash Player!
    I can see the clouds moving, so I know it is installed right

    "Green screen"
    99.9% of the time.. corrupted video drivers are the cause.
    Update them from the manufacturer, NOT Windows Update.
    Installed video drivers may not always support the functionality of the latest Flash Player.  If Flash Player does not function correctly, updating the video drivers to the latest available version is one of the first steps to try.  Below are instructions how to update the video drivers on Windows systems.
    identify the manufacturer and type of your video card
    open Device Manager: Start | Run | enter devmgmt.msc
    open the Display Adapters drop-down; this will show you the installed video card:
    identify the device driver version
    right-click on your display adapter entry and select Properties
    click on the Driver tab; this will show you the driver version and date:
    go to the device manufacturer's support site and download the latest driver
    NVIDIA cards: NVIDIA driver download page, or auto-detect
    ATI cards: ATI driver download page, or auto-detect
    Intel cards: Intel driver download page, or auto-detect
    Matrox cards: Matrox driver download page
    VIA cards: VIA Arena driver download page (redirects to 3rd-party download site)
    SiS cards: SiS driver download page, or auto-detect
    S3 cards: S3 driver download page, or auto-detect (option 2 on the download page)
    follow the instructions on the manufacturer's support site
    Note: some of the auto-detect utilities linked above will only run on Internet Explorer.

  • Trouble with calculating fields. Can't select (check) fields. Also can't figure out what's wrong with a division field (percent) that I created. Keep getting the pop up that format of the field doesn't allow blah blah blah... Help!

    Trouble with calculating fields. Can't select (check) fields. Also can't figure out what's wrong with a division field (percent) that I created. Keep getting the pop up that format of the field doesn't allow blah blah blah... Help!

    1. Use the mouse to select the field and then press the space bar.
    2. A null string is the same as zero. What is the result for division by zero?

  • Can't figure out what I'm doing wrong

    I'm using Studio 8 in Mac OS X (10.4.6). I've got some pdfs
    uploaded to my site that are accessible through links one one of
    the pages. I had to make changes to the pdfs and resave them. I
    thought I uploaded them, but when I test the links it downloads the
    old version and I can't figure out what I'm doing wrong. Here's
    what I did.
    This may be a dumb way to do things, but I saved the new
    version and then dragged into the server file in
    user-->Library-->Application
    Support-->Macromedia-->Dreamweaver
    8-->Configuration-->ServerConnections-->unnamed
    server-->public_html (this is where all the other files are).
    When I go back into Dreamweaver and open the pdf listed in the
    Files window on the right (by control-clicking and selecting Open
    with-->Acrobat) the correct version appears. I thought maybe
    there was a delay or something, but I've waited and still the old
    version is what you get from the site.
    Is there an easier way to do this, or is something wrong
    maybe? Many thanks in advance.

    > This may be a dumb way to do things, but I saved the new
    version and then
    > dragged into the server file in
    user-->Library-->Application
    > Support-->Macromedia-->Dreamweaver
    Put the files in this Site's Local Site Folder.
    If unsure of where you've specified this to be, look in this
    site definition
    (dw menu-->Sites-->Manage or Edit Sites)
    If that path you've given above above is correct, it's
    wrong....

  • I see "imac-54f9d5" under the "Shared" heading in my finder. I am not connected to any printers or other Mac devices. Is it possible that someone is remotely accessing my system? How can I figure out what this is?

    I see "imac-54f9d5" under the "Shared" heading in my finder. I am not connected to any printers or other Mac devices. Is it possible that someone is remotely accessing my system? How can I figure out what this is?

    is it your imac?
    is it your your router's name?
    are you by any chance connected to another wifi router then your own because the other one was open and not password protected?

  • TS3694 My iPad says it has to restore to update, but it will not.  It is caught in a cycle of not being able to restore but needed to restore.  I keep getting error code 3014 but I can not figure out what this means!

    My iPad says it has to restore to update, but it will not.  It is caught in a cycle of not being able to restore but needed to restore.  I keep getting error code 3014 but I can not figure out what this means! nor can I do anything about it!  So Frutrated!

    Also...
    See Here  >  http://support.apple.com/kb/HT1808
    You may need to try this More than Once...
    But... if the Device has been Modified... this will Not necessarily work.

  • I have a MacBook Pro OS 10.9.5 with 250 GB hard drive-- I can't figure out what is taking up all my hard drive space (it is not backups).  Any ideas?

    MacBook Pro OS 10.9.5, 250 GB solid state hard drive.
    I can't figure out what is taking up all my hard drive space (it is not backups).  Any ideas? 

  • Whats wrong with this query.can anyone help me......

    select CASE WHEN TO_NUMBER(SUBSTR(TO_CHAR(START_TIME_TIMESTAMP,'DDMMYYYY HH24:MM:SS'),13,2))>0 AND TO_NUMBER(SUBSTR(TO_CHAR(START_TIME_TIMESTAMP,'YYYYMMDD HH24:MM:SS'),13,2)) <14
    THEN TO_DATE(CONCAT(SUBSTR(TO_CHAR(START_TIME_TIMESTAMP,'YYYYMMDD HH24:MM:SS'),13,2)||'00',SUBSTR(TO_CHAR(START_TIME_TIMESTAMP,'YYYYMMDD HH24:MI:SS'),16)||'00'),'DD-MM-YYYY HH24:MI:SS') end
    from table;
    i have written this query.whats wrong with this query..........
    the error is "literal does not match format string"
    Reegards soumen

    Why does your date_format loose, ununify and not fix ?
    And what is your exact requirement?
    >>
    CASE WHEN
    TO_NUMBER(SUBSTR(TO_CHAR(START_TIME_TIMESTAMP,'DDMMYYYY HH24:MM:SS'),13,2))>0
    AND TO_NUMBER(SUBSTR(TO_CHAR(START_TIME_TIMESTAMP,'YYYYMMDD HH24:MM:SS'),13,2)) <14
    <<
    This is
    CASE WHEN TO_CHAR(START_TIME_TIMESTAMP,'MM') between '01' and '13'
    >>
    THEN TO_DATE(CONCAT(SUBSTR(TO_CHAR(START_TIME_TIMESTAMP,'YYYYMMDD HH24:MM:SS'),13,2)
    ||'00',
    SUBSTR(TO_CHAR(START_TIME_TIMESTAMP,'YYYYMMDD HH24:MI:SS'),16)||'00'),
    'DD-MM-YYYY HH24:MI:SS')
    <<
    This is
    TO_DATE(
    TO_CHAR(START_TIME_TIMESTAMP,'MM"00"SS"00"),
    'DD-MM-YYYY HH24:MI:SS')
    Obviously, format is not matching !
    SQL> select to_char(sysdate,'MM"00"SS"00') from dual;
    TO_CHAR(
    06004900
    SQL> select to_date('06004900','DD-MM-YYYY HH24:MI:SS') from dual;
    select to_date('06004900','DD-MM-YYYY HH24:MI:SS') from dual
    ERROR at line 1:
    ORA-01861: literal does not match format string

  • When I put my iphone 4s into my pocket (pants or coat) and move it around, the phone beeps/makes a tone. I can't figure out what is causing the noise.

    I have a strange problem. When I put my iphone 4S into my pocket (pants or coat) and move it around, the phone makes a beep noise/tone. I can't figure out what is causing the noise. It doesn't sound like any of my regular applications. Maybe it is the lock noise but I can't tell for sure.  More movement makes more beeps.  Even walking with my phone in my pocket creates beeps.  The IOS is 7.0.4 (11B554a).  Anyone else have this crazy problem?

    Try This...
    Close All Open Apps... Sign Out of your Account... Perform a Reset...
    Reset  ( No Data will be Lost )
    Press and hold the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Release the Buttons.
    http://support.apple.com/kb/ht1430
    If the issue persists...
    Connect to iTunes on the computer you usually Sync with and Restore
    http://support.apple.com/kb/HT1414
    Make sure you have the Latest Version of iTunes (v11) Installed on your computer
    iTunes free download from www.itunes.com/download

Maybe you are looking for

  • Imovie 8.0.6 quits unexpectedly when I try to input text

    Hi, not sure if anybody is having the same problem as I am having since i updated to OS X 10.7.5. Error message below. Please help! Thanks. Process:         iMovie [3820] Path:            /Applications/iMovie.app/Contents/MacOS/iMovie Identifier:    

  • Error in Http Receiver adapter.

    HI Everyone, I am doing File to HTTP Scenario. I am Getting error as "ICM_HTTP_CONNECTION_FAILED" when i check in message monitoring. What could be the problem. Regards, Varun

  • In search of advice for a Flex application

    I'm trying to describe my plan as simply as I can but I may fail. My project group is working on a designing application for garages. User can drag and drop elements (window, wall, doors) to a canvas area to create a garage design. I can't tell more

  • ORD to AUC settlement for previous year

    Hi All, We have a scenario wherein some expense exists on the Internal order for 2014. The Asset fiscal year has been changed to 2015. While trying to settle the ORD to AUC for current year, we get a message to do the settlement for previous year. I

  • Excel 2013 X-Y axes switch

    My Excel 2013 version does not allow me to switch X and Y axes on a line chart. And I do not mean switching Rows/Columns. My old laptop with Excel 2007 allowed switching X-Y axes by editing the Data Series. My 2013 Excel version's Edit only has Serie