i would suggest to use TOAD or SQL NAv for generation of TABLE SCRIPTS and source code scripts !! everything is just an click away..