<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Insert image into SQL Server 2008 database in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Insert-image-into-SQL-Server-2008-database/m-p/2311026#M82099</link>
    <description>Thanks for that. I can connect ok now and put data into the image field. But now I have a problem with data translation. The image data that's appearing in the database seems to have had all the bytes in the range x80 - x9f changed to x3f. I can't find any encoding either for storing or retrieving the data correctly.
&lt;BR /&gt;If I just read the file in and output it to a new file it's ok so it's something in the storing on database that's the problem.
&lt;BR /&gt;I'm using TIS 3.1.4.</description>
    <pubDate>Thu, 11 Mar 2010 14:17:52 GMT</pubDate>
    <dc:creator>janhess</dc:creator>
    <dc:date>2010-03-11T14:17:52Z</dc:date>
    <item>
      <title>Insert image into SQL Server 2008 database</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Insert-image-into-SQL-Server-2008-database/m-p/2311024#M82097</link>
      <description>I have a requirement to insert .jpg pictures into a SQL Server 2008 database table. The column in the table is defined as Image and the picture is a string.&lt;BR /&gt;I have had to connect to the database using ODBC as Talend doesn't seem to like a server name in the format AAASQLSERVER/ADU2008&lt;BR /&gt;However I am unable to insert the picture as it fails with the error Operand type clash: text is incompatible with image.&lt;BR /&gt;Any idea on how to insert an image?</description>
      <pubDate>Sat, 16 Nov 2024 13:30:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Insert-image-into-SQL-Server-2008-database/m-p/2311024#M82097</guid>
      <dc:creator>janhess</dc:creator>
      <dc:date>2024-11-16T13:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: Insert image into SQL Server 2008 database</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Insert-image-into-SQL-Server-2008-database/m-p/2311025#M82098</link>
      <description>If you want to connect to a named instance of a MSSQL server you need to add the instance name in the jdbc additional parameters field as "instance=myInstance;" As for the data type, images are binary and contain non-printable characters and are incompatible with the string data type (unless you base64 encode the entire image) Try instead using a Byte array (Byte[]) which can hold raw or binary data. 
&lt;BR /&gt; 
&lt;BR /&gt;HTH, 
&lt;BR /&gt; Josh</description>
      <pubDate>Wed, 10 Mar 2010 21:27:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Insert-image-into-SQL-Server-2008-database/m-p/2311025#M82098</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-03-10T21:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: Insert image into SQL Server 2008 database</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Insert-image-into-SQL-Server-2008-database/m-p/2311026#M82099</link>
      <description>Thanks for that. I can connect ok now and put data into the image field. But now I have a problem with data translation. The image data that's appearing in the database seems to have had all the bytes in the range x80 - x9f changed to x3f. I can't find any encoding either for storing or retrieving the data correctly.
&lt;BR /&gt;If I just read the file in and output it to a new file it's ok so it's something in the storing on database that's the problem.
&lt;BR /&gt;I'm using TIS 3.1.4.</description>
      <pubDate>Thu, 11 Mar 2010 14:17:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Insert-image-into-SQL-Server-2008-database/m-p/2311026#M82099</guid>
      <dc:creator>janhess</dc:creator>
      <dc:date>2010-03-11T14:17:52Z</dc:date>
    </item>
  </channel>
</rss>

