I have a little problem and hoping someone can give me some advice. I am running a SQL command, but it appears it takes this command about 2 mins to return the data as there
Setting command timeout to 2 minutes.
scGetruntotals.CommandTimeout = 120;
but you can optimize your stored Procedures to decrease that time! like