Viewing 15 posts - 166 through 180 (of 1,825 total)
Glad you found your answer..
BTW , using an ID like this is quite bad practice. If it were me , i would have this as data on a...
October 3, 2011 at 2:40 am
Please keep to one thread per subject
http://www.sqlservercentral.com/Forums/Topic1184288-391-1.aspx
October 3, 2011 at 1:00 am
SqlServer has no bit-wise aggregations but something like this should do you fine
select UserID , Max(roleid&1)+
...
October 3, 2011 at 12:59 am
Jack Corbett (10/1/2011)
I just hope I can honor that award the way that all the MVP's...
October 2, 2011 at 4:17 am
Hi ,
The query cost relative to batch is based upon the estimated cost, not the actual.
You mention UDF's, estimated cost of UDF's are 0.
That will be the difference.
September 27, 2011 at 2:36 am
Assuming , and i think from what you have said its a big assumption, that this is a sqlserver issue, use server side tracing ( never run profiler...
September 27, 2011 at 1:06 am
ALZDBA (9/14/2011)
We get to hear "Ho, ho, hoo" at SQLPASS 2011 !!!!http://www.sqlservercentral.com/articles/Exceptional+DBA+Awards/75988/
Congratulations Jeff !!
Grats Jeff , well deserved , thanks for all the help you've given me along the way...
September 14, 2011 at 3:47 am
So its recompiling as the temporary tables are defined 'out of scope'.
Instead of using a temp table you could try passing it as a TVP
September 7, 2011 at 11:40 pm
What does the subtype column on the recompile event in Profiler say ?
September 7, 2011 at 4:27 am
calvo (9/6/2011)
nidhi.ds.rapid (9/6/2011)
Thanks a lot !!So does that mean that creating an inline function is same as parametrized view.
Regards,
Nidhi
There is no such thing as a "parameterized view" in SQL Server....
September 6, 2011 at 9:23 am
Please see this article
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
For how to help us to help you
September 6, 2011 at 9:19 am
2,100
http://msdn.microsoft.com/en-us/library/ms187926(v=SQL.90).aspx
But, if you need that worry you a proabably doing it wrong.
September 6, 2011 at 6:38 am
Just because.
It appears to be seeing it as a lower case 3.
Its probably documented *somewhere*.
select * from #x where c1= c2 COLLATE Latin1_General_CI_AI
select * from #x where c1= c2 COLLATE...
September 6, 2011 at 6:06 am
Are the temp tables causing the recompiles created in the CALLING stored proc ?
That will cause a recompile, you could pass the table a a TVF.
September 6, 2011 at 5:35 am
Its down to collation , try this
create table #x(c1 char,c2 char)
insert into #x values('³','3')
select * from #x where c1= c2
select * from #x where c1= c2
COLLATE Latin1_General_100_BIN
September 6, 2011 at 5:06 am
Viewing 15 posts - 166 through 180 (of 1,825 total)