How the information about db(database) can be retrieved?

Answers were Sorted based on User's Feedback



How the information about db(database) can be retrieved?..

Answer / indrani

using databasemetadata,we can get the data related to
database

Is This Answer Correct ?    0 Yes 0 No

How the information about db(database) can be retrieved?..

Answer / sushant deepak

sp_helpdb databasename

Is This Answer Correct ?    1 Yes 1 No

How the information about db(database) can be retrieved?..

Answer / 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

More JDBC Interview Questions

What is the benefit of having jdbcrowset implementation?

0 Answers  


How to test jdbc connection to sql server?

0 Answers  


I have getting problem to calling stored procedure from Mysql through JSP. Please help me.

1 Answers  


What is the difference between ojdbc6 and ojdbc7?

0 Answers  


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

0 Answers  


How to achieve JDBC Connection Pooling using JDBC DataSource and JNDI in Apache Tomcat Server?

0 Answers  


What is Type-1 Driver and when this driver is used?

3 Answers  


What is jdbc type?

0 Answers  


What does the connection object represents?

0 Answers  


what is connection pooling?

6 Answers   Wipro,


What is JDBC API and when do we use it?

0 Answers  


If you are given a choice to implement the code to either insert a record or update if already exist, which approach will you follow ?

0 Answers  


Categories