Forum Replies Created

Viewing 15 posts - 2,236 through 2,250 (of 5,841 total)

  • RE: SQL Backups not working

    Others have addressed the permissions problem. I will address the fact that you are using Maintenance Plans in the first place. Please go to Ola.Hallengren.com and start using...

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

  • RE: Query for top 10 CPU utilization

    1) Search web for Glenn Berry SQL Server Diagnostic Query. Learn to use the goodness therein.

    2) From his version for 2012 you will find this:

    -- Top Cached SPs By...

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

  • RE: MIN and MAX dates for groups of rows

    dwain.c (1/21/2014)


    TheSQLGuru (1/21/2014)


    I think it has to be a Gaps & Islands problem, based on this statement if for no other reason:

    An assignment is defined as a continual period of...

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

  • RE: MIN and MAX dates for groups of rows

    I think it has to be a Gaps & Islands problem, based on this statement if for no other reason:

    An assignment is defined as a continual period of employment at...

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

  • RE: MIN and MAX dates for groups of rows

    Search web for Itzik Ben-Gan Gaps Islands SQL Server. He has numerous blog posts/articles on SQL Server Mag that will help you here.

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

  • RE: Need a cte to return all periods in a range of periods

    Here is my attempt at this. It took me a while to dot the i's and cross the t's and I noticed someone else had a posting too. ...

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

  • RE: Update statement

    Sean Lange (1/21/2014)


    SQListic (1/21/2014)


    i All,

    I want to Update column A1, when column A2 and A3both are NULL or have invalid data.

    If A2 has Valid Data ignore next steps ,if...

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

  • RE: WITH OPTION RECOMPILE faster query?

    I'm with the other two (as I am 99.x% of the time).

    I will add that you can find out a LOT by yourself by doing 2 things:

    1) running...

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

  • RE: Mirroring

    You posted this in mirroring forum, so if mirroring is actually set up you can use the monitor gui for that to see how backed up things are.

    Also,...

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

  • RE: One script to drop all temporary tables

    Not enough time to check, but does tempdb.sys.tables show temp objects that aren't yours? Also, does it provide a name that is "droppable"?

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

  • RE: One script to drop all temporary tables

    GilaMonster (1/16/2014)


    TheSQLGuru (1/16/2014)


    IIRC explicit drops aren't even honored any longer...

    They are, they always have been. Drop a temp table and you can't access it any longer. Essential when testing code...

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

  • RE: One script to drop all temporary tables

    Why do you want a script to do this? Temp objects are automatically "managed" by the engine. Just close the connection and you don't have to worry about...

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

  • RE: SQL Server 2012 AlwaysOn

    crcoracle (1/16/2014)


    Hi,

    Do you guys know if I can set up a new SQL Server cluster with AlwaysOn Availability groups as follows:

    - One node inside the local network

    - Another node in...

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

  • RE: varchar to int scenario

    pietlinden (1/12/2014)


    "I cover this in my Common TSQL Mistakes SQL Saturday session..." (just not #272? Not coming to NashVegas?? Drat!

    I did the Common TSQL Mistakes session on...

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

  • RE: Query slows down by a factor of 250 to 450 when increasing maximum server memory setting

    A) not sure what the xml files are but they aren't query plan(s) of the actual process. Looks like you may have trapped msdb job activity?

    B) the code you...

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

Viewing 15 posts - 2,236 through 2,250 (of 5,841 total)