Microsoft KB Archive/306334

= FIX: Objects May Fail to Retain Quoted Identifier Setting When You Use SQL-DMO to Create or Alter Objects =

Article ID: 306334

Article Last Modified on 9/25/2003

-

APPLIES TO


 * Microsoft SQL Server 2000 Standard Edition

-



This article was previously published under Q306334



BUG #: 355242 (SHILOH_BUGS)



SYMPTOMS
When you use SQL Enterprise Manager or other SQL Distributed Management Objects (SQL-DMO) based utilities to create or alter stored procedures, then views, triggers or functions may not retain the desired Quoted Identifier setting.



CAUSE
The SQL-DMO code responsible for the creation and alteration does not properly synchronize the connection set options with the OBJECT PROPERTY of the specified object.



RESOLUTION
To resolve this problem, obtain the latest service pack for Microsoft SQL Server 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

290211 INF: How to Obtain the Latest SQL Server 2000 Service Pack



WORKAROUND
To work around the problem, create or alter the procedures, views, triggers, or functions from a utility like Query Analyzer where you can explicitly control the ANSI NULLS and QUOTED IDENTIFIER settings.



STATUS
Microsoft has confirmed this to be a problem in SQL Server 2000. This problem was first corrected in Microsoft SQL Server 2000 Service Pack 2.

Additional query words: QUOTED_IDENTIFIER

Keywords: kbbug kbfix KB306334

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.