Answers for "sql set variable to top 1"

SQL
0

sql server select top 1 assign to variable

declare @LastExtractDate date
SELECT TOP 1 @LastExtractDate=[ExtractedDate]
FROM [OnsiteV4].[dbo].[SqlPendingIndex] order by ExtractedDate desc
Posted by: Guest on August-09-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language