Automatically set proper selectWithLockSQL statement when MSSQLDelegate is selected.