Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
DECLARE @Contador INT = 1000000
WHILE @Contador > 0
BEGIN
INSERT INTO Cliente(Nome, Sobrenome, Email)
VALUES (
SUBSTRING(REPLACE(CONVERT(VARCHAR(250),NEWID()), '-', ''),1,15),
SUBSTRING(REPLACE(CONVERT(VARCHAR(250),NEWID()), '-', ''),1,15),
LOWER(SUBSTRING(REPLACE(CONVERT(VARCHAR(250),NEWID()), '-', ''),1,30)) + '@email.com'
)
SET @Contador = @Contador - 1
END
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.