Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* MAINTENANCE */
- INSERT INTO [dbo].[MaintenanceStatus]
- ([MaintenanceStatusID],[Description])
- VALUES
- ("Complete","Completed"),
- ("Working","In the process of being completed"),
- ("Waiting","Waiting to be started")
- Go
- INSERT INTO [dbo].[MaintenanceType]
- ([MaintenanceTypeID],[Description],[Active])
- VALUES
- ("Repair","Something needs to be repaired",1),
- ("Replace","Something needs to be replaced",1),
- ("Install","Something needs to be installed",1),
- ("Remove","Something needs to be removed",1)
- GO
- INSERT INTO [dbo].[MaintenanceWorkOrder]
- ([MaintenanceTypeID],[DateRequested],[DateCompleted],[RequestingEmployeeID],[WorkingEmployeeID],[Complete],[Description],[Comments],[MaintenanceStatus],[ResortPropertyID])
- VALUES
- ("Repair","2018-10-10",NULL,100000, {maintenance dude},0,"The toilet is leaking",NULL,"Waiting",{ResortPropertyID}),
- ("Replace","2018-01-10",NULL,100001,{maintenance dude},0,"Faucet needs to be replaced",NULL,"Waiting",{ResortPropertyID}),
- ("Install","2019-10-05",NULL,100000,{maintenance dude},0,"Ceiling fan is needed",NULL,"Waiting",{ResortPropertyID}),
- ("Repair","2018-10-10",NULL,100000, {maintenance dude},0,"Rug has a frayed end",NULL,"Waiting",{ResortPropertyID}),
- ("Repair","2018-10-10",NULL,100001, {maintenance dude},0,"Mini Bar is not cold",NULL,"Waiting",{ResortPropertyID}),
- ("Remove","2018-10-10",NULL,100002, {maintenance dude},0,"Extra towel rack in bathroom",NULL,"Waiting",{ResortPropertyID}),
- ("Install","2018-10-10",NULL,100004,{maintenance dude},0,"New air filter",NULL,"Waiting",{ResortPropertyID}),
- ("Repair","2018-10-10",NULL,100000, {maintenance dude},0,"Window is not sealing fully",NULL,"Waiting",{ResortPropertyID})
- GO
- /* INSPECTION */
- INSERT INTO [dbo].[Inspection]
- ([ResortPropertyID], [Name], [DateInspected], [Rating],
- [ResortInspectionAffiliation], [InspectionProblemNotes], [InspectionFixNotes])
- VALUES
- ({ResortPropertyID}, 'Sprinker Systems' ,'2018-01-01', 'Pass',
- "", "", ""),
- ({ResortPropertyID}, 'Elevator' ,'2018-08-12', 'Pass',
- "", "", ""),
- ({ResortPropertyID}, 'Sprinker Systems' ,'2018-01-01', 'Pass',
- "", "", ""),
- ({ResortPropertyID}, 'Elevator' ,'2018-08-12', 'Pass',
- "", "", ""),
- ({ResortPropertyID}, 'Sprinker Systems' ,'2018-01-01', 'Pass',
- "", "", ""),
- ({ResortPropertyID}, 'Elevator' ,'2018-08-12', 'Pass',
- "", "", ""),
- ({ResortPropertyID}, 'Sprinker Systems' ,'2018-01-01', 'Pass',
- "", "", ""),
- ({ResortPropertyID}, 'Elevator' ,'2018-08-12', 'Pass',
- "", "", ""),
- ({ResortPropertyID}, 'Sprinker Systems' ,'2018-01-01', 'Pass',
- "", "", ""),
- ({ResortPropertyID}, 'Elevator' ,'2018-08-12', 'Pass',
- "", "", ""),
- ({ResortPropertyID}, 'Sprinker Systems' ,'2018-01-01', 'Pass',
- "", "", ""),
- ({ResortPropertyID}, 'Elevator' ,'2018-08-12', 'Pass',
- "", "", ""),
- ({ResortPropertyID}, 'Sprinker Systems' ,'2018-01-01', 'Pass',
- "", "", ""),
- ({ResortPropertyID}, 'Elevator' ,'2018-08-12', 'Pass',
- "", "", "")
- GO
- /* Events */
- Concert
- Party
- Trade Show
- Competition
- Wedding
- INSERT INTO [Event]
- (
- [OfferingID],[EventTypeID], [EventStartDate],
- [NumGuests], [SeatsRemaining], [PublicEvent], [Description], [KidsAllowed],
- [Location], [EventEndDate],
- [EventTitle], [Sponsored], [EmployeeID], [Approved], [Cancelled]
- )
- VALUES
- ({OfferingID}, "Party", CURRENT_TIMESTAMP,
- 40, 30, 1, "Fire dancing with turtles!", 1,
- "On the beach by Frank's nasty shack.", CURRENT_TIMESTAMP,
- "FIRE DANCING WITH TURTLES OF DOOM", 0, 100000, 1, 0),
- ({OfferingID}, "Party", CURRENT_TIMESTAMP,
- 40, 30, 1, "Splash and drink and play with foam launchers", 1,
- "Main Pool", CURRENT_TIMESTAMP,
- "Foam Pool Party", 0, 100000, 1, 0),
- ({OfferingID}, "Trade Show", CURRENT_TIMESTAMP,
- 40, 30, 1, "Comedic Event ", 1,
- "Main Ballroom", CURRENT_TIMESTAMP,
- "John Mulaney", 0, 100000, 1, 0),
- ({OfferingID}, "Trade Show", CURRENT_TIMESTAMP,
- 40, 30, 1, "Penn and Teller", 1,
- "Beach Front Patio", CURRENT_TIMESTAMP,
- "Penn and Teller's Famous Magic Show", 0, 100000, 1, 0),
- ({OfferingID}, "Wedding", "20190606 10:00:00 AM",
- 100, 20, 0, "Bob and Jim's Wedding", 1,
- "Main Ballroom", "20190606 10:00:00 PM",
- "Bob and Jim's Wedding", 0, 100000, 1, 0)
- GO
- /* Sponsor */
- INSERT INTO [dbo].[Sponsor]
- ([SponsorID],[Name],[Address],[City],[State],[PhoneNumber],[Email],[ContactFirstName],[ContactLastName],[DateAdded],[Active])
- VALUES
- (100000,"We are happy to Help!","601 Circle St.","Cedar Rapids","IA","13195548876","val@here.com","Val","Walmsley","2019-01-01",1),
- (100001,"Coca Cola","559 Riverview Dr.","Fuquay","NC","13191254876","tansy@here.com","Tansy","White","2019-01-01",1),
- (100002,"Twitch","754 Fawn Ct.","Harrisonburg","VA","13195548876","rene@here.com","Rene","Spence","2019-01-01",1),
- (100003,"Kars4Kids","343 Maple Ave","Santa Clara","CA","13195548876","lucile@here.com","Lucile","Atteberry","2019-01-01",1),
- (100004,"Joe Biden","908 Pierce St","Marietta","GA","13195548876","joe@here.com","Joe","Biden","2019-01-01",1),
- (100005,"AMC","88 Mayfair Rd.","Champlin","MN","13195548876","honour@here.com","Honour","Constable","2019-01-01",1)
- GO
- /* EventSponsor */
- INSERT INTO [dbo].[EventSponsor]
- ([EventID],[SponsorID])
- VALUES
- (100000,100000),
- (100002, 100001),
- (100004, 100004)
- GO
- /* Setup and Setup List */
- INSERT INTO [dbo].[Setup]
- ([EventID],[DateEntered],[DateRequired],[Comments])
- VALUES
- (100000,'2019-05-06',CURRENT_TIMESTAMP,'Please do this quickly'),
- (100001,'2019-05-06',CURRENT_TIMESTAMP, ''),
- (100002,'2019-05-06',CURRENT_TIMESTAMP,'Requires extensive remodeling'),
- (100003,'2019-05-06',CURRENT_TIMESTAMP,'Use the forklift')
- GO
- INSERT INTO [dbo].[SetupList]
- ([SetupID], [Completed], [Description], [Comments])
- VALUES
- (100000, 0, ' Prior to Guest Arrival: Registration Desk,signs,banners', 'Banners are not ready yet'),
- (100001, 0, ' Display Equipment: Prepares for display boards,tables,chairs,, printed material and names badges','Badges are not ready yet'),
- (100002, 1, ' Check Av Equipment: Laptop,projectors :Ensure all cables,leads,laptop,mic and mouse are presented and working', 'Av Equipment is ready'),
- (100002, 1, ' Walk through to make sure bathrooms are clean and stocked ', 'Bathrooms are ready'),
- (100003, 1, ' Confirm that all decor and linen is in place ', 'Decor and linen are ready')
- GO
- /* Performance */
- INSERT INTO [dbo].[Performance]
- ([PerformanceTitle], [PerformanceDate], [Description],[Cancelled])
- VALUES
- ('Juggler', '2018-6-27', 'It is a juggler, not much else to say',0),
- ('Firebreather', '2018-5-15', 'This one is for Matt LaMarche',0),
- ('Sword Swallower', '2018-6-27', 'Try not to cringe',0),
- ('Magician', '2018-6-20', 'Come be amazed by magic',0),
- ('Michael Jackson', '2018-6-17', 'His hologram will be preforming hit songs by the iconic Michael',0),
- ('John Moleny', '2018-6-7', 'You will laugh at this comedic act.',0),
- ('Blue Man Group', '2018-6-4', 'World Famous Blue Man Group is coming. You will not want to miss out!',0),
- ('Lion King', '2018-5-30', 'Come watch the broadway performance known the world over.',0)
- GO
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement