diff --git a/sqlsrv/schema.inc b/sqlsrv/schema.inc
index 9be2af8..97a7fb8 100755
--- a/sqlsrv/schema.inc
+++ b/sqlsrv/schema.inc
@@ -1028,7 +1028,7 @@ EOF
     if ($fixnull === TRUE) {
       // There is no warranty that the old data did not have NULL values, we need to populate
       // nulls with the default value because this won't be done by MSSQL by default.
-      if (!empty($spec['default'])) {
+      if (isset($spec['default'])) {
         $default_expression = $this->defaultValueExpression($spec['sqlsrv_type'], $spec['default']);
         $this->connection->query_direct("UPDATE [{{$table}}] SET [{$field}] = {$default_expression} WHERE [{$field}] IS NULL");
       }
@@ -1151,7 +1151,7 @@ EOF
     if ($fixnull === TRUE) {
       // There is no warranty that the old data did not have NULL values, we need to populate
       // nulls with the default value because this won't be done by MSSQL by default.
-      if (!empty($spec['default'])) {
+      if (isset($spec['default'])) {
         $default_expression = $this->defaultValueExpression($spec['sqlsrv_type'], $spec['default']);
         $this->connection->query_direct("UPDATE [{{$table}}] SET [{$field_new}] = {$default_expression} WHERE [{$field_new}] IS NULL");
       }
