if (select count(PlatformName) from Platforms where PlatformFlags = 4) = 0
 BEGIN
 insert into Platforms (PlatformFlags, PlatformName, PlatformKey, DisplayOrder) values (4, 'Windows NT 3.1 (x86)', 0x2, 0) 
 insert into Platforms (PlatformFlags, PlatformName, PlatformKey, DisplayOrder) values (4, 'Windows NT 3.1 (Alpha)', 0x8, 0) 
 insert into Platforms (PlatformFlags, PlatformName, PlatformKey, DisplayOrder) values (4, 'Windows NT 3.1 (MIPS)', 0x4, 0) 
 insert into Platforms (PlatformFlags, PlatformName, PlatformKey, DisplayOrder) values (4, 'MS-DOS 5.0', 0x30, 0) 
 insert into Platforms (PlatformFlags, PlatformName, PlatformKey, DisplayOrder) values (4, 'MS-DOS 6.0', 0x30, 0) 
 insert into Platforms (PlatformFlags, PlatformName, PlatformKey, DisplayOrder) values (4, 'MS-DOS 6.2', 0x30, 0) 
 insert into Platforms (PlatformFlags, PlatformName, PlatformKey, DisplayOrder) values (4, 'MS-DOS 6.21', 0x30, 0) 
 insert into Platforms (PlatformFlags, PlatformName, PlatformKey, DisplayOrder) values (4, 'MS-DOS 6.22', 0x30, 0) 
 insert into Platforms (PlatformFlags, PlatformName, PlatformKey, DisplayOrder) values (4, 'Windows 3.1', 0x1, 0) 
 insert into Platforms (PlatformFlags, PlatformName, PlatformKey, DisplayOrder) values (4, 'Macintosh', 0x40, 0) 
 END
go

