Feeds:
Posts
Comments

Archive for September 25th, 2008

Recently I needed to fetch random rows from a SQL server table. If you have an integer column then using RAND() function goes well. However in my case there was no number column. In such cases you can use newid() function that is provide by SQL Server.
1). Create one Temporary table like Product.

1: create table Product
[...]

Read Full Post »