About 437,000 results
Open links in new tab
  1. uniqueidentifier (Transact-SQL) - SQL Server | Microsoft Learn

    Nov 22, 2024 · All column constraints and properties, except IDENTITY, can be used on the uniqueidentifier data type. Merge replication and transactional replication with updating …

  2. Understanding the GUID data type in SQL Server

    GUID is a 16 byte binary SQL Server data type that is globally unique across tables, databases, and servers. The term GUID stands for Globally Unique Identifier and it is used …

  3. t sql - How to generate a Guid in SQL Server? - Stack Overflow

    Dec 20, 2016 · To generate a GUID in SQL Server, use the NEWID() function. It produces a globally unique alphanumeric value of 128 bits, ideal for primary keys or unique identifiers in …

  4. An Essential Guide To SQL Server GUID By Examples

    In this tutorial, you will learn about the SQL Server GUID and how to use the NEWID () function to generate GUID values.

  5. What is a GUID in SQL Server? - GeeksforGeeks

    Jan 5, 2024 · What is a GUID in SQL Server? Globally Unique Identifiers, or GUIDs, are 16-byte (128-bit) binary data types in SQL Server that contain values and are represented by unique …

  6. GUID in SQL Server

    Nov 22, 2024 · Add the NEWID () function to associate GUIDs with your SQL Server results sets and table rows for the databases that you manage. Adapt the T-SQL code illustrated at …

  7. Generate New Guid (uniqueidentifier) in SQL Server

    The NEWID () function in SQL Server is designed to produce a new unique identifier (Guid) each time it is called. This feature proves invaluable when working with databases that require …

  8. How To Generate And Insert New Guid Value In Sql

    Mar 14, 2025 · To generate a new GUID (uniqueidentifier) in SQL Server, you can use the NEWID () function, which produces a random globally unique alphanumeric value of 128 bits, suitable …

  9. What data type is GUID in SQL server? - Stack Overflow

    May 13, 2013 · To use GUID as primary key without sacrificing speed of integer, make the GUID value sequential. Define uniqueidentifier data type as PK, set the default to …

  10. SQL Server NEWID () Function

    The NEWID() function is one of the functions in SQL Server used to generate globally unique identifiers (GUIDs). A GUID is a 128-bit number used to uniquely identify an entity in a …

  11. Some results have been removed
Refresh