如何从表中读取每一行并与另一个表进行比较(如果匹配)则更新该行

编程入门 行业动态 更新时间:2024-10-22 12:21:21
本文介绍了如何从表中读取每一行并与另一个表进行比较(如果匹配)则更新该行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

读一行 表 \\ templyee_table company_table 匹配(类似) EmpID,名称,金额_ID 和年 检查

解决方案

你为什么发帖同样的问题两次? 我如何从表中读取每一行并与另一行进行比较表Asp.Net(Csharp) [ ^ ] 我的答案是一样的。

Read one row of table emplyee_table with company_table matching(similar) EmpID, Name , Amount_ID and year check the "amount" of each row having same matching EmpID, Name , Amount_ID and year doesnt exceed with company_table "amount" if the amount of employee_table exceed company_table.. (if e.amt>c.amt) { validatiion- that row will not update } else if the amount of employee_table is same company_table (if e.amt=c.amt) { update that particular row into (company_details_table) } else if the amount of employee_table is same company_table (if e.amt<c.amt) { update that particular row into (company_details_table) }

解决方案

Why do you post the same question twice? How Do I Read Each Row From A Table And Compare With Another Table In Asp.Net(Csharp)[^] My answer is the same.

更多推荐

如何从表中读取每一行并与另一个表进行比较(如果匹配)则更新该行

本文发布于:2023-11-22 03:23:24,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1615791.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:并与   则更

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!