Randomly Select Data Rows From Sql Database

If your requirement is to select random records from SQL database, you can do with the help of below sql statement


select top 1* from tableName order by NEWID()

Comments

Popular posts from this blog

SSIS Merge Join - Both inputs of the transformation must contain at least one sorted column, and those columns must have matching metadata SSIS

jsGrid

Web scraping through WebBrowser (.Net WinForm Control)