UFN_BANKACCOUNT_GETDEPOSITNUMBER
Return
Return Type |
---|
int |
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@ID | uniqueidentifier | IN |
Definition
Copy
create function dbo.UFN_BANKACCOUNT_GETDEPOSITNUMBER(@ID uniqueidentifier) returns int
as
begin
declare @DEPOSITNUMBER int;
select @DEPOSITNUMBER = TRANSACTIONNUMBER from dbo.BANKACCOUNTTRANSACTION where ID = @ID;
return @DEPOSITNUMBER;
end