How do I open and close a DB ?

How do I open and close a database ?
How do I retrieve values from a database, is it retrieved by using sql statement ?
Thank you

How do I open and close a database ?For a start have a look at the tutorials on this website or flick through a JDBC book. Sun's JDBC Tutorial and Reference 2nd ed. is pretty good.
http://developer.java.sun.com/developer/onlineTraining/Database/JDBC20Intro/
How do I retrieve values from a database, is it
retrieved by using sql statement ?Yes, you talk the database with SQL
If you are still having problems, come back
Richard

Similar Messages

  • How can I open and close private browsing using an IPAD mini in IOS 7?

    How can I open and close private browsing using an iPad mini in ios7?

    Tap the '+' to the right of the URL field to open a new tab, and at the bottom left of the screen there should be a 'Private' button - tap that and you can then go to the site that you want to go to

  • How do I open and close VIs from within a VI?

    Ladies and gentlemen,
    I would like to use a VI to open and close other VIs based on user input.  Example:  The first VI will have text that reads:  "Does the car have heated mirrors?"  There will be two buttons: one for "YES" and the other for "NO."
    If the user hits the "NO" button, the current VI will close and a similar VI will open that asks the user the next question, "Are the mirrors lighted?" "YES" or "NO..."
    If the user hits the "YES" button, the current VI will close and another will open that will tell the user to "Activate the heated mirrors" and press a button that will say "NEXT."  At that point, that VI will close, and in two minutes another VI will open and ask the user "Is the driver's side mirror hot?" with another set of "Yes" or "No" buttons.  If the user presses "YES" we will have verified that the heated driver's side mirror is working properly and store that information somewhere .  If the user presses "NO", the VI will close and another VI will open with some kind of repair instruction and a button that says "RETEST" that will rerun the heated mirror test when repairs are completed.
    During the two minutes we are waiting for the mirrors to heat up the program should move on to the next question: "Are the mirrors lighted?" "YES" or "NO..."
    Does anyone know how to manipulate VIs in this way?  Please help!
    Drew

    Instead of opening and closing vi's, just create one main vi with a state machine architecture.  Search for examples on state machines to get a basic understanding of them.  This is pretty complex so I have written an example of how this could be accomplished.  The trick part was the 2 minute timer (my vi is set for 5 seconds for quick testing).  Each state produces a question, and depending on the answer, the next state is inserted into a queue.  You can add more states for more questions and answers.  Notice that the boolean buttons can be hidden if you just want to show one button (like Next) instead of two buttons (Yes and No).  Study the vi and let me know if you have questions.
    - tbob
    Inventor of the WORM Global
    Attachments:
    Q&A.vi ‏166 KB

  • How to automatically open and close an application at specific times?

    Hi,
    I am trying to figure out how to open and close an application at specific times.
    I have set iCal up to open it no problem...however, the application needs you to click yes before entering into it upon boot.
    How do I do this and close the app. I tried creating a workflow in automator, but iCal simply opens the workflow and does not play it. This also does not solve the issue of needing the 'yes' button to be clicked.
    Kind regards,

    Hi,
    I am trying to figure out how to open and close an application at specific times.
    I have set iCal up to open it no problem...however, the application needs you to click yes before entering into it upon boot.
    How do I do this and close the app. I tried creating a workflow in automator, but iCal simply opens the workflow and does not play it. This also does not solve the issue of needing the 'yes' button to be clicked.
    Kind regards,

  • How to automatically open and close collapsable spry panels?

    I designed a collapsable spry panel in DW to open and close automatically, with a 10 sec delay, unless person clicks on tab to close immediately.
    The spry panel opens automatically, but will only close if i click the tab.
    Is there a way for the collapsable spry panels to close automatically?
    [Moved to Spry forum by moderator]

    Arnout,
    I feel certain the answer I need is in the reply you posted here, but I need a little more help to know exactly what to do.  I am using a collapsible panel to show and hide a series of onload panoramic photos near the top of my page.  What I want is for the collapsible panel to be open on some pages and closed on others and I want the animation of the panel closing to be seen too.  I'm thinking this should be achievable with some sort of onload trigger or something.  Currently I've gotten close to what I want by referencing two different .js files (one for the "open" panel state and another for the "closed" panel state), but this doesn't show the graceful animation of the panel closing.  Any ideas on how to achieve what I want?  Here is the url of the test site I'm developing:  http://www.gregdanpartners.com/lrre2/index.html
    Thanks in advance.
    Dan

  • How do I open and close vis programmatically?

    I want to open and close a vi with a switch control. What is the best way to do this?

    Probably the easiest way is to utilize vi server operations. Vi server will allow you to open a vi and close a vi programmatically. This is a great example that is built into LV. THis should give you some ideas. Hope this helps.
    BJD1613
    Lead Test Tools Development Engineer
    Philips Respironics
    Certified LV Architect / Instructor
    Attachments:
    VI_Server_-_Changing_Another_VI's_Properties.llb ‏625 KB

  • How to open and close period?

    Hi all,
    How can I open and close Period in MM module?
    thanks

    Hello,
    First of all read SAP Note 487381. T-code MMPI. If you don't have a backup or a request saved on development client with the previous period, you may try to modify the record on the table MARV (don't try yourself - discuss with a specialist who know your SAP system). If there isn't any records it won't be a problem!
    Good Luck!

  • I have macbook pro. The pinch open and close is not working in firefox 4, but works in safari. How can I get that feature back

    To find pinch open and close and how it works in macbook pro go to the apple icon. Open system preferences and the choose trackpad. Each item is illustrated.

    You can restore the zoom feature by changing the values of the related prefs on the <b>about:config</b> page.
    * browser.gesture.pinch.in -> <b>cmd_fullZoomReduce</b>
    * browser.gesture.pinch.in.shift -> <b>cmd_fullZoomReset</b>
    * browser.gesture.pinch.out -> <b>cmd_fullZoomEnlarge</b>
    * browser.gesture.pinch.out.shift -> <b>cmd_fullZoomReset</b>
    * browser.gesture.pinch.latched -> <b>false</b>
    *http://kb.mozillazine.org/about:config
    See also:
    *pinchy: https://addons.mozilla.org/firefox/addon/pinchy/

  • How to open and close posting period for both material  , n invoicing

    HI
    how to open and close posting period for both material  , n invoicing , AM NEW TO SD , SO ALL DOUBTS I DO POST IN HERE PLEASE DONT MIND

    Hi Sunaina
    Period Open T.code: MMP1
    Period Close T-Code: MMPV
    Automate the opening of MM periods 
    How can you automate the monthly opening of MM periods (transaction MMPV - program RMMMPERI) with 
    SM36?
    RMMMPERI accepts a period/year or a date.
    If you enter a date the period is derived by it.
    1. create a variant and check the attribute 'selection variable' for the parameter date. Then click the button 'Selection variables' and set the current date. Every time this variant is used the parameter DATE is filled with the current date.
    2. create a job for RMMMPERI with the variant created in the preceding step. Set it as periodic.
    If you're not using a fiscal year variant simply schedule it as monthly (to be executed the first day of the month).
    If you are using a fiscal year variant you'd have to define a calendar with only the first day of each period defined as working 
    day and use it in the periodicity restrictions.
    Another possibility:
    Write a very simple ABAP which run daily to check if the period has changed and submit RMMMPERI.
    Reward if useful to u

  • How to restrict S_ALR_87003642 - Open and Close Posting Periods entry/updat

    How to restrict S_ALR_87003642 - Open and Close Posting Periods entry/update for certain group of users
    eg. for Subsidiaries to openr/close periods of their own company only.
    Refer to my screen, Company 1010 and 1060 is for Head Office while 1210 is for our Malaysia Company. How to restrict my Malaysia Company user to open and close only for 1210 and cannot perform any change to other Company.

    Hi,
    I guess you can use company code itself. Talk to your basis guy or else if you have some expertise & Authorization try out PFCG.
    Regards
    Santosh Hegde

  • Safari is slow to open and close. It also slows down other apps while running. Should I reload safari and if so, how do I do so?

    Safari is slow to open and close. It also slows down other apps while it is running. How can I resolve this issue?

    From the Safari menu bar, select
    Safari ▹ Preferences ▹ Extensions
    Turn all extensions OFF and test. If the problem is resolved, turn extensions back ON and then disable them one or a few at a time until you find the culprit.
    If you wish, you may be able to salvage the malfunctioning extension by uninstalling and reinstalling it. That will revert its settings to the defaults.
    If there's no improvement, continue as follows.
    From the Safari menu bar, select
    Safari ▹ Preferences... ▹ Privacy ▹ Remove All Website Data
    and confirm. Test.

  • Downloads - I want to open some PDFs/other file types from the internet but not have to save them; I can't figure out how to view them and close them without having to save them first.

    Downloads - I want to open some PDFs/other file types from the internet but not have to save them. I can't figure out how to view them and close them without having to save them first. When I click on a file, the downloads box opens and depending on the setting, it auto saves the file or asks me where to save the file. What if I don't want to save it anywhere, I just want to view it and close it?

    https://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox
    https://support.mozilla.com/en-US/kb/Opening+PDF+files+within+Firefox

  • How can I enable the center mouse click to open and close tabs in Firefox and Chrome?

    I have a MacBook Pro Model A1261 purchased in 2009. On my other mac at work (and my PC) I can center click to open a link in a new tab while in Chrome or FireFox, and also to close a tab by clicking on it in the tabs at the top. I am using an external USB mouse on my MacBook Pro and when I click the center scroll wheel it brings up the dashboard. I looked in the settings but wasn't able to find a way to change that setting for the center button to open and close tabs in my web browser. Is there a way? Please help!

    You can restore the zoom feature by changing the values of the related prefs on the <b>about:config</b> page.
    * browser.gesture.pinch.in -> <b>cmd_fullZoomReduce</b>
    * browser.gesture.pinch.in.shift -> <b>cmd_fullZoomReset</b>
    * browser.gesture.pinch.out -> <b>cmd_fullZoomEnlarge</b>
    * browser.gesture.pinch.out.shift -> <b>cmd_fullZoomReset</b>
    * browser.gesture.pinch.latched -> <b>false</b>
    *http://kb.mozillazine.org/about:config
    See also:
    *pinchy: https://addons.mozilla.org/firefox/addon/pinchy/

  • How to change the  UDT's Status other than Open and Close ?

    Hello Friends,
                          I have created an table of document type and I want to set the document Status other than open and close for eg.R- Released .
    Thanks in advance.

    I think if you're using a UDF to set this Status for Marketing documents
    First you need to set what item corresponds to each Status level you're tryinf to deploy
    After that you can use SDK to set this new property or Formatted searches to change the Status you re creating, and save the document as a draft during your process and your status.
    But if you're trying to change the fiel Status used on every Marketing document (i mena the system one), you should know that it is impossible 'cause this is an only read system field.
    Hope it helps
    Gabriela

  • Find open and close smart quotes

    Dear scripter,
    Here I am trying find whether all the open double smart quotes(") are closed with close double smart quotes("). Here is my small work to find how many open and close quotes.
    myopenqu=app.activeDocument.search("^{", false, false, "^{");
    myclosequ=app.activeDocument.search("^}", false, false, "^}");
    myopenqulength = myopenqu.length;
    myclosequlength = myclosequ.length;
    if(myopenqulength!=myclosequlength)
    alert("Quotes not matched\n"+ myopenqulength +" Open quotes found\n" + myclosequlength +" Close quotes found")
    It works well, the script just alert if I have 25 open quotes and 23 close quotes
    Quotes not matched
    25 Open quotes found
    23 close quotes found
    Now I want to find the quote set where the 24,25th set close quotes are missing?
    Is there any way to find the misisng quotes
    Thanks in advance
    regards
    a r u l
    vpublish.net

    You'd have to look for unmatched quotes, in this case two cases of two open quotes without an intervening closed quote. This is difficult to script in CS2 because it doesn't have GREP natively and because of footnote problems. In CS3/4 it should be possible. But even then it will work only if you don't have quotes within quotes.
    Peter

