Insert Text file in a Text field
Posted in 2012
Topics: General Discussion
Hello. I am trying to save a Text file in a text field in my database, but when i tried, Informix says to me that i need a blob type to insert in this field. who could do this? Thanks
What tool are you using to do the insert? Art On Jan 10, 2012 2:01 PM, "DANIEL GONZALEZ" <dagonzalez@venezolano.com> wrote: > Hello. > > I am trying to save a Text file in a text field in my database, but when i > tried, Informix says to me that i need a blob type to insert in this field. > > who could do this? > > Thanks > > > > ******************************************************************************* > Forum Note: Use "Reply" to post a response in the discussion forum. > > --90e6ba6e88922cb97104b63259c1
I'M USING SQL IBM DATA STUDIO THIS IS THE SENTENCE OF SQL: INSERT INTO MY_TABLE VALUES (FILETOCLOB('URL','CLIENT')); I'M DOING IN SQL BECAUSE THE FILE IS IN MY PC AND NOT IN THE SERVER BECAUSE OF THAT I DONT USE THE FUNCTION LOAD. THANKS!