| | |
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,160
Reputation:
Solved Threads: 137
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,160
Reputation:
Solved Threads: 137
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,160
Reputation:
Solved Threads: 137
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
| Thread Tools | Search this Thread |
agplv3 alfresco amazon api artisticlicense aws bizspark breathalyzer camparingtocolumns changingprices cmg communityjournalism contentmanagement contractors copyright count court crm database design developer development distinct drupal dui ec2 email enterprise eudora facebook form foss gartner gnu government gpl greenit groklaw groupware hiring hyperic images innerjoins insert ip joebrockmeier join journalism keyword keywords kickfire laptop law legal license licensing linux maintenance managing mariadb matchingcolumns metron micromanage microsoft microsoftexchange mindtouch montywidenius mozilla music mysql mysqlcolumnupdating mysqldatetimeordermax() mysqlindex mysqlinternalqueries mysqlquery mysqlsearch news open-xchange opendatabasealliance opensource oracle penelope php priceupdating query referencedesign reorderingcolumns resultset saas select sharepoint simpledb sourcecode spotify sql sugarcrm syntax techsupport thunderbird transparency






