Results 1 to 7 of 7

Thread: Call sql view

  1. #1
    Join Date
    Oct 2009
    Posts
    88
    Rep Power
    0

    Default Call sql view

    Is it possible call a sql view in java programme?

  2. #2
    masijade is offline Senior Member
    Join Date
    Jun 2008
    Posts
    2,571
    Rep Power
    10

    Default

    If you mean execute a select on a view, of course.

  3. #3
    RamyaSivakanth's Avatar
    RamyaSivakanth is offline Senior Member
    Join Date
    Apr 2009
    Location
    Chennai
    Posts
    847
    Rep Power
    7

    Default

    yes using jdbc you can do.

    Go thru jdbc tutorial of sun.
    Ramya:cool:

  4. #4
    masijade is offline Senior Member
    Join Date
    Jun 2008
    Posts
    2,571
    Rep Power
    10

    Default

    Quote Originally Posted by RamyaSivakanth View Post
    yes using jdbc you can do.

    Go thru jdbc tutorial of sun.
    Well now then, tell me, what does "call a sql view" mean?

  5. #5
    Join Date
    Oct 2009
    Posts
    88
    Rep Power
    0

    Default

    I created a view at database now i want to call the view and show result of view in java application... and kindly give the steps to select a view from database and show on the screen using java application.

  6. #6
    masijade is offline Senior Member
    Join Date
    Jun 2008
    Posts
    2,571
    Rep Power
    10

    Default

    What you want to do is to perform a select on that view exactly as if it were a normal table. See the JDBC Tutorials. And learn SQL in general.

  7. #7
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,431
    Rep Power
    21

    Default

    Presumably if you managed to create a view, then you understand SQL...so the question strikes me as a bit odd.

Similar Threads

  1. call by value and call by reference in java
    By sandeepsai39 in forum New To Java
    Replies: 7
    Last Post: 08-12-2010, 11:03 AM
  2. How enter this mode-gui/design-view/code-view
    By lse123 in forum NetBeans
    Replies: 0
    Last Post: 02-28-2010, 10:09 PM
  3. A view to help
    By hervey in forum Reviews / Advertising
    Replies: 1
    Last Post: 10-29-2008, 08:37 AM
  4. Updating a view using actions in a seperate view
    By xcallmejudasx in forum Eclipse
    Replies: 0
    Last Post: 10-24-2008, 09:24 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •