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 |
What is a jdbc connection pool?
What is the meaning of connection?
Difference between Dirty, commited ,phantom,repeatable reads?
What is jdbc thin client?
What is jdbc driver in java?
How can you retrieve data from the resultset using jdbc?
What is the use of the statement in jdbc?
Why jdbc is used in java?
What is database deadlock ? How can we avoid them?
How can we disable a constraint ?
How many types of resultset are there in jdbc?
How does jdbc work?