troubleshooting Question

MYSQL uploading text files to text fields

Avatar of RGuillermo
RGuillermoFlag for United States of America asked on
MySQL Server
13 Comments2 Solutions158 ViewsLast Modified:
Hello experts,
I need to store in trext fields some text files no bigger than a 100 k

using the following
UPDATE TBL_PATIENTS SET PAT_REM = LOAD_FILE('D:/TMP/PAT_MEMO.TXT') WHERE PAT_COD = 2;
it retuns ok but no change in the field... remains empty.

What am I doing wrong, is there a better way ?
Regards,
ASKER CERTIFIED SOLUTION
David Favor
Fractional CTO
Join our community to see this answer!
Unlock 2 Answers and 13 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 13 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros