The Storage Blog
Tips and tricks on various storage arrays.
Amazon Ad
Featured Post
Monday, December 17, 2018
Display Last Records from a Microsoft SQL Server Database
/****** Display Last 5 Records in MS SQL Database
******/
SELECT TOP 5 [ID]
,[ts]
,[quote]
,[author]
,[category]
FROM [DB1].[dbo].[quotes]
order by ts desc
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment