List:General Discussion« Previous MessageNext Message »
From:Egor Egorov Date:July 4 2003 3:19pm
Subject:Re: BLOB fields
View as plain text  
"Sreesekhar  Palaparthy" <sreesekhar_p@stripped> wrote:
>        If i have a table having fields of different datatypes 
> which
>  include BLOB/TEXT type, how do i give an insert statement?? Can 
> i
>  give a query to insert only BLOB/TEXT field seperately? Please
>  help me out.

You can insert data to the BLOB/TEXT column as in usual column. If you want to load data
from the file to this column you can use LOAD_FILE() function:
	http://www.mysql.com/doc/en/String_functions.html



-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Egor Egorov
 / /|_/ / // /\ \/ /_/ / /__   Egor.Egorov@stripped
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com



Thread
BLOB fieldsSreesekhar  Palaparthy4 Jul
  • Re: BLOB fieldsEgor Egorov4 Jul