Roy Tang

Programmer, engineer, scientist, critic, gamer, dreamer, and kid-at-heart.

Blog Notes Photos Links Archives About

@aleksfelipe retrieve the newest record you’ll be deleting, then “delete from TABLE where PK <= NewestPK”

Posted by under notes at
Also on: twitter / 2

Comments

@roytang my concern is doing 2 separate queries w/ the first 1 being an Nth record query. is this approach already (at least) near optimal?