Please HELP!!! I'm stack and I don't know what to do !

Here is the code:
query = "SELECT DATE_COL FROM _TABLE WHERE NOMER = 5 or NOMER = 7";
// I'm using StorageDataSet
dataSet.open();
//there are 2 rows at the given dataSet
dataSet.first();
java.sql.Date d_1 = dataSet.getDate("DATE_COL");
System.out.println("The date_1 is "+d_1);
dataSet.next();
java.sql.Date d_2 = dataSet.getDate("DATE_COL");
System.out.println("The date_2 is "+d_2+" and date_1 is "+d_1);
and at the screen are ...
The date_1 is 2001-10-08
The date_2 is 2001-11-05 and date_1 is 2001-11-05
Anyone can explain this? Any comment, pls! .
Thanks

Rather than asking us to try to debug this why don't you tell us what you're trying to do, what you expect this code to do, and what it's not doing correctly?
Clear, precise questions will always be answered faster.
From your question I don't have any idea what the problem is that you're trying to solve.

Similar Messages

Maybe you are looking for

  • IF statement in java

    Hi gurus, how can i write this following code in java ? if (conv.getInt("LP_ID") == 9,5,7,6,3) doing something.... Thanks in advance.

  • Error while running sapccmsr.exe on Netweaver Trial

    Hi there, I've installed Netweaver Trial on my laptop, and I'm trying to run 'sapccmsr.exe -R' from the command to register the CCMS monitoring agent. It almost works, but then comes up with the following error: "After entering the RFC logon info for

  • Changing 'All Column Values' in dashboard prompt

    In OBIEE 11g, how to modify the dashboard prompt All label value? I do not want to change value in XML file , because it will impact all dashboard prompt value. Is it there better method to implement this problem? For example: In dashboard prompt-->e

  • Reader v9 doesn't print

    Hi i brought a second hand hp 1100 printer off [unnecessary url deleted by host] i can print fine from Ms office, paint in fact everything apart from adobe acrobat reader. When i try to print nothing happens.. Any advice is the printer faulty?

  • Problem placing Jpeg images

    Hi Group, I'm having a problem placing Jpeg images in DW CS3. Some come in and display themselves just fine. Others come in as what appears to be the file name displayed as a link, blue text and underlined. Previewed in a browser, when I click the li