My question: is it possible to declare date format in T-SQL during creating a table?
CREATE TABLE [dbo].[Post]
(
[Id] INT IDENTITY (1, 1) NOT NULL,
[Name] VARCHAR(MAX) NULL,
[RowNo] INT NULL,
[ColNo] INT NULL,
[Deadline] DATE NULL,
CONSTRAINT [PK_KtoCo]
PRIMARY KEY CLUSTERED ([Id] ASC)
);
It is a code from VS 2017 table designer.
For this moment date shows also time in 00:00 format. I only want dd/mm/yyyy.
Thanks for help