UFN_CURRENCY_GETTSLONG
Returns the database timestamp of a specified currency.
Return
| Return Type |
|---|
| bigint |
Parameters
| Parameter | Parameter Type | Mode | Description |
|---|---|---|---|
| @ID | uniqueidentifier | IN |
Definition
Copy
create function dbo.UFN_CURRENCY_GETTSLONG
(
@ID uniqueidentifier
)
returns bigint
with execute as caller
as
begin
return
(
select
CURRENCY.TSLONG
from
dbo.CURRENCY
where
CURRENCY.ID = @ID
);
end