<?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: PLEASE HELP! MS SQL Server varchar change to varbinary in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/PLEASE-HELP-MS-SQL-Server-varchar-change-to-varbinary/m-p/2207741#M7260</link>
    <description>Hi Cantonie, 
&lt;BR /&gt;Thanks for your quick reply! 
&lt;BR /&gt;I used tDBOutput because I prefer to use ODBC driver and the TOS version is 4.0. I am not sure what kind of mistake I did in my schema definition. I used the functionality "Retrieve Schema" in Metadata and define the repository in tDBOutput and TOS automatically coverts "varchar" to "varbinary" which when I want to edit schema, I cannot change "varbinary". 
&lt;BR /&gt;If possible, can you please give me an example on how to modify the mapping_MsODBC.xml? If I want VARCHAR to String or String to VARCHAR. 
&lt;BR /&gt;Thanks again and hope to hearing from you soon.</description>
    <pubDate>Thu, 05 Aug 2010 00:05:09 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2010-08-05T00:05:09Z</dc:date>
    <item>
      <title>PLEASE HELP! MS SQL Server varchar change to varbinary</title>
      <link>https://community.qlik.com/t5/Talend-Studio/PLEASE-HELP-MS-SQL-Server-varchar-change-to-varbinary/m-p/2207739#M7258</link>
      <description>Hi,&lt;BR /&gt;I had a simple job trying to import data from excel into MS SQL Server.   &lt;BR /&gt;tFileExcelInput -&amp;gt; Main -&amp;gt; tMap -&amp;gt; Main -&amp;gt; tDBOutput&lt;BR /&gt;In the tDBOutput, I connected to MS SQL Server which has column datatype defined as "varchar"; however, the schema in Talend changes to  "varbinary" datatype and I cannot import the data into MS SQL Server unless I use datatype "byte[]" in Talend which after the job is executed the data is imported as NULL.  &lt;BR /&gt;Can you anyone please help!! &lt;BR /&gt;Thanks in advance!</description>
      <pubDate>Sat, 16 Nov 2024 13:19:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/PLEASE-HELP-MS-SQL-Server-varchar-change-to-varbinary/m-p/2207739#M7258</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: PLEASE HELP! MS SQL Server varchar change to varbinary</title>
      <link>https://community.qlik.com/t5/Talend-Studio/PLEASE-HELP-MS-SQL-Server-varchar-change-to-varbinary/m-p/2207740#M7259</link>
      <description>Hi Klmc,&lt;BR /&gt;Why did you use the tDBOutput instead of the tMSSQLOutput ? &lt;BR /&gt;I assume you prefer to use the ODBC driver than the JDBC driver, correct ?&lt;BR /&gt;In Talend; the Mapping between DataType from the Database and TalendType can be customize to fit and match with your need.&lt;BR /&gt;In your Studio, you can open the Preferences (go to the Menu, choose Window and then Preferences ); dig into Talend &amp;gt; Specific settings &amp;gt; Metadata of Talend.&lt;BR /&gt;You'll find the metadata Mapping to resolve DataType to TalendType and vice versa.&lt;BR /&gt;For tDBOutput, the metadata file should be mapping_MsOdbc.xml, you can edit it and then save it. It would be better to convert your VARCHAR to String, or your String to VARCHAR.&lt;BR /&gt;By the way, I have check and maybe you have done a quick mistake in your Schema definition because I'm not able to reproduce your issue.&lt;BR /&gt;What is the version of the studio you use ?&lt;BR /&gt;Hope that helps in your resolution.</description>
      <pubDate>Wed, 04 Aug 2010 22:55:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/PLEASE-HELP-MS-SQL-Server-varchar-change-to-varbinary/m-p/2207740#M7259</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-08-04T22:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: PLEASE HELP! MS SQL Server varchar change to varbinary</title>
      <link>https://community.qlik.com/t5/Talend-Studio/PLEASE-HELP-MS-SQL-Server-varchar-change-to-varbinary/m-p/2207741#M7260</link>
      <description>Hi Cantonie, 
