[Logo]
Forums Register Login
retrive table name in jsp


how do you retrieve all table names form mysql database in jsp

explain it.

please reply me..

thank you.
Hey,

You will need to query the database, information on doing this can be found in the MySQL documentation here: MySQL documentation

Hope that helps.

Sean
A better -because DB-independent- approach would be to use the Connection.getMetaData() method.

I'll move this to the JDBC forum, as it has nothing to do with JSP.
And then we all jump out and yell "surprise! we got you this tiny ad!"
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database


This thread has been viewed 949 times.

All times above are in ranch (not your local) time.
The current ranch time is
Feb 21, 2019 13:21:57.