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 does jdbc setmaxrows method do?
What is ojdbc?
What do you mean by jdbc batch processing and what are the advantages of using jdbc batch processing?
Describe the steps needed to execute a sql query using jdbc.
What is isolation level? How to set it?
What is the difference between executing, executequery, executeupdate in jdbc?
Explain what should be done when a SQL exception is raised?
Explain in detail about JDBC and its general features?
Describe how the jdbc application works.
What is a JDBC 2.0 DataSource?
What is odbc and jdbc?
What is the role of jdbc drivermanager class?
What is difference between odbc and jdbc?
Write an sql to find all records having all numeric characters in a field ?
What are the new features added to JDBC 4.0?