select contentId, thumbnailId from tbl_DOC_Documents where ownerId = and fsl_tablecode = and docId = delete from tbl_DOC_Documents where ownerId = and fsl_tablecode = and docId = DELETE FROM tbl_ORG_AttributeLinks WHERE mstr_attrTypeID = AND child_attrTypeID = AND mstr_attrID = DELETE FROM tbl_ORG_AttributeLinks WHERE mstr_attrTypeID = AND mstr_attrID = DELETE FROM tbl_ORG_AttributeLinks WHERE child_attrTypeID = AND child_attrID = DELETE FROM tbl_NWS_AttributesLink WHERE attrTypeID = AND attrID = DELETE FROM tbl_FEA_AttributeLinks WHERE attrTypeID = AND attrID = select contentId, HighResCntID from tbl_IMG_Images where ownerId = and fsl_tablecode = and imgId = delete from tbl_IMG_Images where ownerId = and fsl_tablecode = and imgId = select contentId from tbl_#_asset.contentDomain#_Repository where ownerId = and ownerType = and fileId = delete from tbl_#_asset.contentDomain#_Repository where ownerId = and ownerType = and fileId = DELETE FROM tbl_SYN_BorrowedContent WHERE id = AND contenttype = select mainFolder, subFolder, subFolder2, fileName from tbl_FSC_Content where contentId = and contentId != 755 delete from tbl_FSC_Content where contentId =