Forum Replies Created

Viewing 13 posts - 46 through 58 (of 58 total)

  • RE: TSQL LAB 2 - Writing Conditional WHERE Clauses

    This is a reply to Andrew Hancox post #460732...

    I have seen this occur. My sproc (and ultimately application) took a long time to process. When I debugged, I was able...

  • RE: TSQL LAB 2 - Writing Conditional WHERE Clauses

    When evaluating the WHERE clause, I find it good practice to include parenthsis around each target of comparison:

    WHERE

    ( @ReorderPoint IS NULL OR ReorderPoint > @ReorderPoint )

    and multiple comparisons

    WHERE...

  • RE: XML Workshop XIV - Generating an XML Tree

    Thanks for this article. Your approach is very interesting especially with the use of CTE constructs. Finding good xml shaping articles is difficult at best and your approach...

  • RE: Generating Missing Dates and Numbers

    Superaltive article. Thanks.

  • RE: Generating Missing Dates and Numbers

    Agreed

  • RE: A Reporting System Architecture

    Excellent article. Thank you very much. Your opening of how you worked in many places and faced the same issues (reporting, etc.) can, I am sure, be...

  • RE: Convert nvarchar to datetime

    As Lynn and Matt pointed out, adding a new column and updateing will solve your problem. My example assumes you are using some version of Query Analyzer where you...

  • RE: Convert nvarchar to datetime

    I do not disagree with you. It was a typo on my part. The easiest way to do it is as Lyn said. I was merely pointing...

  • RE: Convert nvarchar to datetime

    Try this:

    Without sampling a large population of your nvarchar date data, I will assume the example you gave will be sufficient.

    Here I simulate your scenario.

    declare @TestDateValue nvarchar(50)

    set @TestDateValue = '01/01/05'

    select...

  • RE: Help properly inserting quotes within an sql statement

    Using CHR(39) might be a little cleaner than tripping ticks.   It is more readable as well.

     

    For Example:

    select char(39) + 'TEST STRING' + char(39)

    returns: 'TEST STRING'

     

    -Mike DiRenzo

  • RE: Eliminating Cursors

    In response to Mark Hickins comment concerning my thought processes, without question, you are obviously erudite.  True, I probably would not be on your team but probably leading your department.  My thought processes...

  • RE: Eliminating Cursors

    I concur with your statement of "I don't like cursors so I don't use them". It is an empty and unsupported posit.  It is my...

  • RE: Eliminating Cursors

    I thought SQL Server Central was a place where developers posted original authorship.  Clearly if this were original authorship, the author would have done his...

Viewing 13 posts - 46 through 58 (of 58 total)