Viewing 15 posts - 46 through 60 (of 335 total)
This view will only work in the database the view is created:
and????????a.database_id = DB_ID()????????????-- for current database only
(that's the only thing which comes into my mind, or there are no...
Wilfred
The best things in life are the simple things
March 24, 2010 at 1:36 am
I guess it doesn't work on SQL 2000 (which is what I am using)?
Sorry, MSSQL 2005 and higher
Wilfred
The best things in life are the simple things
March 23, 2010 at 10:04 am
Got it, I'll post an explanation later this week.
Wilfred
The best things in life are the simple things
March 23, 2010 at 8:45 am
Excellent piece of code! I implemented it to speed-up some Datawarehouse processing routines. Processing time dropped from 500 minutes to 70 minutes! :w00t: :w00t: :w00t:
Wilfred
The best things in life are the simple things
March 19, 2010 at 8:14 am
Regarding the temptable: I use the @toggle flag to determine if the temptable is already created or not.
In the first loop, @toggle=0 and a "select into" is used to create...
Wilfred
The best things in life are the simple things
March 18, 2010 at 4:20 pm
I am currently evaluating 2K8 and also trying to find the ultimate answer for this question. these are my thoughts:
+ Data compression. I think this is the most important reason...
Wilfred
The best things in life are the simple things
December 18, 2009 at 1:14 am
This CTE method is not fool proof: it doesn't work if the separator character is not in the main string:
Msg 536, Level 16, State 5, Line 3
Invalid length parameter passed...
Wilfred
The best things in life are the simple things
December 14, 2009 at 2:02 am
"Treshold" ... That's probably because my foreign language is dutch :hehe:
Wilfred
The best things in life are the simple things
November 26, 2009 at 1:11 am
Thanks (I saw that in the code).
Maybe I was not clear enough: if TABLE XYZ is selected by SP_UPDATESTATS for updating, is "UPDATE STATISTICS XYZ" (without any additional parameter)...
Wilfred
The best things in life are the simple things
November 17, 2009 at 3:15 am
Thanks, but I don't think this is the right query.
currrently, MaxDop is set to 2, but this query reported:
sessionid request_id parallel wanneer
-----------...
Wilfred
The best things in life are the simple things
November 4, 2009 at 8:35 am
Forgot to say: rebuilding indexes eates logspace.
In order to prevent blowing up your logfile, you could consider a more intelligent rebuild. There are some scripts available (kimberly tripp has some...
Wilfred
The best things in life are the simple things
October 19, 2009 at 2:53 am
I would say a 25GB logfile on a 9GB database is a little "out of balance"
How much of this 25GB is active? (measure over a longer period of time)
dbcc...
Wilfred
The best things in life are the simple things
October 19, 2009 at 2:49 am
Operating system error 32(The process cannot access the file because it is being used by another process.)
As reported, something else is locking this file. Maybe a filebackup is running at...
Wilfred
The best things in life are the simple things
October 8, 2009 at 7:01 am
try this:
select * from sys.objects where name='XXXX'
The column [type_desc] is telling you what type of object this is
Wilfred
The best things in life are the simple things
October 8, 2009 at 6:55 am
Added a new execplan. Have a look at the key lookup on ProjProposalRevenue. This now costs 96% (instead of 61%). The operator cost/SubTree cost is much higher.
Also attached the details...
Wilfred
The best things in life are the simple things
October 8, 2009 at 3:15 am
Viewing 15 posts - 46 through 60 (of 335 total)