To see the value

<font face="Times New Roman" color="35349F" size="3">
Hi,
if the connection is already made properly, what should be returned from "getRow()" for the following from a bean?
Statement stmt = conn.createStatement();
ResultSet rs = stmt.executeQuery("select sysdate from dual");
if (rs.getRow() == 0) {
Thanks & Best Regards,
HuaMin
</font>

If you want just to see the value. try by this code
Statement  stmt = conn.createStatement();
    ResultSet  rs   = stmt.executeQuery("SELECT SYSDATE FROM dual");
    while (rs.next()) {
      System.out.println("SYSDATE=" + rs.getString("SYSDATE"));
    rs.close();
    stmt.close();
    conn.close();

Similar Messages

  • Not able to see the values properly

    Hi,,
    I am using Jdev 11.1.1.5.
    I see the value of “val.toString()” is correct and the Sql of the view is fine. Then what can be the reasons that no values come out in the popup?
    Why do I get “No data to display” within the popup once I clicked the link?
    Could any other people help pls?
    Edited by: Hua Min on Apr 4, 2012 5:02 PM

    Hua, you must be kidding...
    Do you expect us to read and somehow digest your other 30+ post long thread?
    You don't even bother to give the minimal needed information (which you should know by now!).
    Timo
    Edited by: Timo Hahn on 04.04.2012 09:18
    OK we are half there. You edited your original post. so let me do the same.
    I don't see a jdev version...
    No use case?
    What do you try to do?
    What does ExecuteWithParam execute?

  • Unable to see the values in detail block

    Hello,
    I have a master detail block, when I query the form, I am unable to see the values for a particular field(Column), all other columns appear properly in the details block, Upon checking the same table(s) in SQL ( by using the JOIN defined in the where clause of the relationship in Forms) , it shows the relevant records for all fields. So what could be wrong with the Form, please advise.
    Thanks
    FM

    IQ wrote:
    I have just checked the field its a non-database field which is being used as a LOV column to display a value derived from LOV. How do I make this populate at Query time, as obviously this works when the Form is in a insert mode but not for Query mode. How to make it work for Query ? As it for LOV column and non-database filed, ignore my first suggestion.
    Does your non-database filed has associate any column ?
    For example, you have SUPPLIER_ID (database column) and SUPPLIER_NAME (non-database column). SUPPLIER_NAME has LOV column. And when selecting supplier name from LOV value also assign at supplier_id.
    Now to show supplier name when querying, you have to write POST-CHANGE trigger at supplier_id. like
    SELECT ASSC_CODE INTO :MST_SUPPLIER.ACC_CODE
    FROM ACC_SUB_SUB_CONTROL
    WHERE ASSC_ID=:MST_SUPPLIER.SUPP_ASSC_ID;Hope this helps

  • Unable to see the values from the FM in the ICSS application

    Hi Gurus,
    I am trying to call a custom function module in the ICSS application but it's not returning me any values in the application whereas it's showing values in the GUI for the same input.
    One more strange thing is when we are hardcoding the values in the output table of this FM then i am able to see the values in the front end application.
    I am clueless as what could be the reason.
    Please help me.
    Thanks,
    Gary

    Hi Saurabh,
    This is really a strange problem as you said.
    May be your fm is getting called more than once and in the second call there is no input data for the
    fm and that's why its returning blank and your business objects are getting overwritten with blank values but when you are hardcoding you are getting the data.
    Can you please debug and see if your fm is being called twice.
    Instead of hardcoding data to output tables, check once by hardcoding input to java backend object
    while calling the fm.
    Regards,
    Arshi

  • Apple TV - I Still Don't See The Value

    I have had an Apple TV for a couple of years now and unfortunately I don;t see the value in it anymore. Apple has paid no attention to what this thing can be. And while I know that the goal is to make money, it's a shame that so many digital components are being left out.
    For those of you who have an Xbox, you recently received Netflix and Last FM.
    For whatever reason, Netflix downloads almost instantly on the Xbox. Apple TV take a pretty long time, and at least 4 hours for HD movies. Why is this?
    Second, LastFm is like Pandora. While the addition to internet Radio is nice, why not bundle up with Pandora?
    Finally, why not intergrate this into other digital spaces like facebook, twitter and even Hulu..... The entire thing doesnt make sense.
    I currently only use this thing for Photos, and really that's even a pain in the *** because I need to have it identical to what's on my MAC. The whole system *****, and frankly not well thought out.
    In fact, I personally think that their should be an APP store on the Apple TV, like the Iphone..... There is so much they can do to make this system better. In the meantime, Xbox has gained ground, if not passed them as a entertainment hub for the TV.... and honestly, I think they have only scratched the surface.
    In a few years, I believe we will be capable of not needing cable, directtv, etc... We should be able to Pick "CBS" and pick a show...and watch....Through the internet. Not actually buying shows.

    While there may be groups of users who want it to be an all-singing all-dancing machine for certain tasks, not every group will want the same things. Therein lies the problem, what to develop particularly when many options won't be cash-cows.
    You presumably bought it for the feature set it had and it still has those things.
    I'd buy one tomorrow for music playback alone via the hi-fi - my wish here would be for it to support better quality PCM audio output (limited to 16 bit 44.1kHz for music).
    Mine get hours of use each day for family viewing, no messing around with VHS tapes or discs. Great.
    I wish they hadn't added YouTube in 1.01 to be honest and even some aspects of iTunes store annoy me on it, though on balance I prefer the store is present.
    I wouldn't use Twitter/Facebook and all that kind of stuff - not my thing really so it would be of no interest and just clutter menus, but I appreciate others would like them
    Adding apps/plugins would be a good way to address different wants for the system as you'd customise in line with what you wanted and wouldn't be forced to use things you didn't need.
    With regard to things like Netflix/Pandora etc many of these are country specific eg Pandora stopped those outside US from accessing it, Netflix is not available in UK. Last FM is great on the iPhone, I'd love it on the AppleTV. UK users would love BBC iPlayer, it would be useless to you.
    So without opening up the system to allow 3rd parties to deploy local content/features specific to each country I would imagine it would be very hard to target what to develop in house that would work universally.
    There are also usage concepts that annoy - syncing being one for a variety of reasons, I'd prefer a manual drag and drop method of populating it, but I mainly stream anyway. It's the AppleTV 'way' though so it won't change. USB port activation would also be incredibly handy either to backup material, extend playback storage or populate AppleTV. Again, unliklely to change.
    You presumably know the feedback link:
    http://www.apple.com/feedback/appletv.html
    AppleTV may not be perfect but I don't think there is a perfect device out there currently - the competition is certainly hotting up though.

  • See the value of the parameter in the oracle report

    Hi experts,
    Can you please tell me how can i see the value of any parameter in the report.I am sending one parameter from one form and i want to see it's value in the report.
    Is there any function like message in report.
    another thing can you please tell me that how can i make use of triggers in forms.
    Regards
    Rajat

    another way to see the passed value, create a temp/testing field with source of p_my_parameter.
    Forms Trigger Qs go Forms Forum.

  • How and where can i see the values of 0CURRENCY

    Hi gurus,
    How and where can i see the values of 0CURRENCY, for example if the key value is VEB how can i see it that means "Bolivares" , some days ago i had a similar doubt with 0UNIT, and some friend helped me , saying: go to the Transaction CUNI , and it works, but now my doubt is with 0CURRENCY, thanks guys !

    Table TCURC will give you the long and short text for the currency keys.  You can also display in a query by adding 0CURRENCY to the drilldown and displaying key and text.
    Regards,
    Kerry

  • I would like to see the values from pointer mouse like cursor, i would like to put the mouse in point of graph and see the value of point!

    I want to use the mouse pointer like cursor, i want use in my graph xy, i dont like to move the cursor to see the point.
    is it possible?

    There are vi's available to read mouse position. Look for mouse in the example code section here. You can use the Position attribute of the property node of your graph to get the mouse position within the graph. You can get the range of the scales from the property node. Then it will be a bit of straightforward math to figure out the values.
    Beware that the size of the drawing area of the graph can change as the numbers in the scales get bigger or smaller! Good Luck
    Yours Sincerely
    John

  • Report to see the value of material at storage bin level

    Hi,
    The requirement is to see the quantity and value of material stored at storage bin level.
    Is there any standard report available to see the same.
    thanks

    Hi,
    Check on it:-
    Storage bin should display in MB52
    pherasath

  • Reports in EPM version 16 to be refreshed twice to see the values in the Report

    Dear All,
    We are on BPC 10 and EPM version 16. When we try to refresh the Reports in EPM 16, the first time, it does not bring any values, but when we refresh the second time, we get the values in the Report. Has anyone faced the similar issue like this, please let me know how it can be solved? When i execute the same report in EPM 13, the report gets the values in the first refresh itself.
    Thanks in advance,
    Best Regards,
    Rama

    Hi Swapnil, Vadim,
    Thanks for your help but as per the Note, I would like to check if this will help for my Report. As per the Note it says,
    Resolution
    A solution is to select the member Context(XXXX) in the 'EPM - Member selector' for the dimension initialized in page axis for the input schedule instead of referring to Sheet1 in the EPMOlapMember formula.
    Another solution is to implement a macro via a button in the second sheet that contains the input schedule as follows:
    Point 1: I have 6 sheets in this workbook, The Input Sheet which you see below is created by using a MACRO. Going to each sheet and changing the context would not help our users because they need to just refresh from the Input sheet.
    Point 2: It says, to go to each sheet and create a MACRO which is also not feasible for our users. They require to have it in the Input sheet only.
    Below Screen shot is from Input Sheet. PRC refers to the Profit Center in the below screen shot.
    Below Screen shot is from Sheet 1
    Please let me know if I am wrong as per the Note.
    Thanks in advance,
    Regards,
    Venkata

  • How to see the values of subtotal

    Hi Gurus,
    I have a small doubt regarding pricing procedure. In pricing procedure we have a column called Condition subtotal, it stores the value in the table and we can call this value whenever we required.
    My question is here where we can see the subtotal value and how. I tried to view this value in table but it is a structure that is the reason i could not view it.
    Please respond to this thread.
    Thanks in advance.
    Venkat.

    Hi:
    What you can do is to used subtotals on to the pricing procedure. If you uses subtotals 1 to 6 this will be store on table VBAP on field KZWI1 to KZWI6. You can also used other subtotals D to M is you want to used formulas.
    Best Regards,
                         Federico

  • How can i see the values of a prepared query

    Somebody knows about a tool that show me the values of a prepared query.
    I tried with the view V$SQL and with the TKPROF, but both show me the same query text and i need to know the parameter's values. Example of a prepared query - I don't know if it is the correct name of that kind of query.
    UPDATE "CL0E01" SET "BLOQUEO"=:1
    WHERE
    "CLAVE"=:2 AND "NUM_REGS"=:3 AND "ULT_CLV"=:4 AND "BLOQUEO"=:5
    Is it a tool that show me the value??
    Thanks for the help.
    Roberto Moreno

    I tried with the view V$SQL_BIND_CAPTURE but i get this error. "ORA-00932: inconsistent datatypes: expected CHAR got -". I executed in the Application Express.
    What could be wrong??
    I put my STATISTICS_LEVEL to ALL but nothing happen. I recieved the same result.
    I executed the view V$STATISTICS_LEVEL, for the Bind Data Capture I have enabled the session and system status, the activation level is TYPICAL.
    Thanks for your help TongucY

  • Cant see the value in output file

    hello,
    iam not getting onevalue in output file when it is directly assigned
    for eg: gs_zcrmtab_scheme-quantity = '1' .
    plz help me
    regards,

    See the below code :
    select mastmatnr maralabor into table lt_mara from mast innerjoin mara on mara matnr = mastmatnr where mastwerks = 'JER' and maststlan = '5'.
    loop at lt_mara.
    if lt_mara-labor is initial.
    write:/ ' nothing'.
    <b>clear : ls_zcrmtab_scheme,
              lt_mara.</b>
    continue.
    endif.
    ls_zcrmtab_scheme-schemecode = lt_matnr.
    case lt_mara-labor.
    when 'D&A'.
    ls_zcrmtab_scheme-clientnumber = '000400001'.
    same when stmts -
    when others.
    <b>clear : ls_zcrmtab_scheme,
              lt_mara.</b>
    continue.
    endcase.
    ls_zcrmtab_scheme-quantity = '1'. <b>-> what is data type of quantity field</b>
    look at debug mode now
    select single stzuztext into lv_ztext from stzu inner join mast on maststlnr = stzu~stlnr
    where matnr = ls_zcrmtab_scheme-schemecode.
    case lv_ztext.
    when 'zwk2'.
    ls_zcrmtab_scheme-modality = '1m'
    when 'zwk4'.
    ls_zcrmtab_scheme-modality = '1m'
    when 'zwk6'.
    ls_zcrmtab_scheme-modality = '1m'
    when 'zwk8'.
    ls_zcrmtab_scheme-modality = '1m'
    endcase.
    ranges :r_scheme for ls_zcrmtab_scheme-schemecode.
    r_scheme-low = 'a3'.
    r_scheme-option = 'EQ'.
    r_scheme-sign = 'I'.
    append r_scheme.
    r_scheme-low = 'AY'
    append r_scheme.
    r_scheme-low = 'c3'
    append r_scheme.
    r_scheme-low = 'QX'
    append r_scheme.
    case ls_zcrmtab_scheme-clientnumber.
    when '00040000073' or '0004000240'.
    ls_zcrmtab_scheme-zor_split = space.
    when others.
    if ls_zcrmtab_scheme-schemecode in r_scheme.
    ls_zcrmtab_scheme-zor_split = space.
    else.
    case ls_zcrmtab_scheme-modality
    when '1M'
    ls_zcrmtab_scheme-zor-split = 'X'
    ls_zcrmtab_scheme-zfc-split = 'X'
    when others.
    ls_zcrmtab_scheme-zor-split = 'a'
    ls_zcrmtab_scheme-zfc-split = 'a'
    endcase.
    endif.
    endcase.
    append ls_zcrmtab_scheme to lt_zcrmtab_scheme.
    <b>clear : ls_zcrmtab_scheme</b>,
                  lt_mara.
    endloop.
    if you get issue again then send me structure of lt_zcrmtab_scheme.
    Thanks
    Seshu

  • I'm new to icloud and can't see the value. where is a good place to go to find out how to use it? also how can you restore the backup of original files.

    I am new to icloud. where can a I go to learn how to restore backup to my PC?

    See Here...
    iCloud Backup and Restore Overview
    http://support.apple.com/kb/HT4859?viewlocale=en_US
    And Here...
    iCloud Help
    http://help.apple.com/icloud/?lang=en

  • In the Query i don't see the values.....

    Hi,
    I have 2lis_02_itm,2lis_02_scl IS populating 0PUR_001 and 0PUR_C01.
    issue is :
    ODS is updated, but the InfoCube is not !..
    Please help.
    Thanks

    Hi,
    What is the exact issue while loading to the cube?I mean if it is loaded try load and if fails why??
    Please try running the infopackage from the ODS to the CUBE.
    Regards,
    Marc.

Maybe you are looking for

  • ITunes 8 Will Not Play Specific Songs

    Alright so, this has happened to me a few times, but it just happened again and is beginning to anger me. Yesterday I imported a CD, as .MP3 into my iTunes Library. I start playing it, and everything is going fine. This morning I open up iTunes and n

  • IPhone 4S OS 5.0.1 - Music and YouTube pauses for no reason!

    Hi, I am frustrated with a major issue with my iPhone 4S. Recently, when I listen to music on the iPhone it pauses repeateldy with no reason.  It happens every 1-1.5 minute and on every track I tried in my library.  This is not specific to HOW I am l

  • Creating web sites that don't suck with Aperture and iWeb

    My goal was to create a web site that combined a few pages created in iWeb with Aperture web galleries. For something that should be trivial, it's actually rather difficult. Results: http://www.yank.to Only the LA gallery at the top uses the Aperture

  • Include Stock transfer in MRP

    Hello Solution Management, Currently MRP Only check the quantity available for a given  item in the warehouse(s) and suggests to buy/produce it. However it could happen that the stock which need to be used is available in a different warehouse than t

  • Apple id security stuck

    just did the ios 7 update on my iphone 4s and when it got to the apple id security screen it won't let me past it and now i can't get out of it, i tried not entering the security questions by clicking "not now" and also tried entering the info but it