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 JDBC API and when do we use it?
How java can be connected to a database?
Where can I find info, frameworks and example source for writing a JDBC driver?
How many packages are available in jdbc api?
What is ojvm used for?
Why did my jdbc code throw a rollback sqlexception?
What is the difference between executing, executequery, executeupdate in jdbc?
How can I connect mysql or oracle with java?
What are the different types of drivers under jdbc?
What is the role of the jdbc drivermanager class?
what is the current version of JDBC? and explain its features?
What are the 4 types of jdbc drivers?