--Sql Server 允许脏读查询sqlselect * from category with(nolock)
--MySql 允许脏读查询sql Mysql没有语法糖,需要原生的sqlSET SESSION TRANSACTION ISOLATION LEVEL READ UNCOMMITTED ;select * from category ;COMMIT ;
注意Session是指允许当前会话脏读,如果没有是是整个MySql实例允许脏读