Forum Replies Created

Viewing 15 posts - 106 through 120 (of 271 total)

  • RE: Round

    curt_coker (9/15/2015)


    A programming language should work in an intuitive way and/or hide needless complexity. Really, 0.999 and 1.999 should both evaluate to a common data type and therefore be...

  • RE: STUFF

    David Harder (9/3/2015)


    The question is valid. The BOL reference is valid. The comment about understanding how a function works is valid. But the reason the result of the query is...

  • RE: Column aliases

    Steve Jones - SSC Editor (9/2/2015)


    The sixth one should have had brackets. That's been corrected. However, I missed a few since there could be no joiner (=/AS) in there, so...

  • RE: Logical File Names

    Steve Jones - SSC Editor (8/4/2015)


    And as a side note, I didn't try this from memory, or fail to test it. I changed the names of my logical files on...

  • RE: NOT IN

    rmechaber (7/28/2015)


    Here's a nice, straightforward -- but perhaps fuller -- explanation of what's going on here if you're still puzzled:

    https://www.simple-talk.com/sql/t-sql-programming/ten-common-sql-programming-mistakes/[/url]

    EDIT: URL corrected for the web-friendly version of the page instead...

  • RE: Stairway to Advanced T-SQL Level 4: Record Level Processing Using Transact-SQL Cursors

    Jeff Moden (5/7/2015)


    ... I would have expected an article on "Advanced T-SQL" to better explain what cursors should be used for, why they should generally be avoided, and...

  • RE: Tips to optimize your SQL statements

    Eric M Russell (2/10/2012)


    Another scenario is where the developer includes un-needed table joins and returns additional columns that are never referenced by the application or reporting tool. I've even seen...

  • RE: Illegal CTEs

    Jeff Moden (4/22/2015)

    ... Crud... I think I blew a pork chop bone out my left nostril. 😛

    That sounds painful. 😉

  • RE: ISNULL vs COALESCE

    ronmoses (4/17/2015)


    I'm not sure it's accurate to say "all need to be of the same data type." I believe all need to be able to be implicitly converted to the...

  • RE: The CTE Problem

    I picked #4, but I can see the case for #2 being the more correct answer. At least I came close.

  • RE: April 1 2015, a space oddity

    Steve Jones - SSC Editor (4/2/2015)


    SQL-DBA-01 (4/1/2015)


    Bad day for me. I lost 7 points. I selected option - (c). 🙁 🙁

    You never lose points. Only miss out on gaining them.

    Good...

  • RE: SQL Jobs

    TomThomson (3/27/2015)[

    But I had looked quickly and gone with "sometimes" before I made the above reasoning - careless of me, I should have gone with "yes" and lost the point...

  • RE: SQL Jobs

    sestell1 (3/26/2015)


    I think whether the file gets created depends on if the syntax error causes the package to fail validation or not. I think the second question also depends...

  • RE: Creating a Date Range from Multiple Rows Based on a Single Date

    Thanks for this article. I had created views to do something similar for several tables. But your solutions are simpler than what I did.

    Now I'm hoping to...

  • RE: SQL Cop and SQLServerCentral

    gmmastros (3/23/2015)


    An undocumented procedure is a procedure that is distributed along with the database engine, but is undocumented. Since it is undocumented, there is no guarantee that Microsoft will...

Viewing 15 posts - 106 through 120 (of 271 total)