开发者

How to update all records in a table at the same time (without updating records one by one) using stored procedure

开发者 https://www.devze.com 2023-04-01 07:48 出处:网络
I have a 开发者_如何学JAVAtable named Emp wit (Empname,Details).There are 4 records in the table.I want to update all records with a single update statement, without updating records one by one, using

I have a 开发者_如何学JAVAtable named Emp wit (Empname,Details). There are 4 records in the table. I want to update all records with a single update statement, without updating records one by one, using a stored procedure.


 UPDATE [tableName] SET [columnName] = [value] WHERE [condition]
0

精彩评论

暂无评论...
验证码 换一张
取 消