由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Database版 - Mysql limits
相关主题
table的每行数据是以二叉树结构存在硬盘里的吗?A web based database adm program
how to extract textHow about JDBC for mysql?
A weird errorHow to import database into MySQL?
Free Database ListmySQL Licence ID
如何建基于WWW的BBS?MySQL
Is there any small free database support Java ?MySQL: cannot connect
how to usa mSQL?mysql 一问
给偶一个干活的机会,何如? 申请作Database板副mysql 又一问
相关话题的讨论汇总
话题: mysql话题: text话题: fails话题: limits话题: size
进入Database版参与讨论
1 (共1页)
s***m
发帖数: 28
1
Is there a limit in size for the data type of text in Mysql?
I try to insert a very
large text file but the server fails to take it. If i cut
the size of the text,
i take it smoothly. Thanks.
c****d
发帖数: 116
2
Yeah, of course, why not use LONGBLOB or LONGTEXT?

【在 s***m 的大作中提到】
: Is there a limit in size for the data type of text in Mysql?
: I try to insert a very
: large text file but the server fails to take it. If i cut
: the size of the text,
: i take it smoothly. Thanks.

s***m
发帖数: 28
3

I try to use longtext for the field. However, if the string
that i create contains
new line, the server fails to accept it. For examples, if i
create a simple GUI
for mail composer, if i want to allow user to type in their
message into textarea and then
use a servlet to fetch the content in textarea as a string,
i am not able to insert
them into mysql because of the Indent and newline. How can i
do that?

【在 c****d 的大作中提到】
: Yeah, of course, why not use LONGBLOB or LONGTEXT?
c****d
发帖数: 116
4
You need escape these escape chars. Check manual please.:))

【在 s***m 的大作中提到】
:
: I try to use longtext for the field. However, if the string
: that i create contains
: new line, the server fails to accept it. For examples, if i
: create a simple GUI
: for mail composer, if i want to allow user to type in their
: message into textarea and then
: use a servlet to fetch the content in textarea as a string,
: i am not able to insert
: them into mysql because of the Indent and newline. How can i

1 (共1页)
进入Database版参与讨论
相关主题
mysql 又一问如何建基于WWW的BBS?
问个数据库问题Is there any small free database support Java ?
一问how to usa mSQL?
如何实现DB底层的功能?给偶一个干活的机会,何如? 申请作Database板副
table的每行数据是以二叉树结构存在硬盘里的吗?A web based database adm program
how to extract textHow about JDBC for mysql?
A weird errorHow to import database into MySQL?
Free Database ListmySQL Licence ID
相关话题的讨论汇总
话题: mysql话题: text话题: fails话题: limits话题: size