What is the best way to store a large amount of text in a table in SQL server?
Is varchar(max) reliable?
Split the text into chunks that your database can actually handle. And, put the split up text in another table. Use the id
from the text_chunk
table as text_chunk_id
in your original table. You might want another column in your table to keep text that fits within your largest text data type.
CREATE TABLE text_chunk (
id NUMBER,
chunk_sequence NUMBER,
text BIGTEXT)