<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/">
    <channel>
        <title>CUBRID Q&amp;A</title>
        <link>http://www.cubrid.org/?mid=questions</link>
        <description>CUBRID Q&amp;A</description>
        <language>en</language>
        <pubDate>Fri, 21 Oct 2011 02:37:10 -0800</pubDate>
        <lastBuildDate>Thu, 23 May 2013 18:14:26 -0800</lastBuildDate>
        <generator>XpressEngine 1.4.4.1</generator>
                        										        <item>
            <title>ADO.NET return error &quot;Don&apos;t know how to write the parameter!&quot;</title>
            <dc:creator>castle79</dc:creator>
            <link>http://www.cubrid.org/questions/363386</link>
            <guid isPermaLink="true">http://www.cubrid.org/questions/363386</guid>
                                    <description><![CDATA[<p>


Hi, I am trying to insert a image into the database, my database is type BLOB and in C# is type byte[].</p><p>When I try to do the insert the error is:<font size="1">&nbsp;</font><b>Don't know how to write the parameter!</b></p><p><font size="1"><span style="font-size: 13px;">Whats is wrong? how can I get a more technical&nbsp;description&nbsp;error from database.</span></font></p><p><font size="1"><span style="font-size: 13px;">Why has error with BLOB type?</span></font></p><p></p><div id="endic_ext_wrapper" style="display: none; "></div>]]></description>
                        <pubDate>Tue, 22 May 2012 16:50:13 -0800</pubDate>
                        <category>SQL</category>
                        <category>ADO.NET</category>
                        <category>BLOB</category>
                                    <slash:comments>1</slash:comments>
                    </item>
        										        <item>
            <title>Please provide an example of using blob_from_file in an update or insert statement reading a file from /tmp/</title>
            <dc:creator>andrevanzuydam</dc:creator>
            <link>http://www.cubrid.org/questions/359623</link>
            <guid isPermaLink="true">http://www.cubrid.org/questions/359623</guid>
                                    <description><![CDATA[<p>For Example<br /></p><p>UPDATE tblfile SET fileimage =&nbsp; BLOB_FROM_FILE ('/tmp/image.png')&nbsp; WHERE fileid = '2b93d4629241d287915a422f6d1a90374de95ef0'</p><p>BUT</p><p>This is giving me a Cannot coerce blob to type unknown data type error.</p><p>fileimage is a blob<br /></p><p><br /></p><div id="endic_ext_wrapper" style="display: none; "></div><div id="endic_ext_wrapper" style="display: none; "></div>]]></description>
                        <pubDate>Tue, 15 May 2012 06:38:21 -0800</pubDate>
                        <category>SQL</category>
                        <category>BLOB</category>
                        <category>BLOB_FROM_FILE</category>
                                    <slash:comments>1</slash:comments>
                    </item>
            </channel>
</rss>
