Question

Looking through the documentation I don't see a GUID datatype. Is there a function or something to generate a random GUID? What is it?

Was it helpful?

Solution

$System.Util.CreateGUID()

This doesn't return a data-type however, it's just a string. You can write your own data-type class if you need special validation or conversion between logical/display/ODBC.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top