bc_deserialize_row preview and minor changes to sql