I need to create a list of GUID's in SQL Server 2008 R2 and I am using the NEWID()
function.
This is what I am trying but I just get only one ID:
SELECT TOP 100 NEWID()
I am new to SQL Server and I don't know if there is a way to do that or a way to create a loop for do it.
I don't need to persist those GUID's I just want to show them on screen.