Home Forums SQL Server 2008 T-SQL (SS2K8) Update null to unknown in a table for all the columns RE: Update null to unknown in a table for all the columns

  • Why do you want to set the value "unknown" at all? The NULL already tells you that the content ist unknown. The way mentioned by John is for using in select statements and should be enough. Otherwise you should ask yourself which benefit you get of this update.

    If you really want to store the string value "unknown" in the table column you have to choose an appropriate data type.

    Greetings, Wolf