At 3:22 AM +0300 5/23/01, Olexandr Vynnychenko wrote:
>Hello mysql,
>
>Can anybody tell me what should I do? I use LONGTEXT column in my
>table to store data files (html, for example). But I see that I cannot simply
>INSERT INTO table SET longtext_column=whole_file. But I must do it today. But
>how???

The LOAD_FILE() function might help you if you have the files on the
server host and you have the FILE privilege.

>
>Thanks beforehand.
>
>--
>Best regards,
>  Olexandr Vynnychenko                          mailto:[EMAIL PROTECTED]


-- 
Paul DuBois, [EMAIL PROTECTED]

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to