How to get value return when using strore procedure, ADO component
Posted on 2002-07-28
Dear Advisor !
I use Delphi 5.0 + SQL Server 7.0, ADO Component
I want to send a command to SQL, so i write a sqlstatement in window :
ADOCommandText := exec sp_password 'aaa', 'bbb', 'ccc'
It runs well. But i want to get the value return when calling a store procedure. In this case, I do not want to trap the error to know the know the value. i want to know how to call a store procedure in D5
Thank for all consider