Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 Transact-SQL (2008)
 Syntax

Author  Topic 

bvanyangu
Starting Member

20 Posts

Posted - 2014-04-03 : 03:42:38
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1397, NULL, 1234, 1067, 1, N'y', CAST(0x0000A1600027D581 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1398, NULL, 1455, 1068, 9999997, N'y', CAST(0x0000A161010A4318 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1399, NULL, 0, 1068, 1, N'n', CAST(0x0000A161010BA846 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1400, NULL, 0, 1068, 2, N'n', CAST(0x0000A161010E8BAB AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1401, NULL, 1456, 1069, 9999997, N'y', CAST(0x0000A161011EA754 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1402, NULL, 1457, 1070, 2, N'y', CAST(0x0000A163000E7EDA AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1403, NULL, 1457, 1068, 3, N'n', CAST(0x0000A163000F561A AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1404, NULL, 0, 1068, 4, N'n', CAST(0x0000A163001582DF AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1405, NULL, 1458, 1070, 1, N'y', CAST(0x0000A163001C8FC8 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1406, NULL, 1319, 1068, 6, N'n', CAST(0x0000A16400153621 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1407, NULL, 1459, 1015, 6, N'y', CAST(0x0000A16400C7D151 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1408, NULL, 1460, 1071, 9999997, N'y', CAST(0x0000A16400E8DF13 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1409, NULL, 1458, 1071, 1, N'y', CAST(0x0000A16400F9906F AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1410, NULL, 1457, 1071, 2, N'y', CAST(0x0000A16400FAA7C6 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1411, NULL, 1461, 1070, 5, N'y', CAST(0x0000A164013AC29E AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1412, NULL, 1461, 1061, 3, N'y', CAST(0x0000A164013B0C33 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1413, NULL, 1462, 1070, 7, N'y', CAST(0x0000A1640185C1B5 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1414, NULL, 1462, 1061, 4, N'y', CAST(0x0000A164018937FD AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1415, NULL, 1463, 1070, 8, N'y', CAST(0x0000A1650004458A AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1416, NULL, 1463, 1061, 5, N'y', CAST(0x0000A165000602F0 AS DateTime), NULL)

print 'Processed 400 total records'
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1417, NULL, 1464, 1070, 9, N'y', CAST(0x0000A165000CFB64 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1418, NULL, 1465, 1070, 10, N'y', CAST(0x0000A1650010209B AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1419, NULL, 1390, 1062, 2, N'y', CAST(0x0000A1650019ABFC AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1420, NULL, 1466, 1070, 11, N'y', CAST(0x0000A165001A7E14 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1421, NULL, 1467, 1070, 12, N'y', CAST(0x0000A165001AC9C0 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1422, NULL, 1468, 1070, 13, N'y', CAST(0x0000A165001B155B AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1423, NULL, 1469, 1070, 14, N'y', CAST(0x0000A165001B658D AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1424, NULL, 1466, 1062, 3, N'y', CAST(0x0000A1650022ED10 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1425, NULL, 1467, 1062, 4, N'y', CAST(0x0000A16500231020 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1426, NULL, 1468, 1062, 5, N'y', CAST(0x0000A165002313EA AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1427, NULL, 1469, 1062, 6, N'y', CAST(0x0000A165002353D4 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1428, NULL, 1464, 1062, 7, N'y', CAST(0x0000A1650024F6D2 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1429, NULL, 1465, 1062, 8, N'y', CAST(0x0000A1650025FA7F AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1431, NULL, 1421, 1062, 10, N'y', CAST(0x0000A16500292E4F AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1432, NULL, 1422, 1062, 11, N'y', CAST(0x0000A1650029FBED AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1433, NULL, 1470, 1035, 7, N'y', CAST(0x0000A169015EBD81 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1434, NULL, 1470, 1069, 1, N'y', CAST(0x0000A1690160172C AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1435, NULL, 1471, 1011, 12, N'y', CAST(0x0000A169016448A5 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1436, NULL, 1471, 1069, 2, N'y', CAST(0x0000A1690165439A AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1437, NULL, 1096, 1069, 3, N'y', CAST(0x0000A16901667831 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1438, NULL, 1205, 1069, 4, N'y', CAST(0x0000A169016AA431 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1439, NULL, 1473, 1003, 11, N'y', CAST(0x0000A169016D0871 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1440, NULL, 1473, 1069, 5, N'y', CAST(0x0000A169016F1706 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1441, NULL, 1474, 1012, 9, N'y', CAST(0x0000A16901728052 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1442, NULL, 1474, 1069, 6, N'y', CAST(0x0000A16901733ABA AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1443, NULL, 1287, 1069, 7, N'y', CAST(0x0000A1690174785C AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1444, NULL, 1131, 1069, 8, N'y', CAST(0x0000A16901776DCE AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1445, NULL, 1475, 1070, 15, N'y', CAST(0x0000A16B00E0A23A AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1446, NULL, 1476, 1000, 5, N'y', CAST(0x0000A17300BC8E36 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1447, NULL, 1477, 1012, 10, N'y', CAST(0x0000A176011B8D31 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1448, NULL, 1478, 1072, 1, N'y', CAST(0x0000A176011EDE8B AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1449, NULL, 1479, 1045, 14, N'y', CAST(0x0000A176012E394D AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1450, NULL, 1480, 1073, 9999997, N'y', CAST(0x0000A1770146DA75 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1451, NULL, 1481, 1074, 9999997, N'y', CAST(0x0000A17701472C1D AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1452, NULL, 1482, 1075, 9999997, N'y', CAST(0x0000A17701478BEA AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1453, NULL, 1143, 1073, 1, N'y', CAST(0x0000A1770186F59D AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1454, NULL, 1217, 1073, 2, N'y', CAST(0x0000A1770187AEDF AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1455, NULL, 1222, 1073, 3, N'y', CAST(0x0000A17701881FFE AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1456, NULL, 1141, 1073, 4, N'y', CAST(0x0000A17701886F73 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1457, NULL, 1145, 1073, 5, N'y', CAST(0x0000A1770188C766 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1458, NULL, 1149, 1073, 6, N'y', CAST(0x0000A17701890901 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1459, NULL, 1147, 1073, 7, N'y', CAST(0x0000A17701896906 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1460, NULL, 1139, 1073, 8, N'y', CAST(0x0000A1770189C639 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1461, NULL, 1318, 1073, 9, N'y', CAST(0x0000A177018A17FC AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1462, NULL, 1383, 1073, 10, N'y', CAST(0x0000A177018A94CE AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1463, NULL, 1137, 1073, 11, N'y', CAST(0x0000A177018AED92 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1464, NULL, 1484, 1072, 2, N'y', CAST(0x0000A1780001B036 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1465, NULL, 1484, 1073, 12, N'y', CAST(0x0000A1780002B088 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1466, NULL, 1485, 1072, 3, N'y', CAST(0x0000A17800094EA2 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1467, NULL, 1485, 1073, 13, N'y', CAST(0x0000A178000A909B AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1468, NULL, 1486, 1041, 4, N'y', CAST(0x0000A17A0119F3A1 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1469, NULL, 1489, 1041, 5, N'y', CAST(0x0000A17A011A5695 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1470, NULL, 1490, 1041, 6, N'y', CAST(0x0000A17A011A9939 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1471, NULL, 1487, 1041, 7, N'y', CAST(0x0000A17A011B2CD0 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1472, NULL, 1491, 1041, 8, N'y', CAST(0x0000A17A011B6428 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1473, NULL, 1488, 1041, 9, N'y', CAST(0x0000A17A011BDFC9 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1474, NULL, 1492, 1041, 10, N'y', CAST(0x0000A17A011C7721 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1475, NULL, 1493, 1041, 11, N'y', CAST(0x0000A17A011CA5C6 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1476, NULL, 1483, 1042, 3, N'y', CAST(0x0000A17A011CD1A1 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1477, NULL, 1496, 1041, 12, N'y', CAST(0x0000A17A011D9411 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1478, NULL, 1497, 1041, 13, N'y', CAST(0x0000A17A011DBD66 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1479, NULL, 1501, 1041, 14, N'y', CAST(0x0000A17A011DC212 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1480, NULL, 1499, 1041, 15, N'y', CAST(0x0000A17A011E7BA4 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1481, NULL, 1500, 1041, 16, N'y', CAST(0x0000A17A011EAB89 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1482, NULL, 1503, 1041, 17, N'y', CAST(0x0000A17A011EB023 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1483, NULL, 1502, 1041, 18, N'y', CAST(0x0000A17A011F70A1 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1484, NULL, 1498, 1041, 19, N'y', CAST(0x0000A17A011F9EA7 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1485, NULL, 1494, 1041, 20, N'y', CAST(0x0000A17A011FA255 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1486, NULL, 1504, 1041, 21, N'y', CAST(0x0000A17A01204F87 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1487, NULL, 1495, 1041, 22, N'y', CAST(0x0000A17A012075B6 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1488, NULL, 1505, 1041, 23, N'y', CAST(0x0000A17A0120AC7A AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1489, NULL, 1506, 1041, 24, N'y', CAST(0x0000A17A0122452B AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1490, NULL, 1507, 1041, 25, N'y', CAST(0x0000A17A012275BF AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1491, NULL, 1509, 1041, 26, N'y', CAST(0x0000A17A01227AAA AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1492, NULL, 1508, 1042, 4, N'y', CAST(0x0000A17A01236025 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1493, NULL, 1510, 1042, 5, N'y', CAST(0x0000A17A012390EE AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1494, NULL, 1511, 1042, 6, N'y', CAST(0x0000A17A01239558 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1495, NULL, 1517, 1042, 7, N'y', CAST(0x0000A17A0124C831 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1496, NULL, 1514, 1042, 8, N'y', CAST(0x0000A17A0124EF33 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1497, NULL, 1512, 1042, 9, N'y', CAST(0x0000A17A0124F356 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1498, NULL, 1516, 1042, 10, N'y', CAST(0x0000A17A0124F7ED AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1499, NULL, 1515, 1042, 11, N'y', CAST(0x0000A17A0126388E AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1500, NULL, 1519, 1042, 12, N'y', CAST(0x0000A17A012713C1 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1501, NULL, 1520, 1042, 13, N'y', CAST(0x0000A17A01273CF0 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1502, NULL, 1518, 1042, 14, N'y', CAST(0x0000A17A01274135 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1503, NULL, 1523, 1042, 15, N'y', CAST(0x0000A17A01274537 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1504, NULL, 1521, 1042, 16, N'y', CAST(0x0000A17A0127AA9B AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1505, NULL, 1513, 1042, 17, N'y', CAST(0x0000A17A01482C5F AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1506, NULL, 1522, 1042, 18, N'y', CAST(0x0000A17A01489671 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1507, NULL, 1528, 1070, 16, N'y', CAST(0x0000A17A0149200B AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1508, NULL, 1525, 1042, 19, N'y', CAST(0x0000A17A01497ECD AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1509, NULL, 1527, 1042, 20, N'y', CAST(0x0000A17A0149AE54 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1510, NULL, 1524, 1042, 21, N'y', CAST(0x0000A17A0149E6F5 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1511, NULL, 1526, 1042, 22, N'y', CAST(0x0000A17A014A2595 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1515, NULL, 1529, 1076, 1, N'y', CAST(0x0000A1D8013BFC3C AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1516, NULL, 1530, 1076, 2, N'y', CAST(0x0000A1D8013E0C70 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1517, NULL, 1531, 1076, 3, N'y', CAST(0x0000A1D801407BF9 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1518, NULL, 1533, 1077, 2, N'y', CAST(0x0000A1E201323999 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1519, NULL, 1534, 1077, 3, N'n', CAST(0x0000A1E201388D07 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1520, NULL, 1535, 1077, 4, N'y', CAST(0x0000A1E800F71068 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1521, NULL, 1536, 1077, 1, N'n', CAST(0x0000A1FC01474445 AS DateTime), NULL)

print 'Processed 500 total records'
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1522, NULL, 1537, 1077, 5, N'y', CAST(0x0000A20C01887730 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1523, NULL, 1538, 1077, 6, N'y', CAST(0x0000A20C0188952D AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1524, NULL, 1539, 1077, 7, N'y', CAST(0x0000A20C0188D5D7 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1525, NULL, 1540, 1077, 8, N'y', CAST(0x0000A20C0188FA54 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1526, NULL, 1541, 1077, 9, N'y', CAST(0x0000A20C01896D2C AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1527, NULL, 1542, 1077, 10, N'y', CAST(0x0000A20C01898894 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1528, NULL, 1543, 1077, 11, N'y', CAST(0x0000A20C0189CEAA AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1529, NULL, 1544, 1077, 12, N'y', CAST(0x0000A20C0189F45E AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1530, NULL, 1545, 1077, 13, N'y', CAST(0x0000A20C018A29C8 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1531, NULL, 1546, 1078, 1, N'y', CAST(0x0000A217011173D7 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1532, NULL, 1585, 1078, 12, N'y', CAST(0x0000A2170111A338 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1533, NULL, 1562, 1078, 11, N'y', CAST(0x0000A2170111BF77 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1534, NULL, 1547, 1079, 1, N'y', CAST(0x0000A2170111EA8B AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1535, NULL, 1563, 1079, 9, N'y', CAST(0x0000A21701121C41 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1536, NULL, 1588, 1079, 10, N'y', CAST(0x0000A21701124709 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1537, NULL, 1548, 1080, 1, N'y', CAST(0x0000A2170112603C AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1538, NULL, 1564, 1080, 7, N'y', CAST(0x0000A21701127478 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1539, NULL, 1583, 1080, 8, N'y', CAST(0x0000A2170112BFB3 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1540, NULL, 1549, 1081, 1, N'y', CAST(0x0000A2170112E150 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1541, NULL, 1565, 1081, 12, N'y', CAST(0x0000A2170112F8BB AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1542, NULL, 1580, 1081, 13, N'y', CAST(0x0000A21701130B8E AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1543, NULL, 1550, 1082, 1, N'y', CAST(0x0000A21701132345 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1544, NULL, 1566, 1082, 12, N'y', CAST(0x0000A2170113E14B AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1545, NULL, 1590, 1082, 13, N'y', CAST(0x0000A21701140294 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1546, NULL, 1551, 1083, 1, N'y', CAST(0x0000A2170114213D AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1547, NULL, 1567, 1083, 7, N'y', CAST(0x0000A217011439F1 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1548, NULL, 1577, 1083, 8, N'y', CAST(0x0000A21701145268 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1549, NULL, 1552, 1084, 1, N'y', CAST(0x0000A2170114A60C AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1550, NULL, 1568, 1084, 2, N'y', CAST(0x0000A2170114D498 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1551, NULL, 1586, 1084, 3, N'y', CAST(0x0000A2170114EF20 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1552, NULL, 1554, 1085, 1, N'y', CAST(0x0000A21701150F4C AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1553, NULL, 1569, 1085, 2, N'y', CAST(0x0000A21701152E70 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1554, NULL, 1592, 1085, 3, N'y', CAST(0x0000A21701155959 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1555, NULL, 1555, 1086, 1, N'y', CAST(0x0000A2170115772C AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1556, NULL, 1570, 1086, 2, N'y', CAST(0x0000A21701158EBA AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1557, NULL, 1584, 1086, 3, N'y', CAST(0x0000A2170115D247 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1558, NULL, 1556, 1087, 1, N'y', CAST(0x0000A2170115FC7B AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1559, NULL, 1571, 1087, 2, N'y', CAST(0x0000A217011611C8 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1560, NULL, 1587, 1087, 3, N'y', CAST(0x0000A217011630A1 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1561, NULL, 1557, 1088, 1, N'y', CAST(0x0000A217011654DF AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1562, NULL, 1572, 1088, 2, N'y', CAST(0x0000A2170116930E AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1563, NULL, 1558, 1089, 1, N'y', CAST(0x0000A2170116BD0B AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1564, NULL, 1573, 1089, 2, N'y', CAST(0x0000A2170116D346 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1565, NULL, 1591, 1089, 3, N'y', CAST(0x0000A2170117137A AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1566, NULL, 1559, 1090, 1, N'y', CAST(0x0000A21701176A7B AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1567, NULL, 1574, 1090, 2, N'y', CAST(0x0000A217011794FA AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1568, NULL, 1582, 1090, 3, N'y', CAST(0x0000A2170117AEB2 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1569, NULL, 1560, 1091, 1, N'y', CAST(0x0000A217011820B4 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1570, NULL, 1575, 1091, 2, N'y', CAST(0x0000A21701183A10 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1571, NULL, 1581, 1091, 3, N'y', CAST(0x0000A21701187AD6 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1572, NULL, 1561, 1092, 1, N'y', CAST(0x0000A21701189811 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1573, NULL, 1576, 1092, 2, N'y', CAST(0x0000A2170118CF7E AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1574, NULL, 1589, 1092, 3, N'y', CAST(0x0000A2170118E36F AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1575, NULL, 1579, 1088, 3, N'y', CAST(0x0000A217012AA887 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1576, NULL, 1593, 1078, 9999998, N'y', CAST(0x0000A217013465E3 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1577, NULL, 1594, 1078, 9999999, N'y', CAST(0x0000A217013484ED AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1578, NULL, 1595, 1079, 9999998, N'y', CAST(0x0000A2170134C73D AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1579, NULL, 1596, 1079, 9999999, N'y', CAST(0x0000A2170134E8FD AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1580, NULL, 1597, 1080, 9999998, N'y', CAST(0x0000A21701352CCC AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1581, NULL, 1598, 1080, 9999999, N'y', CAST(0x0000A21701357A81 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1582, NULL, 1599, 1081, 9999998, N'y', CAST(0x0000A21701359707 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1583, NULL, 1600, 1081, 9999999, N'y', CAST(0x0000A2170135B29C AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1584, NULL, 1601, 1082, 9999998, N'y', CAST(0x0000A2170135FA7F AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1585, NULL, 1603, 1083, 9999998, N'y', CAST(0x0000A21701376C9A AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1586, NULL, 1604, 1083, 9999999, N'y', CAST(0x0000A21701378B5C AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1587, NULL, 1602, 1082, 9999999, N'y', CAST(0x0000A2170137AECA AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1588, NULL, 1605, 1078, 3, N'y', CAST(0x0000A218016468F5 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1589, NULL, 1607, 1078, 4, N'y', CAST(0x0000A2180176396D AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1590, NULL, 1606, 1079, 7, N'y', CAST(0x0000A21801769265 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1591, NULL, 1608, 1078, 4, N'y', CAST(0x0000A218017C996B AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1592, NULL, 1609, 1079, 8, N'y', CAST(0x0000A2190116823D AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1593, NULL, 1610, 1081, 3, N'y', CAST(0x0000A219011E5F17 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1594, NULL, 1611, 1081, 4, N'y', CAST(0x0000A219011FD2D7 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1595, NULL, 1612, 1081, 5, N'y', CAST(0x0000A2190122E63E AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1596, NULL, 1613, 1081, 7, N'y', CAST(0x0000A21901250DD8 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1597, NULL, 1614, 1079, 5, N'y', CAST(0x0000A2190127EB3B AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1598, NULL, 1616, 1082, 3, N'y', CAST(0x0000A219012A8513 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1599, NULL, 1617, 1082, 4, N'n', CAST(0x0000A219012C1854 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1600, NULL, 1618, 1082, 5, N'n', CAST(0x0000A219012F22E8 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1601, NULL, 1620, 1083, 2, N'y', CAST(0x0000A21901358E1B AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1602, NULL, 1619, 1083, 3, N'y', CAST(0x0000A21A00C485B2 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1603, NULL, 1615, 1083, 4, N'n', CAST(0x0000A21A00C99315 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1604, NULL, 1621, 1083, 5, N'y', CAST(0x0000A21A00DB8A32 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1605, NULL, 1622, 1083, 6, N'y', CAST(0x0000A21A010EDED4 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1606, NULL, 1623, 1081, 8, N'y', CAST(0x0000A21A011D9A95 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1607, NULL, 1624, 1084, 4, N'n', CAST(0x0000A21A0125DFFA AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1608, NULL, 1625, 1081, 9, N'y', CAST(0x0000A21A01276292 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1609, NULL, 1626, 1081, 10, N'y', CAST(0x0000A21A0128D739 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1610, NULL, 1628, 1081, 11, N'y', CAST(0x0000A21A0129CF02 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1611, NULL, 1629, 1084, 5, N'y', CAST(0x0000A21A012CFF3C AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1612, NULL, 1630, 1084, 6, N'y', CAST(0x0000A21A012E1C5E AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1613, NULL, 1633, 1084, 7, N'n', CAST(0x0000A21A014A303A AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1614, NULL, 1634, 1086, 4, N'y', CAST(0x0000A21A014FE6D2 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1615, NULL, 1635, 1086, 5, N'y', CAST(0x0000A21A0151E4C5 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1616, NULL, 1637, 1086, 6, N'y', CAST(0x0000A21A01543B55 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1617, NULL, 1636, 1086, 7, N'y', CAST(0x0000A21A01549E0F AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1618, NULL, 1638, 1086, 8, N'y', CAST(0x0000A21A01563196 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1619, NULL, 1639, 1085, 4, N'y', CAST(0x0000A21A01797B1F AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1620, NULL, 1640, 1085, 5, N'y', CAST(0x0000A21A017C4D9F AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1621, NULL, 1641, 1078, 6, N'n', CAST(0x0000A21A017D81C7 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1622, NULL, 1643, 1079, 5, N'y', CAST(0x0000A21A017E92DE AS DateTime), NULL)

print 'Processed 600 total records'
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1623, NULL, 1644, 1078, 7, N'y', CAST(0x0000A21A0181EB02 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1624, NULL, 1645, 1078, 8, N'n', CAST(0x0000A21A0186D6F6 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1625, NULL, 1646, 1078, 9, N'y', CAST(0x0000A21A018B6F94 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1626, NULL, 1647, 1078, 10, N'y', CAST(0x0000A21B0000F4CD AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1627, NULL, 1648, 1078, 2, N'y', CAST(0x0000A21C0017FE02 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1628, NULL, 1649, 1000, 4, N'y', CAST(0x0000A21D001802CD AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1629, NULL, 1650, 1002, 10, N'y', CAST(0x0000A21E010E3F5A AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1630, NULL, 1651, 1003, 16, N'y', CAST(0x0000A21E010E8A53 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1631, NULL, 1652, 1035, 14, N'y', CAST(0x0000A21E010ECAA1 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1632, NULL, 1653, 1015, 11, N'y', CAST(0x0000A21E011E42CD AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1633, NULL, 1654, 1028, 10, N'y', CAST(0x0000A21E011F58D2 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1634, NULL, 1655, 1006, 11, N'y', CAST(0x0000A2210004DA2B AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1635, NULL, 1657, 1098, 14, N'y', CAST(0x0000A22300A7D902 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1636, NULL, 1656, 1028, 11, N'y', CAST(0x0000A22300A817D0 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1637, NULL, 1658, 1079, 3, N'y', CAST(0x0000A22D01329846 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1638, NULL, 1659, 1079, 4, N'y', CAST(0x0000A22D0132DD90 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1639, NULL, 1660, 1079, 2, N'y', CAST(0x0000A22D013725B1 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1640, NULL, 1661, 1001, 2, N'y', CAST(0x0000A23000DE1287 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1641, NULL, 1662, 1003, 4, N'y', CAST(0x0000A23000DF9C85 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1642, NULL, 1663, 1002, 9, N'y', CAST(0x0000A23000E11C1F AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1643, NULL, 1664, 1015, 3, N'y', CAST(0x0000A23000E45DEF AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1644, NULL, 1665, 1011, 4, N'y', CAST(0x0000A23000E4DE90 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1645, NULL, 1666, 1003, 6, N'y', CAST(0x0000A23000E6469E AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1646, NULL, 1667, 1015, 5, N'y', CAST(0x0000A23000E945E2 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1647, NULL, 1668, 1035, 2, N'y', CAST(0x0000A2300153A8A9 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1648, NULL, 1669, 1005, 2, N'y', CAST(0x0000A23100D0CB4A AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1649, NULL, 1670, 1033, 2, N'y', CAST(0x0000A23300BAD8B4 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1650, NULL, 1671, 1080, 3, N'y', CAST(0x0000A23401896859 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1651, NULL, 1673, 1080, 4, N'y', CAST(0x0000A234018A9BE5 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1652, NULL, 1674, 1080, 5, N'y', CAST(0x0000A2350000A457 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1653, NULL, 1675, 1080, 9, N'n', CAST(0x0000A2350001DA4B AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1654, NULL, 1676, 1080, 2, N'y', CAST(0x0000A235001407FF AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1655, NULL, 1677, 1080, 6, N'y', CAST(0x0000A2350022CAFA AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1656, NULL, 1678, 1082, 6, N'y', CAST(0x0000A2380009D7C9 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1657, NULL, 1679, 1081, 2, N'y', CAST(0x0000A238007A8C87 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1658, NULL, 1680, 1081, 6, N'y', CAST(0x0000A238008CDAD9 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1659, NULL, 1681, 1028, 12, N'y', CAST(0x0000A238014CCD3D AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1660, NULL, 1682, 1082, 7, N'y', CAST(0x0000A23B0157594B AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1661, NULL, 1683, 1082, 9, N'y', CAST(0x0000A23B016F3E7E AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1662, NULL, 1684, 1004, 15, N'y', CAST(0x0000A23B0173DF5E AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1663, NULL, 1685, 1082, 8, N'y', CAST(0x0000A23B01802731 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1664, NULL, 1686, 1082, 10, N'y', CAST(0x0000A23B018B1248 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1665, NULL, 1688, 1003, 3, N'y', CAST(0x0000A23D0120E08F AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1666, NULL, 1689, 1082, 2, N'y', CAST(0x0000A23D016180B8 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1667, NULL, 1690, 1082, 11, N'y', CAST(0x0000A23E00413CDA AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1668, NULL, 1691, 1084, 8, N'y', CAST(0x0000A23F01529835 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1669, NULL, 1692, 1084, 9, N'n', CAST(0x0000A23F015681C1 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1670, NULL, 1693, 1084, 10, N'n', CAST(0x0000A23F015A51D5 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1671, NULL, 1694, 1084, 11, N'y', CAST(0x0000A23F015EF64F AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1672, NULL, 1696, 1084, 12, N'y', CAST(0x0000A23F01614FCB AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1673, NULL, 1697, 1084, 13, N'y', CAST(0x0000A23F01651597 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1674, NULL, 1699, 1028, 2, N'y', CAST(0x0000A2410162A482 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1675, NULL, 1700, 1036, 2, N'y', CAST(0x0000A24101654031 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1676, NULL, 1701, 1009, 3, N'y', CAST(0x0000A24201082565 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1677, NULL, 1702, 1004, 2, N'y', CAST(0x0000A2420117EB3E AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1678, NULL, 1703, 1084, 9999998, N'y', CAST(0x0000A243015724A3 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1679, NULL, 1704, 1094, 1, N'y', CAST(0x0000A24800EEC773 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1680, NULL, 1705, 1094, 2, N'y', CAST(0x0000A24800F2B40A AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1681, NULL, 1706, 1094, 3, N'y', CAST(0x0000A24800F64031 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1682, NULL, 1707, 1094, 4, N'y', CAST(0x0000A24800FA732E AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1683, NULL, 1708, 1094, 5, N'y', CAST(0x0000A2480102F66C AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1684, NULL, 1709, 1094, 6, N'y', CAST(0x0000A2480103E678 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1685, NULL, 1710, 1093, 1, N'y', CAST(0x0000A248010E92A9 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1686, NULL, 1711, 1095, 1, N'y', CAST(0x0000A24801243EAE AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1687, NULL, 1712, 1047, 1, N'y', CAST(0x0000A248012A2986 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1688, NULL, 1713, 1096, 1, N'y', CAST(0x0000A248012DE1E0 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1689, NULL, 1715, 1097, 1, N'y', CAST(0x0000A248013CF87A AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1690, NULL, 1716, 1084, 14, N'n', CAST(0x0000A2490140FB58 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1691, NULL, 1392, 1099, 9999998, N'y', CAST(0x0000A24B00FC0A03 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1692, NULL, 1204, 1102, 9999998, N'y', CAST(0x0000A24B011E1580 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1693, NULL, 1719, 1099, 7, N'y', CAST(0x0000A24B016E43A0 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1694, NULL, 1720, 1100, 15, N'y', CAST(0x0000A24B016EC40B AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1695, NULL, 1721, 1101, 15, N'y', CAST(0x0000A24B016F3A24 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1696, NULL, 1723, 1102, 15, N'y', CAST(0x0000A24B017104FE AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1697, NULL, 1722, 1029, 11, N'y', CAST(0x0000A24B01711653 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1698, NULL, 1724, 1098, NULL, N'y', CAST(0x0000A24B0174A10B AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1699, NULL, 1725, 1099, 6, N'y', CAST(0x0000A24B0177A34D AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1700, NULL, 1726, 1098, 12, N'y', CAST(0x0000A24B0177E9A4 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1701, NULL, 1727, 1099, 5, N'y', CAST(0x0000A24B01789480 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1702, NULL, 1718, 1029, 12, N'y', CAST(0x0000A24B0179AA86 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1703, NULL, 1728, 1029, 6, N'y', CAST(0x0000A24B0179ECE9 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1704, NULL, 1729, 1099, 1, N'y', CAST(0x0000A24B017B6E43 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1705, NULL, 1730, 1100, 1, N'y', CAST(0x0000A24B017C5587 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1706, NULL, 1189, 1100, 6, N'y', CAST(0x0000A24B017C8714 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1707, NULL, 1731, 1100, 10, N'y', CAST(0x0000A24B017D83A1 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1708, NULL, 1732, 1100, 11, N'y', CAST(0x0000A24B017E3C60 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1709, NULL, 1733, 1100, 12, N'y', CAST(0x0000A24B017F10BD AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1710, NULL, 1734, 1100, 13, N'y', CAST(0x0000A24B018164A9 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1711, NULL, 1735, 1100, 14, N'y', CAST(0x0000A24B0181C2D5 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1712, NULL, 1736, 1101, 1, N'y', CAST(0x0000A24B0182BA8A AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1713, NULL, 1737, 1101, 3, N'y', CAST(0x0000A24B01835F0F AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1714, NULL, 1738, 1101, 4, N'y', CAST(0x0000A24B0183FC39 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1715, NULL, 1739, 1101, 12, N'y', CAST(0x0000A24B01851FBD AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1716, NULL, 1740, 1101, 13, N'y', CAST(0x0000A24B01874E29 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1717, NULL, 1741, 1101, 14, N'y', CAST(0x0000A24B0187B1F1 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1718, NULL, 1742, 1102, 1, N'y', CAST(0x0000A24B0189094C AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1719, NULL, 1743, 1102, 4, N'y', CAST(0x0000A24B01898CA9 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1720, NULL, 1744, 1102, 12, N'y', CAST(0x0000A24B018A0FE0 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1721, NULL, 1745, 1102, 13, N'y', CAST(0x0000A24B018A8314 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1722, NULL, 1746, 1102, 14, N'y', CAST(0x0000A24B018AEDE7 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1723, NULL, 1747, 1102, 7, N'y', CAST(0x0000A24C0000D038 AS DateTime), NULL)

print 'Processed 700 total records'
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1724, NULL, 1748, 1029, 4, N'y', CAST(0x0000A24C00019F6A AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1725, NULL, 1749, 1099, 9999999, N'y', CAST(0x0000A24C000FCE0A AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1726, NULL, 1750, 1100, 9999999, N'y', CAST(0x0000A24C0012A50D AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1727, NULL, 1751, 1102, 9999999, N'y', CAST(0x0000A24C0016D276 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1728, NULL, 1752, 1098, NULL, N'y', CAST(0x0000A24C00B594DF AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1729, NULL, 1754, 1104, 1, N'y', CAST(0x0000A24C0123F72C AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1730, NULL, 1755, 1104, 2, N'y', CAST(0x0000A24C012EC5CC AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1731, NULL, 1756, 1104, 3, N'y', CAST(0x0000A24C015C363F AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1732, NULL, 1758, 1104, 5, N'y', CAST(0x0000A24D00FD4C5E AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1733, NULL, 1759, 1104, 4, N'y', CAST(0x0000A24D012944B9 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1734, NULL, 1762, 1004, 17, N'y', CAST(0x0000A24E015E6B35 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1735, NULL, 1763, 1009, 20, N'y', CAST(0x0000A24E015EC9B6 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1736, NULL, 1760, 1033, 10, N'y', CAST(0x0000A24E015F4743 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1737, NULL, 1761, 1037, 9, N'y', CAST(0x0000A24E0160CFCA AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1738, NULL, 1764, 1012, 11, N'y', CAST(0x0000A24E01615679 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1739, NULL, 1765, 1099, 8, N'y', CAST(0x0000A24E0164A3B9 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1740, NULL, 1766, 1038, 8, N'y', CAST(0x0000A24E01665D3F AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1741, NULL, 1767, 1102, 16, N'y', CAST(0x0000A24E0168B232 AS DateTime), NULL)
INSERT [dbo].[ADF_Event] ([EventID], [EventName], [DocumentID], [SectionID], [EventOrder], [EventActive], [Insertdate], [Repeat]) VALUES (1742, NULL, 1769, 1029, 13, N'y', CAST(0x0000A24E01715D2C AS DateTime), NULL)
SET IDENTITY_INSERT [dbo].[ADF_Event] OFF
/****** Object: ForeignKey [FK_ADF_Document_ADF_EventType] Script Date: 10/06/2013 13:40:38 ******/
IF NOT EXISTS (SELECT * FROM sys.foreign_keys WHERE object_id = OBJECT_ID(N'[dbo].[FK_ADF_Document_ADF_EventType]') AND parent_object_id = OBJECT_ID(N'[dbo].[ADF_Document]'))
ALTER TABLE [dbo].[ADF_Document] WITH CHECK ADD CONSTRAINT [FK_ADF_Document_ADF_EventType] FOREIGN KEY([EventTypeID])
REFERENCES [dbo].[ADF_EventType] ([EventTypeID])

IF EXISTS (SELECT * FROM sys.foreign_keys WHERE object_id = OBJECT_ID(N'[dbo].[FK_ADF_Document_ADF_EventType]') AND parent_object_id = OBJECT_ID(N'[dbo].[ADF_Document]'))
ALTER TABLE [dbo].[ADF_Document] CHECK CONSTRAINT [FK_ADF_Document_ADF_EventType]

/****** Object: ForeignKey [FK_ADF_Event_ADF_Section] Script Date: 10/06/2013 13:40:40 ******/
--IF NOT EXISTS (SELECT * FROM sys.foreign_keys WHERE object_id = OBJECT_ID(N'[dbo].[FK_ADF_Event_ADF_Section]') AND parent_object_id = OBJECT_ID(N'[dbo].[ADF_Event]'))
--ALTER TABLE [dbo].[ADF_Event] WITH CHECK ADD CONSTRAINT [FK_ADF_Event_ADF_Section] FOREIGN KEY([SectionID])
--REFERENCES [dbo].[ADF_Section] ([SectionID])

IF EXISTS (SELECT * FROM sys.foreign_keys WHERE object_id = OBJECT_ID(N'[dbo].[FK_ADF_Event_ADF_Section]') AND parent_object_id = OBJECT_ID(N'[dbo].[ADF_Event]'))
ALTER TABLE [dbo].[ADF_Event] CHECK CONSTRAINT [FK_ADF_Event_ADF_Section]
End




Msg 102, Level 15, State 1, Procedure ADFFile, Line 1714
Incorrect syntax near '.'. It points to this last line

ALTER TABLE [dbo].[ADF_Event] CHECK CONSTRAINT [FK_ADF_Event_ADF_Section]

How do I correct pliz(the stored procedure is too long,I only copy the last lines

djj55
Constraint Violating Yak Guru

352 Posts

Posted - 2014-04-03 : 09:34:31
Break it down to small pieces.

Do all the inserts work?
Does the first Alter table work?
Does the second Alter table work?
Does the third Alter table work?


djj
Go to Top of Page
   

- Advertisement -