Getting Started with Adobe After Effects - Part 6: Motion Blur


Upload Image Close it
Select File

Browse by Tags · View All
sql_server 217
t-sql 211
tsql 116
sqlserver 96
BRH 78
#SQLServer 66
#TSQL 56
SQL Server 34
function 11
SSMS 9

Archive · View All
August 2007 17
August 2010 8
June 2012 7
June 2011 7
November 2007 7
August 2012 6
May 2012 6
November 2011 6
August 2011 6
October 2011 6

Madhivanan's TSQL Blog

Populating sample data

Apr 4 2008 2:45PM by Madhivanan   

Sometimes you may need some sample data for testing purpose

The following may help you in generating some sample data of different datatypes
 
select         
	abs(checksum(newid()))%10000 as intcol,        
	abs(checksum(newid()))*rand()/100 as float_col,        
	dateadd(day,0,abs(checksum(newid()))%100000) as date_col,        
	substring(replace(cast(newid() as varchar(36)),'-',''),1,abs(checksum(newid()))%15) as varchar_col,
    abs(checksum(newid()))%2 as bit_col 
from         
	master..spt_values 
where         
	type='p' and number between 1 and 200

Tags: t-sql, sql_server, sample_data, random_data,


Madhivanan
3 · 40% · 12912
1
 
0
Lifesaver
 
0
Refreshed
 
0
Learned
 
0
Incorrect



Submit

Your Comment


Sign Up or Login to post a comment.

"Populating sample data" rated 5 out of 5 by 1 readers
Populating sample data , 5.0 out of 5 based on 1 ratings
    Copyright © Rivera Informatic Private Ltd Contact us      Privacy Policy      Terms of use      Report Abuse      Advertising      [ZULU1097]