Forum Replies Created

Viewing 15 posts - 286 through 300 (of 5,841 total)

  • RE: Do you need an order by when selecting TOP N from a clustered index?

    I believe there is ONE SCENARIO in which order IS guaranteed in TSQL without an explicit ORDER BY: GROUP BY with a ROLLUP or CUBE (perhaps GROUPING SETS, but I...

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

  • RE: How to Pivot table in sql

    Once again my favorite TSQL key word (CASE) is part of the solution!!! 😎

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

  • RE: Always On FCI vs Normal SQL Cluster

    Search this website and you will find a great stairway's series on Always On (by Perry Whittle I think).

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

  • RE: T-SQL Filtering data with more than one condition by row

    benkraiemchedlia - Saturday, April 22, 2017 5:09 PM

    Hi,

    I want to select result filtered by more than a value by a row.
    I don't...

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

  • RE: SQL Query assistance

    Also that domain filter, with the leading percent, will prevent the optimizer from getting an accurate statistical estimate about row count for the predicate, thus the entire query could be...

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

  • RE: Single head blocker locking other DBs

    drgn38 - Friday, April 21, 2017 3:45 PM

    I am running SQL 2014 Ent on Windows 2012 Ent. Each VM is attached to...

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

  • RE: Ola Hallengren Differential Backup issue

    I cannot see the picture enlarged. But it looks like 3041. Binoogle may help you there. Also, is that from Ola's job log file or the SQL Server error log?...

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

  • RE: Slow insert

    SQL Guy 1 - Friday, April 21, 2017 11:36 AM

    Should I select snapshots from sys.dm_io_virtual_file_stats() before and after and provide delta for...

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

  • RE: Ola Hallengren Differential Backup issue

    There is almost certainly a LOT more to the log file (note the ellipses at the end).

    IIRC, by default Ola's jobs are set to create log files in...

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

  • RE: Slow insert

    Lynn Pettis - Friday, April 21, 2017 11:05 AM

    TheSQLGuru - Friday, April 21, 2017 11:02 AM

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

  • RE: Slow insert

    If I break it into two parts 1-select into #temp and 2nd - insert into my destination from #temp, the 2nd part takes just 1 sec, making the whole...

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

  • RE: Performance differences between Developer and Enterprise editions

    Are you using the checked build of dev edition? 32 bit version by mistake? 

    Watch CPU utilization on both runs, and do a differential wait stats and file IO...

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

  • RE: Help with SQL Loop Query

    ChrisM@Work - Friday, April 21, 2017 5:16 AM

    rocky_498 - Thursday, April 20, 2017 5:45 PM

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

  • RE: Delete statement

    khushbu - Friday, April 21, 2017 3:22 AM

    Can someone help me in writing this query. Doing some silly mistake but not able...

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

  • RE: t-sql programming

    Maybe this: 

    TSQL Zero to Hero

    Wrox used to have a beginning TSQL book that was pretty decent too.

    Itzik Ben-Gan has a great...

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

Viewing 15 posts - 286 through 300 (of 5,841 total)