ISNULL FUNCTION

  • Thread starter Thread starter Ezzeddin
  • Start date Start date
string s = "SELECT ISNULL(myField, ValueIfItsNull) From MyTable";

myCommand.CommandText = s;
....then execute your query here.
 
Back
Top