Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What does jdbc setmaxrows method do?

957


What is ojdbc?

937


What do you mean by jdbc batch processing and what are the advantages of using jdbc batch processing?

984


Describe the steps needed to execute a sql query using jdbc.

975


What is isolation level? How to set it?

2202


What is the difference between executing, executequery, executeupdate in jdbc?

997


Explain what should be done when a SQL exception is raised?

969


Explain in detail about JDBC and its general features?

955


Describe how the jdbc application works.

1025


What is a JDBC 2.0 DataSource?

970


What is odbc and jdbc?

998


What is the role of jdbc drivermanager class?

1079


What is difference between odbc and jdbc?

1021


Write an sql to find all records having all numeric characters in a field ?

957


What are the new features added to JDBC 4.0?

951