C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML
| MySQL LOAD_FILE() FunctionLOAD_FILE(file_name) is a Sring function of MySQL. This method returns content of file. If file does not exist or it cannot be read then it returns NULL. Syntax
 LOAD_FILE(file_name); Example 1
 
Update table1 set img= LOAD_FILE('D:\image_file.jpg');
Output:     
Next TopicMySQL String
 |