Query in callable statement

Discussion in 'Java' started by sanjeev.ssingh@gmail.com, Oct 10, 2006.

  1. Guest

    Can i pass a query in callable statement ?

    Thanks
    , Oct 10, 2006
    #1
    1. Advertising

  2. Yes, that is what callable statements are for.

    -cheers,
    Manish
    Manish Pandit, Oct 10, 2006
    #2
    1. Advertising

  3. wrote:
    > Can i pass a query in callable statement ?


    Normally you use PreparedStatement for queries
    and CallableStatement for stored procedure calls.

    Why do you want to use CallableStatement for query ?

    Arne
    =?ISO-8859-1?Q?Arne_Vajh=F8j?=, Oct 10, 2006
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Steve Gilbert
    Replies:
    3
    Views:
    2,254
    Gordon Beaton
    Apr 14, 2004
  2. ChaosKCW
    Replies:
    1
    Views:
    286
    Larry Bates
    Feb 25, 2006
  3. lightning

    mysql callable statement problem

    lightning, Feb 11, 2007, in forum: Java
    Replies:
    1
    Views:
    777
    petersprc
    Feb 11, 2007
  4. exiquio
    Replies:
    2
    Views:
    541
    exiquio
    Oct 7, 2008
  5. Ulrich Eckhardt
    Replies:
    6
    Views:
    107
    Peter Otten
    Jul 12, 2013
Loading...

Share This Page