| | |
Working with the TEXT datatype in MySQL
Please support our MySQL advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
Hi, I was wondering how I would enter something like a paragraph in MySQL if you declared it as type TEXT.
So how would I enter something like:
John 3:16 (New International Version)
16" For God so loved the world that he gave his one and only Son,[a] that whoever believes in him shall not perish but have eternal life.
into a field of type TEXT?
So how would I enter something like:
John 3:16 (New International Version)
16" For God so loved the world that he gave his one and only Son,[a] that whoever believes in him shall not perish but have eternal life.
into a field of type TEXT?
•
•
Join Date: Aug 2008
Posts: 1,162
Reputation:
Solved Threads: 138
just a normal insert will work
what are you inserting from?
what are you inserting from?
Custom Application & Software Development
www.houseshark.net
www.houseshark.net
•
•
•
•
just a normal insert will work
what are you inserting from?
Can I make it print several line for that one row?
Like:
+-----------------------+
|Line 1 |
|Line 2 |
+-----------------------+
for one row?
•
•
Join Date: Aug 2008
Posts: 1,162
Reputation:
Solved Threads: 138
you gotta remember formatted text is specific to the application, i'm assuming from a text file it is CR LF, but in html you will need to use <P>, when you are running the select, what are you outputting it in? query browser, web page?
Custom Application & Software Development
www.houseshark.net
www.houseshark.net
•
•
Join Date: Aug 2008
Posts: 1,162
Reputation:
Solved Threads: 138
first we have to figure out where the problem is at
is the data stored with the cr lf's and not outputting correctly?
or not stored with formatting (incorrectly) and therefore outputting properly?
is the data stored with the cr lf's and not outputting correctly?
or not stored with formatting (incorrectly) and therefore outputting properly?
Custom Application & Software Development
www.houseshark.net
www.houseshark.net
![]() |
Similar Threads
- powerbuilder+mysql (MySQL)
Other Threads in the MySQL Forum
- Previous Thread: Above 2 lakh makes server crash : mysql 5.1, fedora 8
- Next Thread: a simple application
Views: 1021 | Replies: 5
| Thread Tools | Search this Thread |
Tag cloud for MySQL
"use" 1 agplv3 amazon api aws bizspark breathalyzer changingprices communityjournalism contentmanagement contractors copyright count crm data database design developer development distinct drupal dui ec2 eliminate email enterprise error eudora facebook form foss gartner gnu government gpl groklaw groupware hiring hyperic images innerjoins insert ip join journalism keyword keywords kickfire laptop law legal license licensing linux managing mariadb matchingcolumns metron micromanage microsoft microsoftexchange mindtouch montywidenius mozilla multiple mysql mysqlcolumnupdating mysqldatetimeordermax() mysqlinternalqueries mysqlsearch news open-xchange opendatabasealliance opengovernment opensource operand oracle pdf penelope php priceupdating query referencedesign remove resultset search select sharepoint simpledb sourcecode spotify sql statement sugarcrm techsupport thunderbird transparency update virtualization






