UPDATE record set chanid = 1 WHERE chanid = 0;