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 is jdbc and its advantages?

1135


What are jdbc?

1015


What is thin driver in jdbc?

1053


Where can I find ojdbc14 jar file?

1061


Where jdbc drivermanager class is used?

1025


Is possible to open a connection to a database with exclusive mode with JDBC?

1010


How can we maintain the integrity of a database by using jdbc?

1154


Under what circumstances, that all four drivers are used?

2468


Name the method, which is used to prepare a callablestatement.

957


Why is odbc needed?

957


What is the query used to display all tables names in SQL Server (Query analyzer)?

1114


What is represented by the connection object?

1131


Explain the role of driver in jdbc.

1054


What are the different classes through which JDBC represents statements?

974


What are different parts of a url?

1051