How the information about db(database) can be retrieved?
Answers were Sorted based on User's Feedback
Answer / indrani
using databasemetadata,we can get the data related to
database
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sushant
Database=MySQLdb.connect(db = Database, user =
DatabaseUser, passwd =
DatabasePassword, host = localhost)
DatabaseCursor = Database.cursor()
DatabaseCursor.execute("SELECT * FROM table1 ORDER BY
field1")
RecordData = DatabaseCursor.fetchone()
| Is This Answer Correct ? | 0 Yes | 0 No |
How to connect multiple database in jdbc?
If iam using JDBC API, do I also have to use ODBC?
Does multiple concurrent open statements per connection are supported by the JDBC-ODBC Bridge?
What are the different types of locking in JDBC?
How can you know about drivers and database information ?
what is JDBC?
What are the advantages of collection pools?
Is jdbc a framework?
What is jdbc driver for sql server?
Explain what should be done when a SQL exception is raised?
Diff bet.. Function and Trigger?
How can I write to the log used by DriverManager and JDBC drivers?