A case of avoiding Eager spool(beyondrelational.com)
submitted by
jacobsebastian(3639) 1 year ago
"When I was looking the plan cache for the queries having “Table spool”, I came across this query.INSERT INTO @Result (OID,Partkey) SELECT OID, dbo.fgetPartKey(OID) FROM fn_getSplit( @P_OIDS,',' ) WHERE OID > 0 Query optimizer used the below plan to execute the above query. " read more...
|category: Database
|Views: 19
tags:
Database another
Everyones tags:
Your Tags: