Here's an easy way to select a random row from a table:
SELECT TOP 1 * FROM Test4 ORDER BY NEWID()
Monday, August 9, 2010
Subscribe to:
Post Comments (Atom)
Focuses on SQL Server, especially T-SQL development and programming, with the aim of presenting projects and problems in SQL Server and the thought process behind delivering a solution.
No comments:
Post a Comment