Is thr any way to know how many coloumn in  ResultSet object?

hi madam,
I want know how many column in result set when query like this
"select * from table_name"
is thr any way to know
thank in advance

ResultSetMetaData md = rs.getMetaData();[url http://java.sun.com/j2se/1.5.0/docs/api/java/sql/ResultSet.html#getMetaData()]http://java.sun.com/j2se/1.5.0/docs/api/java/sql/ResultSet.html#getMetaData()

Similar Messages

  • Any way of knowing how many times a purchased playlist has been burnt?

    Is there any way of telling how many playlist burns you have left of the 7 allowed for purchased songs (playlists)?
    -Frankie

    hi,
    use STAD transaction.

  • Is there any way to know how many copies of the same game I bought with GCU?

    I've bought Dying Light for ps4 probably twice or three times now.. Do return and rebuys count towards your limit of 3 copies of the same game bought with GCU? Or trade up offers? Or on a minimum of $5 deposit? Or does it have to be fully paid off to count?
    After purchasing the game today and having the employee adjust the price of the game for me since this physical weekly ad showed that Dying Light for GCU members is $31.99, I see on my receipt that there is no unlocked game discount. It just says sale price and price match discount. Now, the first employee tried to adjust it for me and applied my GCU which showed $39.99. When she adjusted it to $31.99, it went down to $25 so I guess GCU was applied even after adjusting it. She then called a manager and adjusted it to $31.99 and I got the game for $33+tax.
    So I'm guessing this purchase didn't count towards my limit since I didn't pay when GCU was applied and when it was adjusted, I don't see GCU game discount on receipt. Someone please confirm for me that this didn't count towards the limit. Thanks
    Solved!
    Go to Solution.

    Hi SomethingNanika,
    First, thanks for being a Gamers Club Unlocked (GCU) member! It certainly sounds like you’re taking advantage of your benefits and I’m happy that you’re so consciously aware of the limitations of said benefits. I’m also happy to provide some details around the purchase limits and what does/doesn’t count towards those limits.
    When you purchase a game and pay for it fully, that counts as one towards your limit. If you return that game, that quantity of one is then removed from your limit. However, if you do a return and a rebuy, it basically counts as a wash, as you’re subtracting one and then adding it right back. Furthermore, simply placing a pre-order deposit doesn’t count towards your limit until the game is paid in full and the pre-order is fulfilled.
    Lastly, if your GCU benefits aren’t applied to a purchase, then you are correct in saying that would not count towards your limit of three titles. Also, here’s a refresher:
    “The limits for using your Unlocked membership will be three (3) copies of a new (i.e not pre-owned) video game software title per platform, per year. Collector's and Limited Editions count towards this title limit. Game of the Year editions, usually released much later and including additional content, do not count towards this limit. Game of the Year versions count as a separate title and have their own limit of three copies per platform, per year.”
     Let us know if you have any other questions!
    Brian|Senior Social Media Specialist | Best Buy® Corporate
     Private Message

  • HT201269 Hi I've been using apple products for sometime now , I have one iPad , & 2 iPhones under my apple Id but that's as I know oh and maybe an old mini iPod I lost but my question is, is there any way to check how many devices are under your apple ID

    Hi I've been using apple products for sometime now , I have one iPad , & 2 iPhones under my apple Id but that's as I know oh and maybe an old mini iPod I lost but my question is, is there any way to check how many devices are under your apple ID ?

    If you have registered all your Apple products, you can see them at:
    https://supportprofile.apple.com

  • Any way to tell how many GB's an iPhone 4S has without setting it up?

    I just got a new iphone 4S (with no box) as a replacement for a broken one from the Apple store.  I have a new iphone 5C that is already set up on my account.  Is there any way to tell how many GB's the 4S has without setting it up since I just want to sell it and want to know how many GB's it has before I list it.

    The same as the one replaced. What does it say on the receipt?

  • Is there a way to know how many hours of work did a project demanded ?

    Is there a way to know how many hours of work did a project demanded (even if it was on multiple days, sessions or cross-working other projects)?
    I am using Adobe Premiere Pro CS6 on windows 7.
    Thaks,
    Mihai

    There is no feature for that in Premiere Pro.  I suggest that you keep a project log either in a spreadsheet, database, Notepad or Wordpad file, or a hand written one.
    You can file a feature request here:
    Adobe - Feature Request/Bug Report Form

  • Is there a way to know how many minutes left from ...

    Is there a way to know how many minutes left from your subscription from the Skype phone app??
    Thanks!

    Hi, Konfuzed,
    Thanks for your inquiry. The Skype Mobile apps look a bit different.  In order for the Skype Community to help you, some more information would be helpful:
    - Hardware you use (phone/tablet brand and model)
    - Its operating system (version and updates installed)
    - Skype version used
    Thanks in advance.
    - Skype Community Moderation Team
    Was your question answered? Please click on the Accept as a Solution link so everyone can quickly find what works! Like a post or want to say, "Thank You" - ?? Click on the Kudos button!
    Trustworthy information: Brian Krebs: 3 Basic Rules for Online Safety and Consumer Reports: Guide to Internet Security Online Safety Tip: Change your passwords often!

  • Is there any way to know how much time swing client is on open state?

    Is there any way to know how much time swing client is on open state? My requirement is to show a message some time after the swing client open i.e., 4-5 hours.

    You could also consider using javax.swing.Timer and java.awt.event.ActionListener (or javax.swing.Action) which takes care of running the actionPerformed code on the EDT.
    db

  • Any way of telling how many subscribers my show has?

    I'm just curious to know how many of my podcast subscribers subscribe via iTunes. Is there any way of telling? My podcasting host provides me with stats that tell me the number of downloads of my show, but I'd like to know how many are coming from the iTunes store.
    Thanks for your help.
    20" iMac Duo Core, iMac DV 400, G3 233, Mac SE, Apple IIc   Mac OS X (10.4.8)  

    Hi - maybe I don't understand exactly what you are doing but if you were able to create a wireless network, you should have been able to password protect it so that no one else can connect to it - am I missing something?
    Regards,
    Charlie

  • Is there a way to know how many tabs are open in the current window?

    I have a habit of keeping lots and lots of tabs open in my Firefox window. Sometimes, I'd like to know how many are open so that I can go through and close some of them if the number is excessive...(or at least excessive by my standards).
    How do I get a quick count of the number of open tabs? Surely I don't have to count them myself, do I?

    Hmm I have an solution for this..
    You can use Tab Counter add-on for this. This add-on shows the number of tab in presently opened window on upper right corner beside minimize.
    you get this from following link:
    [https://addons.mozilla.org/en-us/firefox/addon/tab-counter/]

  • Is there a way to know how many rows were rejected using external tables?

    Hi,
    I'm developing a package that needs to load different kinds of text files into the DB.
    I was wondering whether there's a way of knowing in SQL or PL/SQL how many rows were rejected if my external table is defined with "reject limit unlimited".
    I'm using the external tables in "insert into ... (select ... from external_table where...)"
    sql%rowcount returns the number of inserted rows
    I was hoping for something similar/easy to get the number of rejected rows as well.
    I know I can try to analyze the bad file for the number of records if there's no other way...
    Thanks in advance.

    Pyrocks wrote:
    I was afraid of this answer...
    this is a certain "no there's no other way" or should i wait for other responses (no disrespect - just want to make sure :) )Well the difference would be that this external table will have no complex logic. You would simple read in all the lines from the bad file. The chances that this is broken are therefore very slim compared with your original external table.
    And tehre are many other ways possible. For example you can first copy the file into a real internal (temp) table without using any processing logic but with using an external table. Then do the processing / logic checking of the data and move the data from this temp table into your final data structure. Since you move the data two times the whole process will be slower then the original version.

  • Is there any way to check how many lines left while printing a smartform ?

    Hi ,
      <b> I would like to know if there is any way to find the no.of lines or space left in the page before printing more information</b>. Usually this is done be SAP to check whether there is enough space available or not to print a page protected line type in table. 
    While printing SAP checks for availability of enough space. I would like to check it manually.
    Can anyone advice me on this how to achieve please ? Thanks very much in advance.
    Regards,
    Sreethan

    Yep, thats what I mean... Normally you create,
    Table->
    Main Area/Header/Footer->
      Row1->
        Cell->
          Text
      Row2->
        Cell->
        Text
    Try creating     
    Table->
    Main Area/Header/Footer->
      Folder (page protection enabled)
        Row1->
          Cell->
            Text
        Row2->
         Cell->
          Text
    end folder
    Clear?

  • Any way to check how many text messages remaining?

    Hey guys,
    Wasnt really sure where to post this, but is there any number or website I can go to check how many text messages I have left in the month for my plan? Thanks

    You have to go the the ATT website (https://www.wireless.att.com) and create your account, you can view your minutes and and text messages also but be careful because it does not update in real time, it does not add your text messages right away as you send them

  • Is there any way to see how many downloads or purchases any app on the app store has?

    So basically, I was just wondering if there is any way on the Internet or something, that I can check the amount of downloads or purchases any app has on the app store. Any help would be appreciated.
    Thanks,

    Hi SomethingNanika,
    First, thanks for being a Gamers Club Unlocked (GCU) member! It certainly sounds like you’re taking advantage of your benefits and I’m happy that you’re so consciously aware of the limitations of said benefits. I’m also happy to provide some details around the purchase limits and what does/doesn’t count towards those limits.
    When you purchase a game and pay for it fully, that counts as one towards your limit. If you return that game, that quantity of one is then removed from your limit. However, if you do a return and a rebuy, it basically counts as a wash, as you’re subtracting one and then adding it right back. Furthermore, simply placing a pre-order deposit doesn’t count towards your limit until the game is paid in full and the pre-order is fulfilled.
    Lastly, if your GCU benefits aren’t applied to a purchase, then you are correct in saying that would not count towards your limit of three titles. Also, here’s a refresher:
    “The limits for using your Unlocked membership will be three (3) copies of a new (i.e not pre-owned) video game software title per platform, per year. Collector's and Limited Editions count towards this title limit. Game of the Year editions, usually released much later and including additional content, do not count towards this limit. Game of the Year versions count as a separate title and have their own limit of three copies per platform, per year.”
     Let us know if you have any other questions!
    Brian|Senior Social Media Specialist | Best Buy® Corporate
     Private Message

  • Is there any way to see how many users are connected?

    I was wondering if there was a way to manage the airport express in such a way that you can see all of the current connected computers, and kick one off if need be.

    There is a MacOS utility that can be used to determine the identity (by MAC address only) of all clients connected wirelessly to a Base Station. There is no Windows version of this utility. For information about the MacOS version see:
    flatfeet, "How to see attached devices in AEBS?", 10:02pm Oct 17, 2005 CDT
    The only way you can "kick off" someone is by either implementing WEP or WPA security and a password (which you would need to distribute to all authorized users), or to implement a MAC address based access list (which requires you to enter the MAC address of the wireless interface of all authorized computers).

Maybe you are looking for

  • G3 B&W configuration?

    I have a question about connection speeds with my G3 B&W configuration. The reason I ask is that I do not fully understand connection speeds in the overall view of things. For example I know that the hard drives are ATA-100, FSB I think is 100 mhz, a

  • How to I get my video from my Ipad to my Mac?

    I have some videoes on my Ipad witch I want to put on my Mac, how do I do this?

  • Cannot install agent on servers

    Hello, I'm deploying System Center 2012 R2 Operations Manager. I've already added some Windows servers in monitoring console, but now I can't add new servers. When I try to do this, this message appears : "Client has been disconnected from server. Ca

  • My MacBook suddenly started running slow

    Hello! I've had my MacBook Pro for since 2010 and it suddenly started running slow. This has been going on for a week already. I've restarted my MacBook many times and when I'm not using it I shut it down. I've tried many things to make it run faster

  • Get rid of iTunes TV shows icons "to buy" in apple video player iPad?

    When I look at tv shows in video player on iPad, the window is clogged up with many icons for awful tv shows that Apple wants me to buy. How do I get rid of these?