--Create Table:
CREATE TABLE tblBarCOdes
(
ID int primary key identity,
Keys varchar(50)
)
GO
-- Logic to enter data:
Declare @keys varchar(50)
Declare @counter int
SET @counter = 1;
WHILE(@counter <= 100000)
BEGIN
SELECT @keys = NEWID();
INSERT INTO tblBarCOdes VALUES (@keys);
Set @counter = @counter+1;
ENDIn this code you will learn how to insert large data in table within a minute to test something.
