Updating multiple collumns with replace function

  • I feel that I want to write a script like:

    UPDATE mr_temp_text_file_B SET (PRIMARY_DIAGNOSIS_CODE, SECONDARY_DIAGNOSIS_CODE_1, SECONDARY_DIAGNOSIS_CODE_2, SECONDARY_DIAGNOSIS_CODE_3) IS NULL WHERE LIKE 'NULL'

    There are about 30 columns. Do I have to write a new line for each column?

  • Mark:

    I would suggest that you start by giving a look at the UPDATE article in books online.

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

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