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 template?
How can I retrieve a String or other object type without creating a new object each time?
How many isolation levels are supported in JDBC and what are they?
How do I connect to jdbc?
Is jdbc faster than hibernate?
How we say that PreparedStatment is Precompiled? where it will be compiled?
What is the limitation of PreparedStatement and how to overcome it?
How many ways that we can view a result set?
How java can be connected to a database?
Describe odbc?
What is connection pooling? What Method and class used for Connection pooling in Java?
What is namedparameterjdbctemplate?