Get the App
SLTechnology News&Howtos  ›  Database  › 

How to update records in batch in postgresql

Shulou Source: shulou.com Published: 2022-05-31 20:48:44 10月01日 Update

What this article shares with you is about how to update records in batches in postgresql. The editor thinks it is very practical, so I share it with you to learn. I hope you can get something after reading this article.

The code is as follows:

CREATE FUNCTION updateTchrNm () RETURNS void AS

$body$

DECLARE

Rownum integer: = 1

BEGIN

While rownum

Tags: Update more knowledge article utility code that is work meeting article look knowledge point industry details information information channel follow part channel Tanaka learning Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno Shulou Tech Info vpn MySQL Huawei