NewGuid SQL FUNCTION The newguid() function does not take any parameters and simply generates and returns a new guid. Check MSDN for more informaton on Guid class. SELECT NewGuid(); A Guid looks like this 0f8fad5b-d9cb-469f-a165-70867728950e and another guid 7c9e6679-7425-40de-944b-e07fc1f90ae7