Thanks for the help.
A table has to be produced which can be 'bundled up" with related files and
given to a client. Each table stands alone and cannot contain info from
other process.
"David Portas" <REMOVE_BEFORE_REPLYING_dportas@acm.org> wrote in message
news:1109100834.390168.77840@g14g2000cwa.googlegro ups.com...[color=blue]
> Why would you want to create permanent tables at runtime? What is the
> point have having multiple tables of the same structure? Why not just
> add a user_name column to this table structure and then have all users
> point to the same table?
>
> The way to do what you have asked for is to use dynamic SQL. There are
> lots of reasons why that is a really bad idea but then creating tables
> at runtime seems like a pretty bad idea already!
>
> See:
http://www.sommarskog.se/dynamic_sql.html
> for more info.
>
> P.S. You have used the prefix sp_ for your stored procedure. sp_ is
> reserved for system stored procedures. It has special meaning and
> should not be used except for procs in Master.
>
> --
> David Portas
> SQL Server MVP
> --
>[/color]