Forum Replies Created

Viewing 15 posts - 11,881 through 11,895 (of 49,562 total)

  • RE: Query performance

    Abu Dina (8/30/2013)


    I wonder if the TOP is making SQL Server materialise the query in tempdb then it applies the scores?!

    No. Top just applies a row goal. It doesn't materialise...

  • RE: how to delete a log file?

    kevaburg (8/30/2013)


    2. "Shrink the datafile by migrating the data to other files in the same filegroup" performed from within the file properties dialog box of the SHRINK FILE task.

    ShrinkFile...

  • RE: how to delete a log file?

    No need to shrink, and shrinking will NOT have any effect.

    Wait until the entire active portion of the log is in the file you want to keep (use DBCC LogInfo....

  • RE: Wrong datatype for SP?

    Junglee_George (8/30/2013)


    Thanks Gail. But Chris hasn’t written the code for the splitter function there. I need that code.

    It's not his code. It's from an SSC article and a quick google...

  • RE: Wrong datatype for SP?

    This kind of query is a common problem with known, tested, well-performing solutions. There's no need to re-invent the wheel here.

    See Chris's query using a splitter function or consider a...

  • RE: Wrong datatype for SP?

    I hope that good performance is not a requirement.

  • RE: Float WTF?!

    Robert Davis (8/29/2013)


    GilaMonster (8/29/2013)


    When did you last see someone specifying the mantissa for a float? If not specified (as in the OP), the default is 53, which requires 8 bytes.

    I...

  • RE: Float WTF?!

    ScottPletcher (8/29/2013)


    Float only takes 4 bytes to store if you specify a precision of 24 or less.

    When did you last see someone specifying the mantissa for a float? If not...

  • RE: Microsoft SQL 2008 R2 Backup and Restore

    Jay Purvis (8/29/2013)


    This service pack came out on May 13, 2012. It was named, “SQL Server 2008 R2 Service Pack 2 Community Technology Preview (CTP)”.

    ....

    For the money we pay...

  • RE: Float WTF?!

    Erin Ramsay (8/29/2013)


    Thanks, Gail, that part I understood. 😀 I was curious about the internal mechanics about the len() function not returning the number of digits in the float.

    So if...

  • RE: Float WTF?!

    Erin Ramsay (8/29/2013)


    So the len() function is counting bytes instead of digits? Is this particular to floats?

    LEN takes a string as a parameter and counts the number of bytes in...

  • RE: Float WTF?!

    From Books Online

    float

    Approximate-number data types for use with floating point numeric data. Floating point data is approximate; therefore, not all values in the data type range can be represented exactly....

  • RE: How to deny restore database in sql server to SA?

    You can't revoke or deny to a sysadmin account. The login named 'sa' cannot have any permissions changed, it can only be disabled.

  • RE: View Contents of a Log Backup

    There's an undocumented command that reads the log backup too, but I doubt it will help much. Unless someone is very, very familiar with the log internals, that'll just return...

  • RE: Improving the performance of a Big table

    Koen Verbeeck (8/29/2013)


    Are you saying you can't speed up inserts with minimized logging or partition switching?

    Was the OP talking about large bulk inserts? They're not going to improve the performance...

Viewing 15 posts - 11,881 through 11,895 (of 49,562 total)