how to improve performance of update query in sql?
- by angel ansari
I want to improve the performance of this update query because when it take lots of time to execute:
Qry = "update tab1 set cDate=GetDate() where right('000000000000'+in_num,12)='" & InvNo.PadLeft(12, "0") & "' and (Total-Amount)<>Balance <>Balance and cDate is null"