Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)

  • RE: NULL Equals NULL?

    Someone, somewhere along this lie-laced diatribe mentioned theory versus real-world application.  While Cimode appears to feel there is no real-world need to deviate from theoretical principles, one of his mentors,...

  • RE: How Dynamic SQL Can Be Static SQL

    You were correct - it did sort incorrectly. I made my dates YYYYMMDD using this code:

    WHEN 'due_date' THEN LTRIM(STR(DATEPART(yyyy,a.due_date))) +
    
    RIGHT('00'+LTRIM(STR(DATEPART(mm,a.due_date))),2) +
    RIGHT('00'+LTRIM(STR(DATEPART(dd,a.due_date))),2)

    Everything...

  • RE: How Dynamic SQL Can Be Static SQL

    Sorry - I missed the part in sample 2 on CASTing dates. I changed my code to convert my dates and then found that I needed to convert...

  • RE: How Dynamic SQL Can Be Static SQL

    I am trying to use this article's advice, but am getting wierd results. When I sort by any field which is date or numeric (proj_id or request_received) it...

Viewing 4 posts - 1 through 4 (of 4 total)