PB里执行写SQL语句

SQLHIS是PB里定义的连接字符串

SELECT YKLJ,YKJJ,YKPJ INTO:ldc_yklj,:ldc_ykjj,:ldc_ykpj

FROM YF_KCMX_LS

Where SBXH = :astr_kcmx[1].kcsb AND YPXH = :al_Ypxh USING SQLHIS;

 

Update YF_KCMX set ypsl = :ypsl02,lskc = :lskc02 where SBXH = :sbxh01 using SQLHIS;

posted @ 2020-08-13 08:47  离。  阅读(192)  评论(0编辑  收藏