Hi,
I have already created an application similar to this.
Like for example viewing the tables looks like this:
USE [DBNAME];
SELECT table_name FROM INFORMATION_SCHEMA.TABLES
For stored proc:
USE [DBNAME];
SELECT specific_name FROM INFORMATION_SCHEMA.TABLES
etc...... Google can be your friend here :)
All you need to do here is to concat each lines and use some of it as parameters to make it dynamic.
Regards,
Eduard.