• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How many statements we can open with that particular connection

 
Murali Mohan
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How many statements we can open with that particular connection ?I don't want to close statements.
[ January 20, 2004: Message edited by: Murali Mohan Mohan Murali ]
 
Surendran Velath
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is no limit to the number of statements that can be created from a Connection
 
Jamie Robertson
Ranch Hand
Posts: 1879
MySQL Database Suse
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Surendran Velath:
There is no limit to the number of statements that can be created from a Connection

yes there are, but it is driver implementation specific. Some MSAccess ODBC drivers allow only one statement per connection, while the Oracle thin drivers allow unlimited Connections that are bound only by the maximum number of processes in the init.ora file. Check your database driver documentation for details on maximum connections to your database.
Jamie
 
Joe Ess
Bartender
Posts: 9337
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The JDBC-ODBC bridge is limited to one Statement per Connection, per the JDBC FAQ.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic