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 |
Which jdbc driver is the fastest driver?
If you are given a choice to implement the code to either insert a record or update if already exist, which approach will you follow ?
What is a Connection?
How many types of jdbc drivers are available?
What is JDBC Savepoint? How to use it?
What is a jdbc connection pool?
What is the difference between Union, Unionall ?
What does the connection object represents?
how can connection with oracle10g with java
What are the differences between execute, executequery, and executeupdate?
What are the ddl statements?
How does JDBC differ from ODBC?