MarnickTelenet
Programmer
Does anyone know if SQL2005 is better than SQL2000 with the table variables (DECLARE @tblTable TABLE ...)?
Table vars are "SQL-tables in memory".
If you put to much data in a table var so the table var needs more memory than available/free, they say the table var will use the tempdb.
In that case, what is the name of that tempdb-table that will be created? Is that name on every run the same name?
In that case, is there a chance that two concurrent users of the same stored-procedure that (of course) uses the same table var locks each others tempdb-table because two concurrent users are using the same tempdb-table that is created because of not enough memory available?
Table vars are "SQL-tables in memory".
If you put to much data in a table var so the table var needs more memory than available/free, they say the table var will use the tempdb.
In that case, what is the name of that tempdb-table that will be created? Is that name on every run the same name?
In that case, is there a chance that two concurrent users of the same stored-procedure that (of course) uses the same table var locks each others tempdb-table because two concurrent users are using the same tempdb-table that is created because of not enough memory available?