Viewing 15 posts - 766 through 780 (of 1,825 total)
Thanks Jeff , hindsight on the isnull issue 😉
June 27, 2010 at 1:32 am
Then you can use a derived table as Kingston suggested, or a CTE
June 25, 2010 at 2:02 am
Probably be easiest to create a view if you need to use the calculation in multiple statements
June 25, 2010 at 1:40 am
Well i would of said that way back but you stated ...
I feed it the same variables, etc. from both places SSMS and SSRS.
Which would rule out parameter sniffing.
June 25, 2010 at 12:59 am
GilaMonster (6/24/2010)
Without running it, I would venture a guess that the first is doing a scan of the unique nonclustered index and the second a scan of the cluster.
And you...
June 24, 2010 at 4:04 am
As far as i know ,probably wrong, but fn_trace_gettable is the only way to read .trc files. The trace file wont tell you how many transactions there have been...
June 24, 2010 at 4:00 am
Not really , but your distribution database would be growing in size.
Follow the links i gave you before.
June 24, 2010 at 3:25 am
Investigate the windowing functions in Books on line
June 24, 2010 at 12:00 am
Worth pointing out that 2008 does have some additional logic to test for date equality
http://sqlblogcasts.com/blogs/sqlandthelike/archive/2009/09/11/datetime-lookups.aspx
June 23, 2010 at 8:18 am
!= is a C style not equal operator and works just fine in SQLServer.
declare @x int,@y int
select @x = 0
select @y = 1
if(@x != @y) begin
Select 'not...
June 23, 2010 at 7:36 am
jcrawf02 (6/23/2010)
hehehttp://www.thedoghousediaries.com/?p=1839
😀
Very apt 🙂
June 23, 2010 at 6:26 am
troy2.net (6/23/2010)
It has been asked for , i do no , i would like to know the answer so through this i will learn those things to do...
June 23, 2010 at 6:25 am
Viewing 15 posts - 766 through 780 (of 1,825 total)