Hello. There is a table in the database
[dbo].[Query]( [Num] [int] NOT NULL, [Client] [int] NULL, [doer] [int] NULL, [DateOfQuery] [datetime] NULL, [Dwell] [int] NULL,
I need to create a trigger so that when adding a new record the date is not more than the current one. I had a problem with setting the limit. Just starting to learn SQL