Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread Best datatype for storing email data?
Sat, May 18 2019 2:58 PMPermanent Link

Mario Enríquez

Open Consult

Hi folks,

I'm about to create a table that will store event notifications the will be emailed later.

I'm second guessing what would be the best datatype for the column that will contain the email "body". The format would mostly be plain text but should also support HTML in the future. What would be best datatype for the application. CLOB or BLOB?

Thanks for your advice.

Regards,
Mario
Sun, May 19 2019 1:41 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Mario


CLOB

This means that its human readable, will support plain text, html  (html is just plain text with formatting instructions) and mime or uu encoded text. If desired at a future point you can add a full text index. Its usable via .AsString

Definitely CLOB

Roy Lambert
Mon, May 20 2019 9:58 AMPermanent Link

Mario Enríquez

Open Consult

Thank you Roy
Image