sql Save GUIDs with hyphens in MSSQL When you're saving a GUID to the database as a string value, you should save them with hyphens. That way, you can later cast is as a uniqueidentifier, which is SQL Server's native GUID type. If you can, you should save it as a