Check this in SQL Server, we can get records in random order from a sql query using NEWID( ) Function.
Like:
SELECT Name FROM UserDetail ORDER BY NEWID( )
Enjoy programming.......
You can get records in random order from a sql query using NEWID( ) Function.
Check this in SQL Server, we can get records in random order from a sql query using NEWID( ) Function.
Like:
SELECT Name FROM UserDetail ORDER BY NEWID( )
Enjoy programming.......
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegisterMembers onlyFeatured eBookClaude for AI-Native BuildersDownload nowWrite a blog post and earn +250 SHARP when it is approved.
Write a blog
Join the conversation! Your thoughts help the community grow.