Forum Replies Created

Viewing 15 posts - 166 through 180 (of 984 total)

  • RE: Are the posted questions getting worse?

    Lynn Pettis - Wednesday, January 3, 2018 1:49 PM

    jasona.work - Wednesday, January 3, 2018 12:56 PM

    Thomas Rushton
    blog: https://thelonedba.wordpress.com

  • RE: How to convert kilograms to pounds and ounces

    Jeff Moden - Saturday, December 30, 2017 6:36 AM

    It's my fault... I was incorrectly only looking at the number of ounces. ...

    Thomas Rushton
    blog: https://thelonedba.wordpress.com

  • RE: t-sql 2012 split function

    Hmm.

    What do you get from the following queries?

    SELECT * FROM Enrollment WHERE Grade IN ('PK','KG','01','02')
    SELECT Grade, COUNT(*) FROM Enrollment GROUP BY Grade

    Thomas Rushton
    blog: https://thelonedba.wordpress.com

  • RE: Executing HUGE scripts with SQLCMD

    There's a Connect item to increase / remove the file size limit for sqlcmd - https://connect.microsoft.com/SQLServer/feedback/details/1844733/sqlcmd-exe-file-size-limit-is-2-gb

    Thomas Rushton
    blog: https://thelonedba.wordpress.com

  • RE: Please get rid of this constant, useless job alert!!!!!!!

    I've sent a message over to one of the Redgaters who looks after this sort of thing.

    Thomas Rushton
    blog: https://thelonedba.wordpress.com

  • RE: SQL Server instance slowness

    coolchaitu - Thursday, December 14, 2017 6:06 AM

    Good Morning Experts,

    Application users have reported slowness. We checked SQL Server CPU and its...

    Thomas Rushton
    blog: https://thelonedba.wordpress.com

  • RE: Rank over error? or other methods?

    or maybe just use ROW_NUMBER() OVER (PARTITION BY CustomerID ORDER BY OrderDate)

    It looks as though it should be ASC rather then DESC sorting?  I could, of course, be...

    Thomas Rushton
    blog: https://thelonedba.wordpress.com

  • RE: SQL Restore takes long time - how do I clear committed transactions from log ?

    Was this database part of an availability group?  There's a thing about lazy recycling of transaction log VLFs that might be what's causing problems / concerns.  https://blogs.msdn.microsoft.com/sql_pfe_blog/2013/06/27/lazy-log-truncation-clearing-of-sql-transaction-log-vlf-status-deferred/

    Thomas Rushton
    blog: https://thelonedba.wordpress.com

  • RE: STRING_SPLIT with no delimiter

    I've just reproduced the problem with SQLCMD...  😀 - that just returns "A"

    Not got SSMS 17.4; got the problem when running with SSMS 17.3.

    The full string...

    Thomas Rushton
    blog: https://thelonedba.wordpress.com

  • Viewing 15 posts - 166 through 180 (of 984 total)