• Aleksandr Furman (8/27/2008)


    skyline666 (8/27/2008)


    Yes thats a good point, temporary tables only exist for the life of the stored procedure (when prefixed with one #), I temporarily forgot about that ;).

    That's not exactly true. Temp table exists for the life of the connection. Try to rerun same code in the same query window (same connection id) and you'll get an error saying that table already exists. It's a good practice to always clean up after yourself.

    Yes, sorry that is what I meant but didn't say very clearly!