Plugin or function to fetch table columns and column datatypes?

Hi,

 I have a requirement wherein I need to select a table dynamically from my DB. Once I select a table, it should display the column names and the datatype of each column.

 Is there any function or plugin for this? Or can anyone suggest some work around for this?

Thanks,
Arun.

 Discussion posts and replies are publicly visible