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` 语句,去获取字符串结果