Hi There,
Temp tables only exist at the session level, so, to compare them to actual database tables isn't sensible.
To create a structure in the database ideally you would use the Data Dictionary. Another method is to create a .df file (from another database) and load it into the database (using the data dictionary). If you were confident enough then yes you could manually create a .df file (or 'tweak' an existing one) - I'd not recomment this either.
Progress does have system tables, e.g. _file, etc. (which contain details about the tables, etc. which reside in the database), but, I'd 100% say DO NOT use these to create databases/tables on the fly - in fact I only ever READ these. I've never tried creating a schema by creating system tables and am not even sure it can be done.
If you have a test environment and wish to try it then look at the _file and other system tables - I'll stop at this point 'cos I don't want to be responsible for helping you screw up a live database.
Possibly you could clarify why you wish to do this when Progress have created a perfectly decent set of database admin. tools !! If you can get back to me with a valid reason then I'll attempt a test environment for you and provide you with the code. I do think you may be going in the wrong direction though.
Thanks,
Dave.