SELECT TOP 5 * from TableName
ORDER BY NEWID()
The Above querry will display record which will vary everytime youll run the same querry A Blog about Sql Server 2008.Easy to understand Sql Server Tips and Tutorials for beginners and useful sql server knowledge information for database developers.
No comments:
Post a Comment