Forum Replies Created

Viewing 15 posts - 1,426 through 1,440 (of 5,841 total)

  • RE: forecasting projection--how to approach this?

    Sounds like a data mining problem. That subsystem has been included with SQL Server since, what, SQL Server 2000? And almost no one is using it!! Not using that is...

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

  • RE: Data Statistics for Population and Distribution

    ryanjb1989 (8/19/2015)


    I have been asked to create a report for one of our clients. The report is pretty basic but I am concerned about the overheads with my planned approach.

    The...

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

  • RE: Amount rounding - What did I do wrong?

    Ken at work (8/18/2015)


    I found it....

    The values are not real they are numeric(9,2). I'm still not sure why they were rounding but at least this fixes it.

    I still don't...

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

  • RE: Is the SQL Server Profiler Reads Column Incorrect For Parallel Plans?

    Tim Walker. (8/19/2015)


    GilaMonster (8/19/2015)


    Don't use the Profiler GUI against a production server. It can and will cause problems, up to and including crashing the server (I've done it). Statistics profile...

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

  • RE: Is the SQL Server Profiler Reads Column Incorrect For Parallel Plans?

    Can't do anything with a picture. But a scan doesn't necessarily mean what you think sometimes. What is the actual row count entering that table on the loop? What is...

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

  • RE: Amount rounding - What did I do wrong?

    IMPLICIT CONVERSIONS can be a REAL shock and PAIN-CAUSER in SQL Server. The alternative is getting the wrong answer with no warning or error (which is by FAR the worse...

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

  • RE: Is the SQL Server Profiler Reads Column Incorrect For Parallel Plans?

    Tim Walker. (8/19/2015)


    Is the SQL Server Profiler Reads Column Incorrect For Parallel Plans?

    I often use profiler as one tool to help identify bad plans. The reads column gives me a...

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

  • RE: Amount rounding - What did I do wrong?

    Ken at work (8/18/2015)


    TheSQLGuru (8/18/2015)


    assuming both datatypes ARE real, cast the hard-coded values in the isnulls to the same datatpye - not the result of the isnull.

    I'm not sure what...

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

  • RE: Amount rounding - What did I do wrong?

    assuming both datatypes ARE real, cast the hard-coded values in the isnulls to the same datatpye - not the result of the isnull.

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

  • RE: Always on administration

    Perry Whittle (8/18/2015)


    TheSQLGuru (8/18/2015)


    (if AG fails over, how would log shipping work then?)

    It involves a special LS configuration and requires in depth knowledge

    Yes, yes it does! 😎

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

  • RE: sql server 2012 availability group not synchronizing after network outage

    1) Have you patched up SQL Server (and Windows)?? There were quite a few patched bugs with AGs.

    2) When you set things up, did you follow the LARGE amount of...

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

  • RE: Always on administration

    ramana3327 (8/18/2015)


    Hi,

    We have 4 node cluster with sql cluster in always on. How do you maintain an this hadr? In addition to that we are using logshipping to different server...

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

  • RE: Bizarre Divide by Zero behaviour

    GilaMonster (8/17/2015)


    I'd still recommend you put a CASE around the division (see my edits in earlier post), as a plan change could still result in the division happening before the...

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

  • RE: Bizarre Divide by Zero behaviour

    What is the code of the referenced objects too? They could be got-knows-what-containing views/mTVFs, etc.

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

  • RE: Please help with code improvements

    1) We need create table script and sample data to help with a query.

    2) Why use integers for what looks to be a Boolean (isDay)? VERY inefficient data type choice...

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

Viewing 15 posts - 1,426 through 1,440 (of 5,841 total)