Selecting Random Rows in SQL Server 2005
Here is a quick an easy way to select random rows in SQL Server 2005:
SELECT ColumnA, ColumnB FROM dbo.[TableName] ORDER BY NEWID()
Here is a quick an easy way to select random rows in SQL Server 2005:
SELECT ColumnA, ColumnB FROM dbo.[TableName] ORDER BY NEWID()
Thats me above wearing one of my favorite Adidas track jackets. This is my home on the web showcasing some of my work over the past few years in the Interactive Marketing/Advertising field. In addition to my portfolio you'll find some personal information about me as well as some ramblings on some of the research and development I participate in. Enjoy!
**Disclaimer - The postings on this site are my own and do not necessarily represent the positions, strategies or opinions of George P. Johnson or Juxt Interactive.
Recent Comments
Jef wrote:
haha. I had just begun my...
Rob White wrote:
I need to post mine. My...
Chinese translation wrote:
This is great, I was looking...