I would like to recreate the way ms sql server creates a GUID via the newid()
function.
The GUID generated through that function is of the format: 7792AF32-2AB9-4681-98FF-698316ED168C
for example.
I am looking to reproduce the exact logic of construction of the newid()
function of MS-SQL-SERVER (I am not using Native SQL and do not want to)
EDIT: My need is to use it within doctrine to populate a mssqlserver database.