` select SurveyID from tbl_EVT_Events where OwnerId = and ownerType = and eventid = delete from tbl_SVY_Surveys where OwnerId = and ownerType = and SurveyID = delete from tbl_SVY_SurveyQuestions where OwnerId = and ownerType = and SurveyID = delete from tbl_WRK_Calendars where OwnerId = and ownerType = and linkType = 'EVT' and linkId = delete from tbl_EVT_EventDates where eventid = delete from tbl_EVT_Events where OwnerId = and ownerType = and eventid =