Calling an extended stored procedure with output parameters

Discussion of open issues, suggestions and bugs regarding SDAC (SQL Server Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Ray Mond

Calling an extended stored procedure with output parameters

Post by Ray Mond » Sat 30 Jul 2005 09:11

Using SDAC, how can I call an extended stored procedure with output parameters? Thanks.

Ray Mond

Ikar
Posts: 1693
Joined: Thu 28 Oct 2004 13:56

Post by Ikar » Mon 01 Aug 2005 09:12

Use in TMSQuery the next syntax:

Code: Select all

DECLARE @txt varchar(33)
EXEC xP_getnetname @txt OUTPUT
select @txt
or

Code: Select all

EXEC xP_getnetname :txt OUTPUT
Please see details in MSDN

Post Reply