Tags

, ,

One line way to get a random strings in SQL.

SELECT Substring(Replace(CONVERT(varchar(255), NEWID()),'-',''),0,10)