select emailMessageHTML from tbl_EML_Templates with (nolock) where ownerId = and ownerType = and templateId = #_emailMessage#