<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>How to Define &amp;quot;BLOB&amp;quot; dataType of SQL in Appian CDT</title><link>https://community.appian.com/discussions/f/general/8327/how-to-define-blob-datatype-of-sql-in-appian-cdt</link><description>Guyz, I have a table in database with three columns ID - Number Document - BLOB Name - VARCHAR The Document column is of &amp;quot;BLOB&amp;quot; DataType.... Now I need to create a CDT and Map it to the Table To do so what should be the dataType in my CDT or XSD Definition</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to Define "BLOB" dataType of SQL in Appian CDT</title><link>https://community.appian.com/thread/68478?ContentTypeID=1</link><pubDate>Tue, 30 Jul 2019 14:07:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ff7ee0a2-9441-4f46-bb4a-0edc2d0ed3ed</guid><dc:creator>Pramod Kumar Reddy Uppula</dc:creator><description>&lt;p&gt;Hi All,&lt;/p&gt;
&lt;p&gt;We are storing the documents uploaded in an external database and the documents are no where stored in Appian. I need to retrieve the documents from external DB and display them in appian interface. For this, I am using &amp;quot;Receive file from RDBMS BLOB&amp;quot;. Can anyone help me in configuring this node.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Define "BLOB" dataType of SQL in Appian CDT</title><link>https://community.appian.com/thread/36538?ContentTypeID=1</link><pubDate>Sat, 03 Sep 2016 11:40:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c0bbd45c-0465-487e-b878-4be43c4146b8</guid><dc:creator>Stefan Helzle</dc:creator><description>OK, thanks.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Define "BLOB" dataType of SQL in Appian CDT</title><link>https://community.appian.com/thread/36536?ContentTypeID=1</link><pubDate>Sat, 03 Sep 2016 07:29:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f8d2e306-4c35-4fcf-97e4-b8a7503cc56f</guid><dc:creator>mohammedz</dc:creator><description>We need to fetch Bin Doc from external DB, as it is stored der in BLOB Format ...&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Define "BLOB" dataType of SQL in Appian CDT</title><link>https://community.appian.com/thread/36513?ContentTypeID=1</link><pubDate>Fri, 02 Sep 2016 16:46:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3bce72f5-e4c2-415c-bf4d-ee7f7510b9df</guid><dc:creator>Stefan Helzle</dc:creator><description>OK. Great it works now. Just one question. Why do you store binary documents in DB?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Define "BLOB" dataType of SQL in Appian CDT</title><link>https://community.appian.com/thread/36511?ContentTypeID=1</link><pubDate>Fri, 02 Sep 2016 16:15:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:64f55b70-a2d7-4119-af73-b237106d8d70</guid><dc:creator>mohammedz</dc:creator><description>I declared three columns and passed two values ... Silly mistake ..human error lolzz&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Define "BLOB" dataType of SQL in Appian CDT</title><link>https://community.appian.com/thread/36507?ContentTypeID=1</link><pubDate>Fri, 02 Sep 2016 14:25:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:32cc774c-4702-4ced-9d93-a97901165aad</guid><dc:creator>Stefan Helzle</dc:creator><description>What was the problem?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Define "BLOB" dataType of SQL in Appian CDT</title><link>https://community.appian.com/thread/36504?ContentTypeID=1</link><pubDate>Fri, 02 Sep 2016 13:23:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e9104f82-c3a0-4283-a142-5483d56a015b</guid><dc:creator>mohammedz</dc:creator><description>@stefan&lt;br /&gt;Never mind ....!!&lt;br /&gt;I fixed the issue .. Thanks again for your valuable thoughts ...!!!&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Define "BLOB" dataType of SQL in Appian CDT</title><link>https://community.appian.com/thread/36503?ContentTypeID=1</link><pubDate>Fri, 02 Sep 2016 13:14:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e93ff1ca-fe11-4aff-b96f-81c6679d620a</guid><dc:creator>mohammedz</dc:creator><description>For sending the doc as BLOB i am using insert query. I have tried multiple combination but still I am getting the below error&lt;br /&gt;&lt;br /&gt;java.sql.SQLSyntaxErrorException: ORA-00947: not enough values&lt;br /&gt;&lt;br /&gt;Got to know the error why this is happening as we are passing (?) it is throwing ORA Error&lt;br /&gt;&lt;br /&gt;@stefan &lt;br /&gt;Any thought like how can we overcome this ....?? Eager to know your thought so that it would be helpful for me to proceed further&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Define "BLOB" dataType of SQL in Appian CDT</title><link>https://community.appian.com/thread/36501?ContentTypeID=1</link><pubDate>Fri, 02 Sep 2016 11:23:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f5f2e4d0-0580-4b25-bdf7-7ed7d0a10375</guid><dc:creator>Stefan Helzle</dc:creator><description>You are very welcome :-)&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Define "BLOB" dataType of SQL in Appian CDT</title><link>https://community.appian.com/thread/36499?ContentTypeID=1</link><pubDate>Fri, 02 Sep 2016 10:46:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fdf45fa7-d194-4c4f-89aa-27716c96406c</guid><dc:creator>mohammedz</dc:creator><description>Thanks stefan...!!! Looks to be the text which posted worked for Receiving BLOB into Appian&lt;br /&gt;Let me check it for sending..!!!&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Define "BLOB" dataType of SQL in Appian CDT</title><link>https://community.appian.com/thread/36453?ContentTypeID=1</link><pubDate>Wed, 31 Aug 2016 19:53:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:31b22ea1-fee2-4fb9-9f4e-e3b571ef2654</guid><dc:creator>Stefan Helzle</dc:creator><description>I deployed the plugin tried to provide some SQL text to it. Try something like this&lt;br /&gt;&lt;br /&gt;=&amp;quot;INSERT INTO &amp;quot;&amp;quot;BPMBUSINESS&amp;quot;&amp;quot;.&amp;quot;&amp;quot;CABCBLOBTESTZUBAIR&amp;quot;&amp;quot; (DOCBLOB) VALUES (?)&amp;quot;&lt;br /&gt;&lt;br /&gt;I did not test whether it works or not, but this should get you started.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Define "BLOB" dataType of SQL in Appian CDT</title><link>https://community.appian.com/thread/36451?ContentTypeID=1</link><pubDate>Wed, 31 Aug 2016 19:22:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e6406dd0-1b69-49d9-a086-a572a26345ee</guid><dc:creator>mohammedz</dc:creator><description>@stefan&lt;br /&gt;Yup I added the ? .. but when I try to save expression is giving error like invalid character is der like that&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Define "BLOB" dataType of SQL in Appian CDT</title><link>https://community.appian.com/thread/36446?ContentTypeID=1</link><pubDate>Wed, 31 Aug 2016 16:44:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:81eac80b-2f17-452d-89f8-ad6945372fb7</guid><dc:creator>Stefan Helzle</dc:creator><description>The documentation states to include the question mark. Have you tried this?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Define "BLOB" dataType of SQL in Appian CDT</title><link>https://community.appian.com/thread/36434?ContentTypeID=1</link><pubDate>Wed, 31 Aug 2016 12:54:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3a7b1335-16d7-415d-95cf-4951456261cc</guid><dc:creator>mohammedz</dc:creator><description>@Ankit&lt;br /&gt;&lt;br /&gt;I have published  the CDT and DataStore&lt;br /&gt;When i try fetching the table data using a QueryRule I am not getting data&lt;br /&gt;Getting the below Error&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;There was an error testing the rule:&lt;br /&gt;&lt;br /&gt;Expression evaluation error in rule 'blob_getdata' at function 'queryruleexec': Error evaluating function 'queryruleexec' : Unexpected error executing query (type: [CABCBLOBCDTDT23013], query: [BLOB_getData], order by: [[]], filters:[(ID = TypedValue[it=1,v=5])])&lt;br /&gt;&lt;br /&gt;Any idea how to fetch data ??&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Define "BLOB" dataType of SQL in Appian CDT</title><link>https://community.appian.com/thread/36433?ContentTypeID=1</link><pubDate>Wed, 31 Aug 2016 12:52:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b88024a9-7153-41c9-bc68-ea287fb6eddd</guid><dc:creator>mohammedz</dc:creator><description>Yup i have tried this too but seems to be not working&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Define "BLOB" dataType of SQL in Appian CDT</title><link>https://community.appian.com/thread/36431?ContentTypeID=1</link><pubDate>Wed, 31 Aug 2016 12:21:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9641efff-34dd-40d0-8b7c-133ba865d54d</guid><dc:creator>Stefan Helzle</dc:creator><description>Looks like to many parenthesis. Have you tried this: =&amp;#39;INSERT INTO &amp;quot;BPMBUSINESS&amp;quot;.&amp;quot;CABCBLOBTESTZUBAIR&amp;quot; (DOCBLOB) VALUES (ac!doc)&amp;#39;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Define "BLOB" dataType of SQL in Appian CDT</title><link>https://community.appian.com/thread/36430?ContentTypeID=1</link><pubDate>Wed, 31 Aug 2016 11:55:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1391bfc3-8513-4fb5-965b-7623adde5581</guid><dc:creator>mohammedz</dc:creator><description>Yup I followed the same and used the below expression. Its not working. I am not able to save the process model only&lt;br /&gt;&lt;br /&gt;=(&amp;#39;INSERT INTO &amp;quot;BPMBUSINESS&amp;quot;.&amp;quot;CABCBLOBTESTZUBAIR&amp;quot; (DOCBLOB) VALUES (ac!doc))&amp;#39;)&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Define "BLOB" dataType of SQL in Appian CDT</title><link>https://community.appian.com/thread/36429?ContentTypeID=1</link><pubDate>Wed, 31 Aug 2016 11:46:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a50df188-e766-4161-bd66-889d2dbf2726</guid><dc:creator>Stefan Helzle</dc:creator><description>Documentation says: Blob SQL Query (Please include &amp;quot;?&amp;quot; as parameter to refer to blob column in the column list and keep it as first parameter (i.e. &amp;quot;INSERT INTO [TABLE_NAME] ([BLOB_COLUMN]) VALUES (?)&amp;quot;))&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Define "BLOB" dataType of SQL in Appian CDT</title><link>https://community.appian.com/thread/36428?ContentTypeID=1</link><pubDate>Wed, 31 Aug 2016 11:44:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a4145e63-034d-4a40-af1a-19b7b2c4486d</guid><dc:creator>mohammedz</dc:creator><description>@stefan791&lt;br /&gt;&lt;br /&gt;We have three parameters&lt;br /&gt;Datastore and Documents are fine. But I dont understand how to pass the Query into Second parameter. Any Idea of passing it&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="/cfs-filesystemfile/__key/communityserver-discussions-components-files/11/BLOB-SS.JPG"&gt;&lt;img src="/cfs-filesystemfile/__key/communityserver-discussions-components-files/11/BLOB-SS.JPG" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Define "BLOB" dataType of SQL in Appian CDT</title><link>https://community.appian.com/thread/36427?ContentTypeID=1</link><pubDate>Wed, 31 Aug 2016 11:44:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:96ad5267-fd8f-4144-8c1f-80cab55c1909</guid><dc:creator>Stefan Helzle</dc:creator><description>Mapping a CDT field to a BLOB will not allow you to store or retrieve documents in DB. You have to use the plugin. I never used this plugin, but the documentation looks pretty simple. What is your problem?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Define "BLOB" dataType of SQL in Appian CDT</title><link>https://community.appian.com/thread/36426?ContentTypeID=1</link><pubDate>Wed, 31 Aug 2016 11:40:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5a15314a-ffed-4b3b-850d-e5446aff1a2a</guid><dc:creator>mohammedz</dc:creator><description>@stefan791&lt;br /&gt;&lt;br /&gt;I am using the same what you mentioned.But I have a issue&lt;br /&gt;How to pass the SQL Query to the smart Service&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Define "BLOB" dataType of SQL in Appian CDT</title><link>https://community.appian.com/thread/36425?ContentTypeID=1</link><pubDate>Wed, 31 Aug 2016 11:38:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:dc163890-576a-48e9-bf6f-bdf785c2abb3</guid><dc:creator>mohammedz</dc:creator><description>Great Ankit .... Same annotation worked for BLOB as well&lt;br /&gt;&lt;br /&gt;Appreciate ur help ..!! Thanks&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Define "BLOB" dataType of SQL in Appian CDT</title><link>https://community.appian.com/thread/36424?ContentTypeID=1</link><pubDate>Wed, 31 Aug 2016 11:38:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:381aa72e-e1c7-4988-91d3-5495e58f947c</guid><dc:creator>Stefan Helzle</dc:creator><description>To store documents in DB there is some plugins available.&lt;br /&gt;&lt;br /&gt;&lt;a href="https://forum.appian.com/suite/tempo/records/type/components/search/blob"&gt;forum.appian.com/.../blob&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;You will have to check compatibility of these plugins as they are for 7.10. To access the data from Appian you can just skip the document field as the plugin uses SQL queries to read and write data.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Define "BLOB" dataType of SQL in Appian CDT</title><link>https://community.appian.com/thread/36423?ContentTypeID=1</link><pubDate>Wed, 31 Aug 2016 11:10:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:03223b84-8b44-4e05-804b-cb35d9f816c5</guid><dc:creator>ankitb703441</dc:creator><description>I have used the following definition for CLOB, It worked for me. it should be same for BLOB.&lt;br /&gt;     &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  &amp;lt;xsd:element name=&amp;quot;DOCUMENT&amp;quot; nillable=&amp;quot;true&amp;quot; type=&amp;quot;xsd:string&amp;quot;&amp;gt;&lt;br /&gt;        &amp;lt;xsd:annotation&amp;gt;&lt;br /&gt;          &amp;lt;xsd:appinfo source=&amp;quot;appian.jpa&amp;quot;&amp;gt;@Column(name=&amp;quot;DOCUMENT&amp;quot;, columnDefinition=&amp;quot;CLOB&amp;quot;)&amp;lt;/xsd:appinfo&amp;gt;&lt;br /&gt;        &amp;lt;/xsd:annotation&amp;gt;&lt;br /&gt;      &amp;lt;/xsd:element&amp;gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Define "BLOB" dataType of SQL in Appian CDT</title><link>https://community.appian.com/thread/36422?ContentTypeID=1</link><pubDate>Wed, 31 Aug 2016 11:04:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f54d57c0-8b7e-4252-a9e7-fe51d73d9947</guid><dc:creator>mohammedz</dc:creator><description>Is there could be any other approach ?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>