create proc jtcy_Deleted
@CYID varchar(50)
as
begin
delete from dbo.家庭成员 where CYID = @CYID --删除带参数的成员编号
end
go
--exec jtcy_Deleted @CYID = 'RY-210831170136001'//希望用参数调用
---------
上面是我写的存储过程,主要功能是删除指定家庭成员表中指定成员编号的存储过程,我想通过自定义按钮调用怎么实现?
var sql="exec jtcy_Deleted "+ CYID;
var res=FR.remoteEvaluate('=sql("dbbasedata","'+sql+'",1,1)');
================
====================
var sql="delete from dbo.家庭成员 where CYID ='"+ CYID +"'";
var res=FR.remoteEvaluate('=sql("宅基地管理系统","'+sql+'",1,1)');
你这个宅基地做了挺长时间了啊
exec jtcy_Deleted '参数值'