Selecting MAX value in 1 column based on code in another column?

  • This was removed by the editor as SPAM

  • Sorry to bump this thread, but I've run into a minor issue.

    When I re-open the view that uses this code, this part...

    WITH CTE AS
    (

    Is GONE, which causes an incorrect syntax error.

    Any idea why MSSMS would truncate (delete) that part?

    • This reply was modified 7 months, 1 week ago by  tsobiech.

Viewing 2 posts - 31 through 31 (of 31 total)

You must be logged in to reply to this topic. Login to reply