From 4d871520a476a4743843c1b487c4849fae8cd357 Mon Sep 17 00:00:00 2001 From: LanHeron Date: Sun, 31 Aug 2025 20:54:40 +0800 Subject: [PATCH] vault backup: 2025-08-31 20:54:40 --- SanPinPLM/相关操作/4.0-other/200.Delphi脚本.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/SanPinPLM/相关操作/4.0-other/200.Delphi脚本.md b/SanPinPLM/相关操作/4.0-other/200.Delphi脚本.md index 7ff18e3f..2b17b1cd 100644 --- a/SanPinPLM/相关操作/4.0-other/200.Delphi脚本.md +++ b/SanPinPLM/相关操作/4.0-other/200.Delphi脚本.md @@ -87,6 +87,14 @@ end. 此函数作用为执行 `SQL` 语句 +案例如下 + +```delphi +chiExecuteSqlNoResultRec('UPDATE pdmitem SET usr_ATWRT1 = tusr_tz1 WHERE itemid = ' + IntToStr(CurBizObj.objid)); +``` + + + #### 执行sql获取字符串 此函数作用为执行 `SQL` 语句,去获取字符串结果