use t1 create table t3(col1 int, col2 binary(2000)) insert into t3(col1, col2) values (2, 0x1234) insert into t3(col1, col2) values (3, 0x1234) declare @p int set @p=0 while @p < 100000 begin insert into t3(col1, col2) values (rand()*1000, 0x1234) set @p=@p+1 end create function f3(@p1 int) RETURNS int BEGIN return (select count(col1) from t3 where col1=@p1) END select dbo.f3(2)
Theme design by Jelle Druyts
Pick a theme: BlogXP sqlx BlogXP sqlx
Powered by: newtelligence dasBlog 2.0.7226.0
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.
© Copyright 2008, Conor Cunningham
E-mail