Forum Replies Created

Viewing 15 posts - 46 through 60 (of 335 total)

  • RE: Index usage overview

    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

  • RE: Index usage overview

    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

  • RE: Index usage overview

    Got it, I'll post an explanation later this week.

    Wilfred
    The best things in life are the simple things

  • RE: Execute T-SQL Scripts in Parallel

    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

  • RE: Check status of HEAP tables

    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

  • RE: Like that SSRS 2008 doesn't need IIS

    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

  • RE: Convert String to a Table using CTE

    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

  • RE: Wait for Mirror treshold

    "Treshold" ... That's probably because my foreign language is dutch :hehe:

    Wilfred
    The best things in life are the simple things

  • RE: Difference between sp_updatestats and update statistics?

    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

  • RE: Determing paralllelism being used for a statement

    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

  • RE: large LDF file is it good or not?

    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

  • RE: large LDF file is it good or not?

    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

  • RE: These jobs are responsible for backup

    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

  • RE: Error : SQl server

    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

  • RE: Need statistics update several times a day to prevent slow database

    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

Viewing 15 posts - 46 through 60 (of 335 total)