Quantcast
Channel: Questions in topic: "query-tuning"
Viewing all articles
Browse latest Browse all 30

long time to run Update Stmt.

$
0
0
Hi All the Below Query updating nearly 3000 records in a table every day. but its taking too long time to update all records ( 1 Hr-1.30 Min). Any suggestions ? update A set A.ForAddInd = 'Y' from tPagePrintDetails A inner join vPageDetailsAll B on A.intpageid = B.intpageid inner join vAccountDetailsAll C on B.pageAccNumber = C.PageAccNumber where (ISNUMERIC(C.ZipCode5)<>1 OR C.ForAddInd='Y') and C.ZipCode5 is not null and Ltrim(Rtrim(C.ZipCode5)) <>''

Viewing all articles
Browse latest Browse all 30

Trending Articles