Forum Replies Created

Viewing 15 posts - 601 through 615 (of 5,841 total)

  • RE: t-sql 2012 update statment

    See the .WRITE syntax here:

    https://msdn.microsoft.com/en-us/library/ms177523.aspx

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

  • RE: A scenario where SQL Server doesn't seem to help

    Bill Talada (11/28/2016)


    You seem to have missed the poster's single problem he mentioned which is query timeout. All my suggestions answer that one problem. If a pre-select is...

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

  • RE: A scenario where SQL Server doesn't seem to help

    S_Kumar_S (11/28/2016)


    Thanks Bill for giving some really nice alternatives. For point 3 , we have already increased timeout to some 60 secs. I will try point 1,2 and 4.

    POint 5...

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

  • RE: Resource semaphore Query Compile and Maxdop Setting SQL 2014

    Robin35 (11/28/2016)


    TheSQLGuru (11/23/2016)


    Robin35 (11/23/2016)


    Thanks for your valuable inputs.

    in old serverSQL 2008 R2 is using all 32 physical cores.

    in new server SQL 2014 is using 16 physical cores or 32 logical...

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

  • RE: Time for a consultant

    Indianrock (11/25/2016)


    ORMs work, up until they don't. Too many tables joined, sometimes with outer joins, too many values in "IN" statements ( e.g. 50+ ), parameters declared...

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

  • RE: Time for a consultant

    Indianrock (11/25/2016)


    I've emailed my manager about the possibility of bringing in a consultant.

    Can't seem to paste Excel in here so attached the info requested on Waits, sql configurations, etc.

    If you...

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

  • RE: Time for a consultant

    Just one example: we turned on forced parameterization years ago -- probably after observing many single-use plans. ( even though the application code almost always sends parameterized sql ). Was...

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

  • RE: Need help in partitioning a table

    Did you read the requirements for doing a SWITCH before you decided to use paritioning?? It is quite clear that what you are trying to do is not allowed:

    https://technet.microsoft.com/en-us/library/ms191160(v=sql.105).aspx

    The fifth...

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

  • RE: Need help in partitioning a table

    I don't understand this statement:

    but while SWTICH IN the data, the file group got changed and it is not happening.

    What error did it throw? Or is this just the...

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

  • RE: Too many stored procedures

    Sounds like a SQL Service Broker scenario too, although I very much like the scripted SQL Agent job method too. I have used both for such scenarios.

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

  • RE: Resource semaphore Query Compile and Maxdop Setting SQL 2014

    Robin35 (11/23/2016)


    Thanks for your valuable inputs.

    in old serverSQL 2008 R2 is using all 32 physical cores.

    in new server SQL 2014 is using 16 physical cores or 32 logical cores.

    Per our...

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

  • RE: Resource semaphore Query Compile and Maxdop Setting SQL 2014

    Robin35 (11/22/2016)


    We have observed one thing. Our old server has 4 processors with 8 cores each and 8 logical processors each...no hype threading enabled but new server has 2 processors...

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

  • RE: Make Varchar the Default instead of NVarchar

    I don't follow what you mean here or what the issue is. Can you be a bit more explicit and give an example?

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

  • RE: Resource semaphore Query Compile and Maxdop Setting SQL 2014

    Robin35 (11/22/2016)


    does it has to do anything with high amount of available memory on this server, 870Gb available.

    Also, we are having query compile issue and i found this artcle...anyone aware...

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

  • RE: Resource semaphore Query Compile and Maxdop Setting SQL 2014

    Robin35 (11/22/2016)We did test in non production environments before moving to production but the issues is happening only on production and yes we moved to prod and its live now.

    we...

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

Viewing 15 posts - 601 through 615 (of 5,841 total)