摘要: --不存在的记录删掉delete a from ECOrganizationPositionRelation a left join @ECOrganizationPositionRelation bon a.OrganPostionID=b.OrganizationID and a.PositionID=b.PositionIDwhere not exists(select * from ECOrganizationPositionRelation where OrganizationID=b.OrganizationID and PositionID=b.PositionID)--存在的. 阅读全文
posted @ 2012-07-03 11:25 万德源 阅读(346) 评论(0) 推荐(0) 编辑