Delphi calls the SQL-Server2000 stored procedure

xiaoxiao2021-03-06  24

Source:

Http://blog.9cbs.net/hansbj/archive/2004/12/10/211907.aspx

How Delphi calls the SQL stored procedure and get the result

AdoStoredProc1.Close;

AdocedProc1.ProcedureName: = 'sp_thchl';

AdoStoredProc1.Parameters.clear;

AdoStoredProc1.Parameters.createParameter ('out', ftinteger, pdoutput, 1, 1);

AdoStoredProc1.execproc;

Edit1.text: = adoStoredProc1.Parameters [0] .value;

转载请注明原文地址:https://www.9cbs.com/read-81370.html

New Post(0)