s4:winsdb - Substitute LDB result numbers with constants