Answer the question
In order to leave comments, you need to log in
Is there an analogue of the sql command "TOP" in 1s queries?
Is there an analogue of the sql command "TOP" in 1s queries?
for example, when you need to get a string with a date that is closest to a given date, but less than or equal to it.
SELECT TOP(1) *
FROM Table1
WHERE Date < @MyDate
ORDER BY Date
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question