CREATE PROCEDURE rsp_authuser
@uname as varchar(20),
@pword as varchar(21) OUTPUT,
@profile as varchar(21)OUTPUT
AS
SELECT @pword = password,@profile = profile FROM authentication WHERE
username = @uname AND active = 'yes'
GO
This stored procedure can then be executed from a *.aut file as follows:
SQL= {call rsp_authuser (%username!i, %password!o, %profile!o)}
[results]
; No entries should be specified in results, everything but the header should be
commented out.
Premalatha
Software Engineer
Malar, if this helps please login to Mark As Answer. |
Reply | Alert Moderator