public static void printSqlValue(OutputStream stream, Stella_Object value, RelationColumnInfo column) {
    { NamedDescription targetType = column.columnType;
      String baseString = RDBMS.coercePowerloomObjectToString(value, targetType);
      char quoteChar = edu.isi.sdbc.Sdbc.sqlQuoteCharacter(column.tableInfo.dbmsName, RDBMS.KWD_STRING_CONSTANT);

      if (targetType == Logic.getDescription(RDBMS.SGT_STELLA_STRING)) {
        stream.nativeStream.print(quoteChar + edu.isi.sdbc.Sdbc.sqlEscapeString(baseString, quoteChar) + quoteChar);
      }
      else if (NamedDescription.subrelationOfP(targetType, Logic.getDescription(RDBMS.SGT_STELLA_NUMBER)) ||
          NamedDescription.subrelationOfP(targetType, Logic.getDescription(RDBMS.SGT_STELLA_BOOLEAN))) {
        stream.nativeStream.print(baseString);
      }
      else {
        stream.nativeStream.print(quoteChar + edu.isi.sdbc.Sdbc.sqlEscapeString(baseString, quoteChar) + quoteChar);
      }
    }
  }