Possible Duplicate:
Local and Global temporary table in SQL SERVER
I would like to know if anyone out there can give me a better explanation on the workings of #tables in SQL.
In one of our stored procedures, we create a temp table (#table), wherein data is stored by the currently active stored procedure. Lets call this Sproc1 for arguments sake.
Sproc1 is called by sproc2. After the call, sproc2 collects the data from the #table and then drops the #table, since it will no longer be needed.
That all works well in theory, but what if two or twenty people were to call / execute sproc2 at the exact same time?
So, I'd like to know whether SQL will create a new instance (linked by connection) of the #table for every caller using sproc2 or will there be a conflict?