Hi,
I've seen that the new 'table' data type in SQL Server 2000 is a better option than temporary tables because the data is kept in memory for the duration of the query (stored proecedure or batch).
Although this sounds good to me as far as speed goes, I'm a bit concerned about memory.
If I have a stored procedure that is being used by a lot of concurrent users, it seems obvious that I will eventually run into memory problems.
Has anyone experienced anything like this? Are the resources used to set up the temp table still more of a hit on the server than the equivalent amount of activity on local tables?
Thanks
Marcus
I've seen that the new 'table' data type in SQL Server 2000 is a better option than temporary tables because the data is kept in memory for the duration of the query (stored proecedure or batch).
Although this sounds good to me as far as speed goes, I'm a bit concerned about memory.
If I have a stored procedure that is being used by a lot of concurrent users, it seems obvious that I will eventually run into memory problems.
Has anyone experienced anything like this? Are the resources used to set up the temp table still more of a hit on the server than the equivalent amount of activity on local tables?
Thanks
Marcus