Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB General » View Thread |
Messages 1 to 2 of 2 total |
CURRENT GUID |
Wed, Aug 29 2018 1:31 PM | Permanent Link |
Jorge Ortiz Rianxeira S.A. | Hello,
A question... In a table, with a column call ID, GUID type, autogenerated, "CURRENT_GUID"? Could this columm be the "Primary Key"? This CURRENT_GUID will always be "UNIQUE" no matter wath in all cases, all time? I am asking this, because, if you have a table with autogenerated id "integer" as indentity, if for any reason and you "empty" the table, the new record with start with 1 againg. it makes more sense to me, having this GUID column as primary. thanks for your comments. |
Thu, Aug 30 2018 3:48 AM | Permanent Link |
Roy Lambert NLH Associates Team Elevate | Jorge
GUIDs are meant to be globally unique so yes it should be unique in all cases, all time. The universe being what it is I wouldn't guarantee that but have a look at these https://stackoverflow.com/questions/2977593/is-it-safe-to-assume-a-guid-will-always-be-unique https://stackoverflow.com/questions/39771/is-a-guid-unique-100-of-the-time and yes, GUIDs can be the primary ID Roy Lambert |
This web page was last updated on Tuesday, September 17, 2024 at 04:19 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |