Using the SQL Enterprise manager I've successfully exported a databse structure (tables,views,proceedures the lot!) to a xxxxxx.SQL file..

In code I've successfuly automated installation and configuration of MSDE and can connect to it also.

Now the Question... Instead of using endless CREATE TABLE, CREATE STORED PROCEEDURE statements etc etc etc. Is there a way I can process this definition file which contains hundreds of these creation commands in one single procedure?

days of research so far is coming up zip on this vital ability.


er... help...