<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://linuxnetworks.de/doc/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://linuxnetworks.de/doc/index.php?action=history&amp;feed=atom&amp;title=OpenDBX%2FC_API%2Fodbx_lo_open</id>
		<title>OpenDBX/C API/odbx lo open - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://linuxnetworks.de/doc/index.php?action=history&amp;feed=atom&amp;title=OpenDBX%2FC_API%2Fodbx_lo_open"/>
		<link rel="alternate" type="text/html" href="https://linuxnetworks.de/doc/index.php?title=OpenDBX/C_API/odbx_lo_open&amp;action=history"/>
		<updated>2026-04-06T02:26:07Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.11</generator>

	<entry>
		<id>https://linuxnetworks.de/doc/index.php?title=OpenDBX/C_API/odbx_lo_open&amp;diff=3638&amp;oldid=prev</id>
		<title>Nose: moved OpenDBX/API/odbx lo open to OpenDBX/C API/odbx lo open</title>
		<link rel="alternate" type="text/html" href="https://linuxnetworks.de/doc/index.php?title=OpenDBX/C_API/odbx_lo_open&amp;diff=3638&amp;oldid=prev"/>
				<updated>2009-04-28T21:15:49Z</updated>
		
		<summary type="html">&lt;p&gt;moved &lt;a href=&quot;/doc/index.php?title=OpenDBX/API/odbx_lo_open&quot; class=&quot;mw-redirect&quot; title=&quot;OpenDBX/API/odbx lo open&quot;&gt;OpenDBX/API/odbx lo open&lt;/a&gt; to &lt;a href=&quot;/doc/index.php?title=OpenDBX/C_API/odbx_lo_open&quot; title=&quot;OpenDBX/C API/odbx lo open&quot;&gt;OpenDBX/C API/odbx lo open&lt;/a&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 21:15, 28 April 2009&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan='2' style='text-align: center;'&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Nose</name></author>	</entry>

	<entry>
		<id>https://linuxnetworks.de/doc/index.php?title=OpenDBX/C_API/odbx_lo_open&amp;diff=3384&amp;oldid=prev</id>
		<title>Nose: 1 revision(s)</title>
		<link rel="alternate" type="text/html" href="https://linuxnetworks.de/doc/index.php?title=OpenDBX/C_API/odbx_lo_open&amp;diff=3384&amp;oldid=prev"/>
				<updated>2008-05-23T22:49:54Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision(s)&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 22:49, 23 May 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan='2' style='text-align: center;'&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Nose</name></author>	</entry>

	<entry>
		<id>https://linuxnetworks.de/doc/index.php?title=OpenDBX/C_API/odbx_lo_open&amp;diff=3383&amp;oldid=prev</id>
		<title>: docbook2x update</title>
		<link rel="alternate" type="text/html" href="https://linuxnetworks.de/doc/index.php?title=OpenDBX/C_API/odbx_lo_open&amp;diff=3383&amp;oldid=prev"/>
				<updated>2008-05-23T22:49:54Z</updated>
		
		<summary type="html">&lt;p&gt;docbook2x update&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 22:49, 23 May 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan='2' style='text-align: center;'&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
			</entry>

	<entry>
		<id>https://linuxnetworks.de/doc/index.php?title=OpenDBX/C_API/odbx_lo_open&amp;diff=3338&amp;oldid=prev</id>
		<title>Nose: /* Description */</title>
		<link rel="alternate" type="text/html" href="https://linuxnetworks.de/doc/index.php?title=OpenDBX/C_API/odbx_lo_open&amp;diff=3338&amp;oldid=prev"/>
				<updated>2008-05-23T22:40:24Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Description&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 22:40, 23 May 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 11:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 11:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Description ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Description ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Some database management systems store large amount of data in separate regions of the database and the content is only referenced by identifiers in the tables. The data types used for this are called Binary Large OBject (BLOB) and Character Large OBject (CLOB) and can be found in e.g. the Firebird and Oracle database servers. The OpenDBX library provides a large object interface to access, read and write their content via the &amp;quot;odbx_lo_*()&amp;quot; functions. To find out if large amount of data can be accessed directly or if the large object interface have to be used, [[OpenDBX/API/odbx_capabilities&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;()&lt;/del&gt;|odbx_capabilities()&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;]] &lt;/del&gt;provides the answer when feed with the ODBX_CAP_LO&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Some database management systems store large amount of data in separate regions of the database and the content is only referenced by identifiers in the tables. The data types used for this are called Binary Large OBject (BLOB) and Character Large OBject (CLOB) and can be found in e.g. the Firebird and Oracle database servers. The OpenDBX library provides a large object interface to access, read and write their content via the &amp;quot;odbx_lo_*()&amp;quot; functions. To find out if large amount of data can be accessed directly or if the large object interface have to be used, [[OpenDBX/API/odbx_capabilities|odbx_capabilities&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;]]&lt;/ins&gt;() provides the answer when feed with the ODBX_CAP_LO&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The '''''result''''' parameter has to be the result object created and returned by [[OpenDBX/API/odbx_result|odbx_result]](). It becomes invalid after it was supplied to [[OpenDBX/API/odbx_result_finish|odbx_result_finish]]() and this function will return an error in that case. The second parameter, the pointer to a odbx_lo_t*, will contain the newly created large object handle if [[OpenDBX/API/odbx_lo_open|odbx_lo_open]]() succeeds. The '''''lo''''' handle is necessary for all other functions of the large object interface so they are able to perform their operations on the referenced content. The last parameter must be the return value of [[OpenDBX/API/odbx_field_value|odbx_field_value]]() but you have to check for NULL values before feeding the value to [[OpenDBX/API/odbx_lo_open|odbx_lo_open]](). Otherwise, an error is returned.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The '''''result''''' parameter has to be the result object created and returned by [[OpenDBX/API/odbx_result|odbx_result]](). It becomes invalid after it was supplied to [[OpenDBX/API/odbx_result_finish|odbx_result_finish]]() and this function will return an error in that case. The second parameter, the pointer to a odbx_lo_t*, will contain the newly created large object handle if [[OpenDBX/API/odbx_lo_open|odbx_lo_open]]() succeeds. The '''''lo''''' handle is necessary for all other functions of the large object interface so they are able to perform their operations on the referenced content. The last parameter must be the return value of [[OpenDBX/API/odbx_field_value|odbx_field_value]]() but you have to check for NULL values before feeding the value to [[OpenDBX/API/odbx_lo_open|odbx_lo_open]](). Otherwise, an error is returned.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Nose</name></author>	</entry>

	<entry>
		<id>https://linuxnetworks.de/doc/index.php?title=OpenDBX/C_API/odbx_lo_open&amp;diff=3331&amp;oldid=prev</id>
		<title>Nose: 1 revision(s)</title>
		<link rel="alternate" type="text/html" href="https://linuxnetworks.de/doc/index.php?title=OpenDBX/C_API/odbx_lo_open&amp;diff=3331&amp;oldid=prev"/>
				<updated>2008-05-23T22:33:26Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision(s)&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 22:33, 23 May 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan='2' style='text-align: center;'&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Nose</name></author>	</entry>

	<entry>
		<id>https://linuxnetworks.de/doc/index.php?title=OpenDBX/C_API/odbx_lo_open&amp;diff=3330&amp;oldid=prev</id>
		<title>: docbook2x update</title>
		<link rel="alternate" type="text/html" href="https://linuxnetworks.de/doc/index.php?title=OpenDBX/C_API/odbx_lo_open&amp;diff=3330&amp;oldid=prev"/>
				<updated>2008-05-23T22:33:26Z</updated>
		
		<summary type="html">&lt;p&gt;docbook2x update&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOTOC__&lt;br /&gt;
