Viewing 15 posts - 48,961 through 48,975 (of 59,099 total)
Carla Hepker (8/4/2008)
I assume each debit and credit is associated with a user identifier and has a post date time stamp. If that is the case, it seems to...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 4, 2008 at 7:40 pm
Understood, but not exactly what I meant... I meant what they do behind the scenes to generate the running total... must be a "machine language" cursor of sorts to get...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 4, 2008 at 7:36 pm
Actually, Gus' answer is the best answer... "It depends". This is the kind of thing that you need to test.
Gus, good point about the net gain on things like...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 4, 2008 at 7:33 pm
GSquared (8/4/2008)
I just ran this test:
set statistics time on
go
declare @A char(1)
select @A = left(col4, 1)
from dbo.sometable
select @A = substring(col4, 1, 1)
from dbo.sometable
go 100
Execution time was identical for both commands.
Ah, thanks...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 4, 2008 at 6:27 pm
dbaker (8/4/2008)
simply that either we should either encourage usage of undocumented features [with due warnings] or not [like pregnancy, there's no middle ground]
Heh... it's not the undocumented features we should...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 4, 2008 at 6:04 pm
CrazyMan (8/4/2008)
Its supposed to take only a few seconds, since the table is continusly accessed by applicaitons, this is taking me 3 minutes to delete on a Quite time,...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 4, 2008 at 6:00 pm
Most people think that FLOAT makes rounding issues... lemme as this... if you divide 1 by three and then multiply the answer times 3, what is the answer supposed to...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 4, 2008 at 5:58 pm
vkres1 (8/4/2008)
The row starts with 41
Heh... Ya Think? What do you want to do with it? 😉
Have you tried the clustered index solution I gave you yet? :blink:
--Jeff Moden
Change is inevitable... Change for the better is not.
August 4, 2008 at 5:48 pm
CrazyMan (8/4/2008)
This is a nice way, but i cant block the table for this time, since the table is accessed by application...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 4, 2008 at 5:33 am
Dex (8/4/2008)
As it turns out myself and the Database Admin worked on this together.
Now we're talking... great post.
--Jeff Moden
Change is inevitable... Change for the better is not.
August 4, 2008 at 5:25 am
Thanks, Chris... :blush: (Didn't expect that)
--Jeff Moden
Change is inevitable... Change for the better is not.
August 4, 2008 at 5:21 am
What about the out of place 41?
--Jeff Moden
Change is inevitable... Change for the better is not.
August 4, 2008 at 5:11 am
I wonder how they do running totals in data warehouses in SQL Server?
--Jeff Moden
Change is inevitable... Change for the better is not.
August 4, 2008 at 5:08 am
Heh... during my most recent interview, I was informed that I had been "Googled".
Unfortunately, it's human nature to believe just about anything that appears on the web whether it's good...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 3, 2008 at 9:26 pm
I agree with Barry... if you are using CHAR instead of VARCHAR, then things don't appear quite the same way. Also, there's a lot of characters that look like...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 3, 2008 at 9:10 pm
Viewing 15 posts - 48,961 through 48,975 (of 59,099 total)