Forum Replies Created

Viewing 15 posts - 1,261 through 1,275 (of 5,841 total)

  • RE: DB mirroring support MSSQL 2014

    I can promise you that I will still have clients using mirroring at least 10 years from now, probably 15.

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

  • RE: Max Date from multiple columns

    Lynn Pettis (3/2/2016)


    TheSQLGuru (3/2/2016)


    On SQL Server 2014 I would think this is a great use case for LAST_VALUE().

    I don't think so since the OP only wants to see one row...

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

  • RE: Max Date from multiple columns

    On SQL Server 2014 I would think this is a great use case for LAST_VALUE().

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

  • RE: Virtualize Sql server

    Good advice here on the two main resources to investigate and/or hire. My personal preference is David Klee, but they are both extremely competent technically.

    I will add that there are...

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

  • RE: Lookup tables with Id as clustered PK with long difference may degrade performance?

    shamshad.ali (3/2/2016)


    We have several lookup tables where Id column is PK auto increment.

    Lets say big INT column datatype with records 1,2,3,4, and so on. Due to migration, developer added one...

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

  • RE: constant high memory usage on SQL Server 2012 SP3

    kc2ine (3/1/2016)


    Hi,

    I have like 89% of server 20GB RAM used all the time.

    Is it normal usage? I mean it's the same even at night when nobody is working.

    Some...

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

  • RE: AlwaysOn and Increasing Page file usage

    I would take a quick look at dbcc memorystatus. Semi-documented online. Doubt it will show anything.

    With low memory utilization I take it you aren't seeing actual use of the page...

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

  • RE: How to calculate a timeline and avoid using cursor

    Seems that a LAG statement in a CASE should be able to interrogate the prior value and increment the current count when those two differ.

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

  • RE: Report take a long time and time out

    Presumably no one is hitting your 3-day-old restored backup when you execute against it. Thus one very likely issue is blocking. Use sp_whoisactive during execution on production to check for...

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

  • RE: AlwaysOn and Increasing Page file usage

    1) There are a LOT of bugs related to Always On. Have you searched post SP3 CUs for any related to this issue?

    2) What are is you hardware config, VM...

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

  • RE: Merege statement giving performance issue

    ravi@sql (3/1/2016)


    Hi Champs,

    I have a Merge statement which has both insert and update .

    But source table is quite huge it is having around 70 million records or 2...

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

  • RE: execution of function with tvp - read only

    This is a multi-statement TVP. Those should be avoided at all costs. DEVASTATINGLY BAD stuff happens! Also, this one is completely ridiculous. Simply calculate the sum yourself on your on...

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

  • RE: Log initial size

    gorripativ (2/26/2016)


    Hi,

    I have set my db log intitial size as 512 MB and autogrowth as 512 MB. The db is in full recovery model and tlog runs every 15 min....

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

  • RE: Adding quotes to dynamic SQL

    Brandie Tarvin (2/26/2016)


    TheSQLGuru (2/11/2016)


    Whenever I am building out dynamic SQL I always use SET QUOTED_IDENFITIER OFF first and then use double quotes in the outer sections of text. Then I...

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

  • RE: One GUID missing from a table after restore

    Steve Hoyer (2/25/2016)


    I tried the detach/attach thing. Same problem. I'll call MS and post a solution if it's not overly embarrassing.

    Steve

    Please post even it if is "overly embarrassing". You have...

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

Viewing 15 posts - 1,261 through 1,275 (of 5,841 total)