About 75 results
Open links in new tab
  1. database design - What is uniqueidentifier type? - Stack Overflow

    Jan 15, 2011 · In SQL Server, a uniqueidentifier is just another data type, like int, varchar, etc., but its characteristics make it suitable as a primary key.

  2. Convert varchar to uniqueidentifier in SQL Server

    Jul 19, 2016 · Msg 8169, Level 16, State 2, Line 1 Conversion failed when converting from a character string to uniqueidentifier. The same queries using a hyphenated uniqueidentifier work fine but the …

  3. What is the use of uniqueidentifier in SQL Server?

    Let's say you have a bunch of different identical databases for different clients and then a central database that houses some information from all clients. If you need uniqueness on the table in the …

  4. SQL - uniqueidentifier in where clause - Stack Overflow

    Jun 29, 2023 · I am using SSMS v18. SQL Server version: Microsoft SQL Azure RTM 12.0.200.8 I have 3500 unique identifiers to compare or to keep in where clause. select * from tableName where …

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

    Dec 20, 2016 · I need to create an Id as Guid in SQL(no identity) How I can do this? I defined the Id as uniqueidentifier but what is save in Db is 00000000-0000-0000-0000-000000000000

  6. GUID: varchar(36) versus uniqueidentifier - Stack Overflow

    Nov 17, 2016 · It's much better for comparisons and specially performance related issues as well as easy to get unique default value etc. I would use uniqueidentifier unless I need to use varchar for …

  7. How to generate and manually insert a uniqueidentifier in SQL Server ...

    Jun 24, 2013 · I'm trying to manually create a new user in my table but am finding it impossible to generate a "UniqueIdentifier" type without the code throwing an exception... Here is my …

  8. How Uniqueidentifier in SQL Server is always a unique value globally ...

    Oct 16, 2016 · As per microsoft documentation on UniqueIdentifier, This value is always a unique globally beacuse it's based on network clock and CPU clock time and on the other hand the same …

  9. SQL Server: ISNULL on uniqueidentifier - Stack Overflow

    Aug 29, 2015 · SQL Server: ISNULL on uniqueidentifier Asked 10 years, 4 months ago Modified 3 years, 2 months ago Viewed 58k times

  10. sql server - Is UNIQUEIDENTIFIER an auto-generated number when ...

    Apr 2, 2016 · Is UNIQUEIDENTIFIER an auto generated number or not? What do you ask us? You have a look at the table definition and see whether a default that sets a new uniqueidentifier is defined or …