+ 2
How can I store a very big text in sql?
Am currently working on a project that requires a very big text input. It's a lengthy string.
12 Answers
+ 5
Put the text into a cloud and store the link in sql.
+ 4
@ipang parallel to u😃
+ 4
De-Virus
You can't store more than defined size so you need to put size as max.
If you defined size as 100 but you are sending content more than that then you will get error. I am sure this is happening in your case.
We can store more than 1000 characters. It is just a example. There maybe more than 1000.
If your content is too much then better to store in a file.
+ 2
How big is this text you're working on anyways?
If it was troubling you a lot, maybe you can opt to upload the file and save it in a directory as a file.
+ 2
De-Virus external storage is a good option. Also look into whether your DB engine supports a Memo field type like SQL Server does, or maybe BLOBs -- Binary Large OBjects.
+ 1
See the data type table below, and pick one that suits your necessity.
https://www.w3schools.com/sql/sql_datatypes.asp
+ 1
Thanks but still am facing the same problem.
+ 1
It's a website and when I try insert a big text in the database it fails. It only works when I reduce the text length.
+ 1
Frogged
Good and modern idea 👍
+ 1
Thanks a lot for your time and help.
0
you can simply put the text into a cloud and store the link in sql
0
simply extend time in php.ini
execution time..extentend..
and phpmyadmin me default file me extend karni hoti h