Results 1 to 2 of 2

Thread: why the code is not working?

  1. #1
    Contributing Member
    Join Date
    Sep 2006
    Answers
    962

    why the code is not working?

    any idead why the following code doesn't work:

    con = dataSource.getConnection();
    ps = con.prepareStatement("DROP DATABASE DBNAME ");
    rs = ps.executeQuery();


  2. #2
    Moderator
    Join Date
    Jun 2007
    Answers
    2,074

    Re: why the code is not working?

    can u please specify what is the database u are using for the purpose.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact