As I can see in SQL Server Profiler, the first statement issued by SQL Server Agent when it begins to execute a job step, is
select c.name, c.description
from master.dbo.syscharsets c
where c.id = convert(tinyint, databasepropertyex ( db_name() , 'sqlcharset'))
set quoted_identifier off
In my job steps I always need quoted_identifier
to be set to on.
How can I change this behavior?
Default connection setting for the server is set to On.
select @@version
Output:
Microsoft SQL Server 2008 (SP3) - 10.0.5500.0 (Intel X86)
Sep 22 2011 00:28:06
Copyright (c) 1988-2008 Microsoft Corporation
Enterprise Edition on Windows NT 5.2 <X86> (Build 3790: Service Pack 2)
可能的解决方法是在作业开始时添加“ SET QUOTED_IDENTIFIER ON”。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.