Maybe you are looking for

  • Noisy, vibrating DVD/CD/Optical Drive

    Anyone else experiencing this on the 20" Intel? Mine sounds like an old DC3 on take off when I'm reading or burning DVDs and CDs? Cures? Experiences? Can anyone find the Apple Support Phone number for the UK? They've made it invisible. Only bought th

  • XML Incoming Invoices - Send response to Vendor for Failed Messages in XI

    In our system, Vendor are posting XML Invoices to XI using HTTP adapter and then XI is sending invoices to R/3 using IDOC adapter. Is there anyway I can send response message to vendors for the error out invoice messages in XI? Please help  me if som

  • Draw an irregular cylinder-style shape in 3D

    Hi All I am new in java 3D. I got such a situation that I have the following data: point101: (0, 0.3f, 0.4f) // degree:0; radius:0.3f; Z: 0.4f point102: (10, 0.2f, 0.4f) point103: (20, 0.35f,0.4f) point201: (0, 0.35f, -0.4f) point202: (10, 0.32f, -0.

  • "SQL Operation failed" When deleting forms EPMA

    V11.1.2.1 - Planning through EPMA. I have a form which I made to test something that I cant get rid of. I can edit it, I can hide it and I can change any normal setting you would expect on it. When I open it, everything appears as expected. This is h

  • Uninstall of oracle 11gR2 RAC on linux

    Hi all, i am in learning stage, can anybody help me how to uninstall the Oracle 11gR2 RAC on linux. thank you.