init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -0,0 +1,20 @@
|
|||
IF OBJECT_ID('dbo.fnGetDokumentumDatumFormatum') IS NOT NULL BEGIN
|
||||
DROP FUNCTION dbo.fnGetDokumentumDatumFormatum
|
||||
END
|
||||
GO
|
||||
|
||||
SET ANSI_NULLS ON
|
||||
GO
|
||||
SET QUOTED_IDENTIFIER ON
|
||||
GO
|
||||
|
||||
CREATE FUNCTION dbo.fnGetDokumentumDatumFormatum (@datum DATE)
|
||||
RETURNS NVARCHAR(MAX)
|
||||
BEGIN
|
||||
DECLARE @value NVARCHAR(MAX)
|
||||
|
||||
SELECT @value =
|
||||
FORMAT(@datum, 'yyyy.MM.dd.')
|
||||
|
||||
RETURN @value
|
||||
END;
|
Loading…
Add table
Add a link
Reference in a new issue