Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

benefit and limitation of temp table in sql server 2008

$
0
0

I have a datagrid in front end of asp.net . when user select a row it shows another gridview (multiple row ) where user have to put some data. when user click CLOSE button  i have to keep all data of 2nd gridview in reference with 1st gridview row id.  Same process for each row of 1st gridview. If i will keep all the record in a datatable in view state and finally save the data in database table when final save is clicked then the process may be very slow due to large data in view state. So i think to store data in temp datable in database for each CLOSE click. For this porpose which temp table i should use

1. Local temporary tables

2. Global temporary tables

3. Normal tables.

Multiple user may do the same thing same time.  Please help me.

Thanks


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>