&lt;BR /&gt;Thanks for your quick reply! 
&lt;BR /&gt;I used tDBOutput because I prefer to use ODBC driver and the TOS version is 4.0. I am not sure what kind of mistake I did in my schema definition. I used the functionality "Retrieve Schema" in Metadata and define the repository in tDBOutput and TOS automatically coverts "varchar" to "varbinary" which when I want to edit schema, I cannot change "varbinary". 
&lt;BR /&gt;If possible, can you please give me an example on how to modify the mapping_MsODBC.xml? If I want VARCHAR to String or String to VARCHAR. 
&lt;BR /&gt;Thanks again and hope to hearing from you soon.</description>
      <pubDate>Thu, 05 Aug 2010 00:05:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/PLEASE-HELP-MS-SQL-Server-varchar-change-to-varbinary/m-p/2207741#M7260</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-08-05T00:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: PLEASE HELP! MS SQL Server varchar change to varbinary</title>
      <link>https://community.qlik.com/t5/Talend-Studio/PLEASE-HELP-MS-SQL-Server-varchar-change-to-varbinary/m-p/2207742#M7261</link>
      <description>Hi,&lt;BR /&gt;I tried couple of ways to fix the issue but none of them work, any help is really really appreciated.&lt;BR /&gt;I encountered error:&lt;BR /&gt;==&amp;gt; Implicit conversion from data type nvarchar to varbinary is not allowed. Use the CONVERT function to run this query.&lt;BR /&gt;1) Used tMSSQLOutput and use Built-in Schema option and built the schema to use 'String' datatype which converts to &lt;BR /&gt;2) Changed the mapping_mssql.xml as follows:&lt;BR /&gt;&amp;lt;dbType type="VARBINARY"&amp;gt;&lt;BR /&gt; &amp;lt;talendType type="id_String" default="true" /&amp;gt;&lt;BR /&gt;&amp;lt;/dbType&amp;gt;&lt;BR /&gt;&amp;lt;dbType type="VARCHAR"&amp;gt;&lt;BR /&gt; &amp;lt;talendType type="id_String" default="true" /&amp;gt;&lt;BR /&gt;&amp;lt;/dbType&amp;gt;&lt;BR /&gt;&amp;lt;dbType type="NVARCHAR"&amp;gt;&lt;BR /&gt;  &amp;lt;talendType type="id_String" default="true" /&amp;gt;&lt;BR /&gt;&amp;lt;/dbType&amp;gt;&lt;BR /&gt;&amp;lt;talendType type="id_String"&amp;gt;&lt;BR /&gt; &amp;lt;dbType type="VARCHAR" default="true" /&amp;gt;&lt;BR /&gt; &amp;lt;dbType type="NVARCHAR" /&amp;gt;&lt;BR /&gt; &amp;lt;dbType type="NCHAR" /&amp;gt;&lt;BR /&gt; &amp;lt;dbType type="NTEXT" /&amp;gt;&lt;BR /&gt; &amp;lt;dbType type="TEXT" /&amp;gt;&lt;BR /&gt;&amp;lt;talendType&amp;gt;&lt;BR /&gt;Thanks in advance!</description>
      <pubDate>Thu, 05 Aug 2010 08:43:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/PLEASE-HELP-MS-SQL-Server-varchar-change-to-varbinary/m-p/2207742#M7261</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-08-05T08:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: PLEASE HELP! MS SQL Server varchar change to varbinary</title>
      <link>https://community.qlik.com/t5/Talend-Studio/PLEASE-HELP-MS-SQL-Server-varchar-change-to-varbinary/m-p/2207743#M7262</link>
      <description>Does anyone has the same issue? Any help / idea is really really appreciated!</description>
      <pubDate>Wed, 11 Aug 2010 20:08:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/PLEASE-HELP-MS-SQL-Server-varchar-change-to-varbinary/m-p/2207743#M7262</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-08-11T20:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: PLEASE HELP! MS SQL Server varchar change to varbinary</title>
      <link>https://community.qlik.com/t5/Talend-Studio/PLEASE-HELP-MS-SQL-Server-varchar-change-to-varbinary/m-p/2207744#M7263</link>
      <description>hi klmc 
&lt;BR /&gt;i have mainly used Talend with MSSQL and i have to say that i have not found your problem as yet. 
&lt;BR /&gt;as pointed out by 'cantoine' you would find more efficient and adequate to use MSSQL components. 
&lt;BR /&gt;the only wrong mapping Talend has shown to me; were against some views but they were just badly written with implicit casting. 
&lt;BR /&gt;thus i suggest you to use tMssqlOutput and download the ntlmauth.dll from jtds website if you want to use NT domain authentication. 
&lt;BR /&gt;hope it help.</description>
      <pubDate>Wed, 11 Aug 2010 21:57:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/PLEASE-HELP-MS-SQL-Server-varchar-change-to-varbinary/m-p/2207744#M7263</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-08-11T21:57:30Z</dc:date>
    </item>
  </channel>
</rss>

