Forum Replies Created

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

  • Reply To: A Funny Substring NULL

    "All is naught for not"

    Or you can directly convert a NULL value to a string literal directly from the table with the ISNULL() function:

    SELECT SUBSTRING(ISNULL(txt,'NULL'),1,2), txt from MyTable

     

  • RE: REPLACE Multiple Spaces with One

    One other point to consider is sentence endings. Normally there are two spaces at the end of sentences (for readability, etc., and yes, not everyone uses them. So...

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