S
superhen
Unregistered / Unconfirmed
GUEST, unregistred user!
先谢了
1.存储过程测试正常)
CREATE procedure insert_table1 @bookid bigint,@bookname varchar(100)
as
insert into table1 (bookid,bookname)values(@bookid,@bookname)
GO
2.中间件:adostoredproc+DataSetProvider1
3.客户端程序:
with cds_inputStoredo
begin
RemoteServer:=Dm.SocketCon;
ProviderName:='DataSetProvider1';
Params[0].AsInteger:=0;
Params[1].AsString:='abcdefg';
Execute;
end;
程序运行正常,但是'abcdef'插入到数据库中就变成了'ab'或'a' 或'',郁闷,请指点一下
1.存储过程测试正常)
CREATE procedure insert_table1 @bookid bigint,@bookname varchar(100)
as
insert into table1 (bookid,bookname)values(@bookid,@bookname)
GO
2.中间件:adostoredproc+DataSetProvider1
3.客户端程序:
with cds_inputStoredo
begin
RemoteServer:=Dm.SocketCon;
ProviderName:='DataSetProvider1';
Params[0].AsInteger:=0;
Params[1].AsString:='abcdefg';
Execute;
end;
程序运行正常,但是'abcdef'插入到数据库中就变成了'ab'或'a' 或'',郁闷,请指点一下