LOAD_FILE(file_name) : LOAD_FILE : String Functions MySQL TUTORIALS


MySQL TUTORIALS » String Functions » LOAD_FILE »

 

LOAD_FILE(file_name)


The file size must be less than max_allowed_packet bytes.

If the file does not exist or cannot be read, the function returns NULL.

UPDATE myTable SET text_col=LOAD_FILE('/tmp/picture');



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

MySQL TUTORIALS

 Navioo String Functions
» LOAD_FILE