select id from iteminfo7 where itemid=N'217719' and pid<>0 Order By Sort asc,id asc

执行超时已过期。完成操作之前已超时或服务器未响应。