【发布时间】:2009-04-21 18:27:10
【问题描述】:
有什么方法可以控制 Linq to SQL 发出的“SET”语句?我在 SQL 分析器中看到这些 SET 选项来自 Linq 到 SQL,结果表明“set arithabort off”导致我们的一个 procs 需要 45 秒而不是
-- network protocol: TCP/IP
set quoted_identifier on
set arithabort off
set numeric_roundabort off
set ansi_warnings on
set ansi_padding on
set ansi_nulls on
set concat_null_yields_null on
set cursor_close_on_commit off
set implicit_transactions off
set language us_english
set dateformat mdy
set datefirst 7
set transaction isolation level read committed
谢谢, 乔恩
【问题讨论】:
标签: linq-to-sql