Pull out SQL binds (part 1)