DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: can one conn open multiple statement at the same time?

  1. #1
    Join Date
    Jun 2001
    Posts
    193
    I know we can do things like
    open connection.
    conn.open_statement1.
    do query1
    close statement1
    conn.open_statement2.
    do query2
    close statement2
    close connection.

    can you tell me if i can do following
    open connection.
    conn.open_statement1.
    conn.open_statement2.
    do query1
    do query2
    close statement1
    close statement2
    close connection.

    what i means is using same conn object to open multiple statement at the same time. is it OK?
    guru is on the way!!!!

  2. #2
    Join Date
    Dec 1999
    Posts
    217
    Yes it can as long as there is no lock being placed on the table.

    Chintz

Posting Permissions

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


Click Here to Expand Forum to Full Width