You can't unless you use dynamic sql but then the table only lasts as long
as the dynamic sql scope. If every table will be unique to that user why not
create a real table instead?
--
Andrew J. Kelly SQL MVP
[quoted text, click to view] "Frank Dulk" <fdulk@bol.com.br> wrote in message
news:OqFFzMxFGHA.2040@TK2MSFTNGP14.phx.gbl...
> How to create a temporary table where the name of the table is the user's
> ID.
>
> #@IDUsuario
>
>