function key icon Function: ufnGetAccountingStartDate

Properties

Property Value
Name ufnGetAccountingStartDate
ID 2107154552
Schema dbo
Owner dbo
Execute As Caller
Type SQL SCALAR FUNCTION
Uses Ansi Nulls true
Uses Quoted Identifier true
Is Schema Bound false
Uses Database Collation false
Null on Null Input false
Encrypted false
MS Shipped false
Published false
Schema Published false
Deterministic false
Precise false
System Verified false
System Data Access true
User Data Access true
Modify Date 8/8/2010 5:23:46 PM
Creation Date 8/8/2010 5:23:46 PM

Extended Properties

Name Value
MS_Description Scalar function used in the uSalesOrderHeader trigger to set the ending account date.

Permissions

No object level permissions defined.

Parameters

No function parameters defined.

Recordset Returned

Datatype Has Default Value Default Value Xml Document Description
datetime false false

Objects that depend on [ufnGetAccountingStartDate]

Objects on which [ufnGetAccountingStartDate] depends

SQL

Script
SET ANSI_NULLS ON
SET QUOTED_IDENTIFIER ON
CREATE FUNCTION [dbo].[ufnGetAccountingStartDate]() RETURNS [datetime] AS BEGIN RETURN CONVERT(datetime, '20030701', 112); END;
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Scalar function used in the uSalesOrderHeader trigger to set the ending account date.' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'FUNCTION',@level1name=N'ufnGetAccountingStartDate'

See also

List of Functions