Viewing 15 posts - 6,196 through 6,210 (of 7,636 total)
Of what? Databases, Tables or Indexes?
July 24, 2008 at 2:00 pm
Most of the caches are global in nature. Your performance affects and is affected by all other usages on the server.
July 24, 2008 at 1:43 pm
Yes, it is caching. There are lots of different kinds going on.
You can control it with the following commands:
DBCC DROPCLEANBUFFERS
DBCC FREEPROCCACHE
July 24, 2008 at 1:14 pm
If performance of this code:
Insert into propbut_pr (..., SCODE, ...)
Select ...
, '!' + Right(Cast( (Select Max(Cast(Substring(p2.SCODE, 2,12) as int))
...
July 24, 2008 at 12:20 pm
jim.powers (7/24/2008)
rbarryyoung (7/23/2008)
July 24, 2008 at 12:08 pm
Michael Earl (7/24/2008)
rbarryyoung - Yeah, 36.Thanks for pointing out the fact that I forgot about the zero.
Don't worry about it, western civilization got along without it for several thousand years......
July 24, 2008 at 6:09 am
hmmm (scratches head) I guess I missed that transactional replication was involved.:ermm:
July 23, 2008 at 10:56 pm
nospam (7/23/2008)
It was just surprising because I could swear that the following code used to work in sql2k:
Entirely possible. I believe that something changed from 2000 to 2005 in...
July 23, 2008 at 10:46 pm
It is, but in different places. You sort of have to put it together.
The key to another way to view it is to remember two facts: 1) CASE is...
July 23, 2008 at 8:01 pm
Jeff Moden (7/23/2008)
July 23, 2008 at 7:48 pm
Yes, it is trying to convert everything to int, and it is fine as long as that works.
I agree, you should Cast/Convert evrything to the same data type.
July 23, 2008 at 6:53 pm
The problem is that you are trying to use the CASE function to dynamically switch what data type it is returning and you cannot do that. All of the...
July 23, 2008 at 4:02 pm
Michael Earl (7/23/2008)
Well, if you used just letters and numbers - say all lowercase you have 35 characters.
Hmmm, I'm pretty sure that would be 36.
July 23, 2008 at 3:33 pm
Viewing 15 posts - 6,196 through 6,210 (of 7,636 total)