--- title: "Comparing Bookmarks | Microsoft Docs" ms.custom: "" ms.date: "01/19/2017" ms.prod: sql ms.prod_service: connectivity ms.reviewer: "" ms.technology: connectivity ms.topic: conceptual helpviewer_keywords: - "result sets [ODBC], bookmarks" - "comparing bookmarks [ODBC]" - "bookmarks [ODBC]" ms.assetid: ea347635-fbe3-41c1-b537-4048b7c0f7da author: David-Engel ms.author: v-daenge --- # Comparing Bookmarks Because bookmarks are byte-comparable, they can be compared for equality or inequality. To do so, an application treats each bookmark as an array of bytes and compares two bookmarks byte-by-byte. Because bookmarks are guaranteed to be distinct only within a result set, it makes no sense to compare bookmarks that were obtained from different result sets.