In SQL Server we can get records in random order from a sql query using NEWID() Function like:
SELECT Subject FROM dbo.test ORDER BY NEWID()
Search This Blog
Subscribe to:
Post Comments (Atom)
This site contains information of .NET,Sharepoint,C#,SQL Server,MOSS,WSS,WWF,WCF,WPF,AJAX,Javascript and Adobe Flex.
No comments:
Post a Comment