dbo.ufnGetAccountingStartDate
Documentation | AdventureWorks |
Schema | dbo |
Name | ufnGetAccountingStartDate |
Module | Sales |
Scalar function used in the uSalesOrderHeader trigger to set the ending account date.
Input/Output
Mode | Name | Data type | Description | |
---|---|---|---|---|
1 | OUT | Returns | datetime |
Used by
Name |
---|
dbo.ufnGetAccountingStartDate
|
Script
CREATE FUNCTION [ufnGetAccountingStartDate]() RETURNS [datetime] AS BEGIN RETURN CONVERT(datetime, '20030701', 112); END; |
Exported: 2019-02-04 23:13, Last imported: 2018-03-07 11:56