Hi All,
Please Let me know which one is better in terms of performance:-
1.If I am doing dirty Read many time in one procedure
for example:- select column1 from table1 (nolock)where id = 5
2. Doing dirty read at one time and fetch all column which is needed and put into table variable
for Example:- select column1,column2 from table1 (nolock)where id = 5
and put all this in table variable
which one is perform better?
I think 1st option is better because we are doing dirty read and nothing to impact searching data many time
and we have shortage of ram also.
Thanks,