Forum Replies Created

Viewing 15 posts - 3,526 through 3,540 (of 5,841 total)

  • RE: What are you "must have "CLR" procs

    UMG Developer (3/22/2011)


    GSquared (3/22/2011)


    Calling third-party DLLs (address list validation and presorting)

    Disk data (space available, used, etc.) on network resources

    Disk operations (file archiving and compression, file encryption)

    Running totals

    SFTP upload/download (SSIS won't...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Looking for Elegant Efficient T-SQL Code

    Hard-coding the table names instead of using a sys.objects driven cursor to do these deletes may save you 0.001% of the total execution time. I say it would be...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: SQL Memory AWE Settings

    There are other DMVs you can use to see what is actually using buffer pool memory. You an also check out dbcc memorystatus.

    In general though, unless you have less...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: SQL Query taking long time

    Jeff Moden (3/22/2011)


    TheSQLGuru (3/21/2011)


    Simple solution: do ALL of your math in a SINGLE PASS over the table. Do not have umpteen hits on the table (views or no views).

    Gosh,...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Cost Threshold of Parallelism

    Please don't reply to 3 year old threads. Start a new one.

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Rebuild/Reorg Indexes

    http://www.solidq.com/squ/courses/Pages/Home.aspx

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Query help for Week wise report of a given month and year

    I prefer the CASE statement:

    select . . .,

    SUM(CASE WHEN DATEPART(wk, mydate) = 1 THEN myfield ELSE 0 END) as Week1Total,

    SUM(CASE WHEN DATEPART(wk, mydate) = 2 THEN myfield ELSE 0 END)...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: efficiency of query approaches

    Your question is incomplete. The key piece of missing information is "how many rows of data in each table"? What is spiffy fast for 10 rows...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: SQL Query taking long time

    Simple solution: do ALL of your math in a SINGLE PASS over the table. Do not have umpteen hits on the table (views or no views).

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Rebuild/Reorg Indexes

    1) ola.hallengren.com. Use the FREE goodness there.

    2) remember to NOT update stats on indexes you rebuilt!! doing so gets you a) double work and b) WORSE statistics if...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: A simple T-SQL statement to create a list of lookup values

    Doesn't the FOR XML method blow up when certain characters are in place in the data??

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Transaction log backup failled

    homebrew01 (3/17/2011)


    annasql (3/16/2011)


    My server is 2005 SP2

    SP3 has been out for a loooooooong time ....

    Actually SP4 has been out for quite a while now . . .

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: SP- Performance improvement

    Forums are for SIMPLE, straight-forward problems. This is NOT THAT!! People who answer questions here do so as unpaid volunteers and it isn't fair to ask them to...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Transaction log backup failled

    I HIGHLY recommend you stop using maintenance plans to do your sql server maintenance. Go to ola.hallengren.com and use the suite of scripts and jobs (FREE) found there. ...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: min / max memory and lock pages in memory

    Assuming the sql server relational engine is the only thing running on the server I would try 7GB as max memory and monitor for significant paging and memory pressure indications....

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

Viewing 15 posts - 3,526 through 3,540 (of 5,841 total)