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 the jdbc databasemetadata interface?

929


What is phantom read and which isolation level prevents it?

1011


java based application for hospital management

3783


What is a jdbc connection?

843


What is difference between odbc and jdbc?

953


What is com mysql jdbc driver?

884


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

858


What is jdbc connection interface?

943


What is the difference between jdbc and odbc?

943


Expalin the method of calling a stored procedure from jdbc.

922


What are dml and ddl?

941


How do I stop nullpointerexception?

919


How do I retrieve a whole row of data at once, instead of calling an individual ResultSet.getXXX method for each column?

1024


Does jdbc require oracle client?

893


What is drivermanager in jdbc?

924