How the information about db(database) can be retrieved?
Answer Posted / 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 |
Post New Answer View All Answers
What are the types of statements in jdbc?
Differentiate between stored procedure and functions?
What are the steps to connect to the database in java?
Which constraint cannot be specified as an explicit constraint and should be specified with the column only ?
What are the considerations for deciding on transaction boundaries?
What is jdbc and why is it required?
List some new features available in jdbc 4.0?
How can I connect mysql or oracle with java?
How does jdbc work?
How to update a resultset programmatically?
What are the differences between execute, executequery, and executeupdate?
Why is jdbc needed?
Is jdbc secure?
Is jdbc a framework?
What is “dirty read” in JDBC? Which isolation level prevents dirty read?