Hi All,
Have some basic questions about temp and table datatype.
I've just started using the datatype in a Stored Procedure that is called from a web page, and it seems to be working fine but I have one nagging questions that need some clearification.
Lets say two hits to the SP come in at the same time, what will happen? With the table datatype, will SQLServer do all the locking and create seperate sessions for each request?
I've tried this in our test environment and there seems to be a no issue. So does this mean each hit to the SP create a seperate table unique to that session automatically?
Have some basic questions about temp and table datatype.
I've just started using the datatype in a Stored Procedure that is called from a web page, and it seems to be working fine but I have one nagging questions that need some clearification.
Lets say two hits to the SP come in at the same time, what will happen? With the table datatype, will SQLServer do all the locking and create seperate sessions for each request?
I've tried this in our test environment and there seems to be a no issue. So does this mean each hit to the SP create a seperate table unique to that session automatically?