'''Opens a large object in the database'''&lt;br /&gt;
&lt;br /&gt;
 #include &amp;lt;opendbx/api.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 int '''odbx_lo_open'''(&lt;br /&gt;
     odbx_result_t* '''''result''''',&lt;br /&gt;
     odbx_lo_t** '''''lo''''',&lt;br /&gt;
     const char* '''''value''''' )&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
Some database management systems store large amount of data in separate regions of the database and the content is only referenced by identifiers in the tables. The data types used for this are called Binary Large OBject (BLOB) and Character Large OBject (CLOB) and can be found in e.g. the Firebird and Oracle database servers. The OpenDBX library provides a large object interface to access, read and write their content via the &amp;quot;odbx_lo_*()&amp;quot; functions. To find out if large amount of data can be accessed directly or if the large object interface have to be used, [[OpenDBX/API/odbx_capabilities()|odbx_capabilities()]] provides the answer when feed with the ODBX_CAP_LO&lt;br /&gt;
&lt;br /&gt;
The '''''result''''' parameter has to be the result object created and returned by [[OpenDBX/API/odbx_result|odbx_result]](). It becomes invalid after it was supplied to [[OpenDBX/API/odbx_result_finish|odbx_result_finish]]() and this function will return an error in that case. The second parameter, the pointer to a odbx_lo_t*, will contain the newly created large object handle if [[OpenDBX/API/odbx_lo_open|odbx_lo_open]]() succeeds. The '''''lo''''' handle is necessary for all other functions of the large object interface so they are able to perform their operations on the referenced content. The last parameter must be the return value of [[OpenDBX/API/odbx_field_value|odbx_field_value]]() but you have to check for NULL values before feeding the value to [[OpenDBX/API/odbx_lo_open|odbx_lo_open]](). Otherwise, an error is returned.&lt;br /&gt;
&lt;br /&gt;
== Return value ==&lt;br /&gt;
&lt;br /&gt;
[[OpenDBX/API/odbx_lo_open|odbx_lo_open]]() returns ODBX_ERR_SUCCESS, or an error code whose value is less than zero if one of the operations couldn't be completed successfully. Possible error codes are listed in the error section and they can be feed to [[OpenDBX/API/odbx_error|odbx_error]]() and [[OpenDBX/API/odbx_error_type|odbx_error_type]]() to get further details.&lt;br /&gt;
&lt;br /&gt;
== Errors ==&lt;br /&gt;
&lt;br /&gt;
; -ODBX_ERR_BACKEND : The native database library couldn't open the large object&lt;br /&gt;
; -ODBX_ERR_NOMEM : Allocating additionally required memory failed&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[OpenDBX/API/odbx_capabilities|odbx_capabilities]]()&lt;br /&gt;
* [[OpenDBX/API/odbx_field_value|odbx_field_value]]()&lt;br /&gt;
* [[OpenDBX/API/odbx_lo_close|odbx_lo_close]]()&lt;br /&gt;
* [[OpenDBX/API/odbx_lo_read|odbx_lo_read]]()&lt;br /&gt;
* [[OpenDBX/API/odbx_lo_write|odbx_lo_write]]()&lt;br /&gt;
* [[OpenDBX/API/odbx_result|odbx_result]]()&lt;/div&gt;</summary>
			</entry>

	</feed>