-
Notifications
You must be signed in to change notification settings - Fork 0
/
TestTableAndTestData.sql
51 lines (39 loc) · 1.58 KB
/
TestTableAndTestData.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/*
Experiment table with easy data populate for playing with code
*/
CREATE TABLE zztestzz (
FirstName VARCHAR(10) NULL,
LastName VARCHAR(10) NULL,
Phone VARCHAR(10) NULL,
EmailAddress VARCHAR(200) NULL
)
DECLARE @cnt INT
SET @cnt = 0
-- Determine how many rows of each you want here
WHILE @cnt < 10
BEGIN
INSERT INTO zztestzz
-- Copy and past the values below to do insert after insert in this zztestzz table
VALUES ('Jane','Doe','8005552121','[email protected]')
SET @cnt = @cnt + 1
END
/* VALUES List:
VALUES ('John','Doe','8005551212','[email protected]')
VALUES ('Jane','Doe','8005552121','[email protected]')
VALUES ('John','Smith','8001112222','[email protected]')
VALUES ('Jane','Smith','8002223333','[email protected]')
VALUES ('Kacy','Johnson','8001234567','[email protected]')
VALUES ('David','Johnson','8004445555','[email protected]')
VALUES ('Joe','Joe','8000000000','[email protected]')
VALUES ('Batman','NoLastName','Unlisted','[email protected]')
VALUES ('RealBatman','4Realsies',NULL,'[email protected]')
VALUES ('Scott','Adams','8001001000','[email protected]')
VALUES ('Mark','Bill','8002002000','[email protected]')
Or add custom ones:
VALUES ('','','','@ournonexistentdomain.com')
*/
-- Check it
SELECT *
FROM zztestzz
-- Clean up
DROP TABLE zztestzz