Unique Identifier SQL Server C# ADO.NET
I have a unique identifier that is generated in a SQL Server database e.g. "460bf55b-7353-4ea6-ba5f-24aca125698b". I would like to know apart from the obvious (string) is there another datatype that I should use to store it. Perhaps a char variable of length 36?
Originally Posted by nivekyenwod
Use System.Guid, at run time an error will be thrown if you try and cast it to anything else
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread