sql 2005 profiler跟踪结果SET NO_BROWSETABLE OFF
exec RoomUpd ....      -没加事物
SET NO_BROWSETABLE ON为什么先OFF后ON?

解决方案 »

  1.   

    SET NO_BROWSETABLE ON is an undocumented option performed for Remote Data Service (RDS) ActiveX Data Connector (ADC) connections to SQL Server. Enabling this option makes every SELECT statement act as though FOR BROWSE had been appended to the statement, but bypasses the temporary table that FOR BROWSE normally pipes the results through. The net effect is to add keys and timestamps to the query as hidden output columns so the client can update specific rows (updateable cursors) without separate trips to the server to pick up the metadata and using the query to get the appropriate columns. The NO_BROWSETABLE option in enabled through RDS or ADC-based applications when they elect to use client-side cursors. Using server-side cursors may be a potential workaround for these cases as well. 
      

  2.   

    可不可以用中文回复,谢谢
    SET NO_BROWSETABLE OFF  --释放
    exec RoomUpd ....      -没加事物
    SET NO_BROWSETABLE ON  --系统自动加锁为什么是执行完存储过程后加锁呢?
    还有加锁后看不到后面有SET NO_BROWSETABLE OFF是不是
    说系统加锁后没有释放