Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 1.49 KB

File metadata and controls

27 lines (22 loc) · 1.49 KB
title Guidelines and Limitations of DiffGrams in SQLXML | Microsoft Docs
ms.custom
ms.date 03/06/2017
ms.prod sql-server-2014
ms.reviewer
ms.technology
ms.topic reference
helpviewer_keywords
DiffGrams [SQLXML], about DiffGrams
ms.assetid cf8689c4-2a63-4d05-b202-21b5ff187d7f
author MightyPen
ms.author genemi
manager craigg

Guidelines and Limitations of DiffGrams in SQLXML

Remember the following when using DiffGrams with SQLXML 4.0:

  • Binary large object (BLOB) types like text/ntext and images should not be used in the <diffgr:before> block in when working with DiffGrams, because this will include them for use in concurrency control. This can cause problems with [!INCLUDEssNoVersion] because of the limitations on comparison for BLOB types. For example, the LIKE keyword is used in the WHERE clause for comparing between columns of the text data type; however, comparisons will fail in the case of BLOB types where the size of the data is greater than 8K.

  • Special characters in ntext data can cause problems with SQLXML 4.0 because of the limitations on comparison for BLOB types. For example, the use of "[Serializable]" in the <diffgr:before> block of a DiffGram when used in concurrency checking of a column of ntext type will fail with the following SQLOLEDB error description:

    Empty update, no updatable rows found   Transaction aborted