<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>the empty quarter &#187; Database</title>
	<atom:link href="http://www.martinhammer.com/blog/index.php/category/techie/database/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.martinhammer.com/blog</link>
	<description>Sorry, but you are looking for something that isn’t here.</description>
	<lastBuildDate>Sat, 04 Feb 2012 12:33:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
		<item>
		<title>Install Oracle XE on Ubuntu</title>
		<link>http://www.martinhammer.com/blog/index.php/2012/02/install-oracle-xe-on-ubuntu/</link>
		<comments>http://www.martinhammer.com/blog/index.php/2012/02/install-oracle-xe-on-ubuntu/#comments</comments>
		<pubDate>Sat, 04 Feb 2012 11:21:13 +0000</pubDate>
		<dc:creator>martin</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.martinhammer.com/blog/?p=691</guid>
		<description><![CDATA[Steps to install Oracle Express Edition (XE) database 10g on Ubuntu 11.10 (Oneiric). Download the Oracle XE deb package (free registration is required). Double click the downloaded file and select to install it. In terminal run sudo /etc/init.d/oracle-xe configure. You will be prompted to enter the following parameters: HTTP port number, database listener port number, [...]]]></description>
			<content:encoded><![CDATA[<p>Steps to install Oracle Express Edition (XE) database 10g on Ubuntu 11.10 (Oneiric).</p>
<ol>
<li><a href="http://www.oracle.com/technetwork/database/express-edition/downloads/102xelinsoft-102048.html">Download</a> the Oracle XE deb package (free registration is required).</li>
<li>Double click the downloaded file and select to install it.</li>
<li>In terminal run <code>sudo /etc/init.d/oracle-xe configure</code>.</li>
<li>You will be prompted to enter the following parameters: HTTP port number, database listener port number, SYSTEM and SYS database accounts password and whether the service should be started upon boot.</li>
<li>Thereafter the configuration might take a few minutes. That&#8217;s it. To start the service in the future run <code>sudo /etc/init.d/oracle-xe start</code> and to stop <code>sudo /etc/init.d/oracle-xe stop</code>.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.martinhammer.com/blog/index.php/2012/02/install-oracle-xe-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Prompt for variables in Oracle SQL*Plus</title>
		<link>http://www.martinhammer.com/blog/index.php/2009/05/prompt-for-variables-in-oracle-sqlplus/</link>
		<comments>http://www.martinhammer.com/blog/index.php/2009/05/prompt-for-variables-in-oracle-sqlplus/#comments</comments>
		<pubDate>Sat, 09 May 2009 10:02:31 +0000</pubDate>
		<dc:creator>martin</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://www.martinhammer.com/blog/?p=190</guid>
		<description><![CDATA[To prompt the user for a value when running SQL statements in SQL*Plus use the &#38; symbol. The query below will prompt for variable &#8220;name&#8221; twice: select 'Hello ' &#124;&#124; '&#38;name' from dual union all select 'Goodbye ' &#124;&#124; '&#38;name' from dual; To prompt for any given variable only once and use the entered value [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">To prompt the user for a value when running SQL statements in SQL*Plus use the &amp; symbol. The query below will prompt for variable &#8220;name&#8221; twice:</p>
<p><code>select 'Hello ' || '&amp;name' from dual<br />
union all<br />
select 'Goodbye ' || '&amp;name' from dual;</code></p>
<p style="text-align: left;">To prompt for any given variable only once and use the entered value multiple times use two ampersands instead of one. The query below will prompt for the variable &#8220;name&#8221; once only:</p>
<p><code>select 'Hello ' || '&amp;&amp;name' from dual<br />
union all<br />
select 'Goodbye ' || '&amp;&amp;name' from dual;</code></p>
<p style="text-align: left;">To prevent prompting altogeher, use the <code>set define</code> command:</p>
<p><code>set define off<br />
select 'Hello world &amp; dog' from dual;</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.martinhammer.com/blog/index.php/2009/05/prompt-for-variables-in-oracle-sqlplus/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Change Oracle XE web ports</title>
		<link>http://www.martinhammer.com/blog/index.php/2009/04/change-oracle-xe-web-ports/</link>
		<comments>http://www.martinhammer.com/blog/index.php/2009/04/change-oracle-xe-web-ports/#comments</comments>
		<pubDate>Tue, 21 Apr 2009 13:48:56 +0000</pubDate>
		<dc:creator>martin</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://www.martinhammer.com/blog/?p=105</guid>
		<description><![CDATA[Oracle Database XE (Express Edition, sometimes also referred to as Apex) comes with an embedded web interface for administration. By default the HTTP port of this web interface is 8080. This can be checked by running the query below when logged in as system: SQL&#62; select dbms_xdb.gethttpport from dual; In order to change the port [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;"><a href="http://www.oracle.com/technology/products/database/xe/index.html">Oracle Database XE</a> (Express Edition, sometimes also referred to as Apex) comes with an embedded web interface for administration. By default the HTTP port of this web interface is 8080. This can be checked by running the query below when logged in as system:</p>
<p><code>SQL&gt; select dbms_xdb.gethttpport from dual;</code></p>
<p style="text-align: left;">In order to change the port number, run the following SQL (the port is changed to 8181 in the example below) and restart the database:</p>
<p><code>SQL&gt; begin<br />
dbms_xdb.sethttpport('8181');<br />
end;<br />
/<br />
</code></p>
<p style="text-align: left;">If you want to disable the HTTP access altogether, you can set the port number to 0.</p>
<p style="text-align: left;">There are also similar methods <code>dbms_xdb.getftpport</code> and <code>dbms_xdb.setftpport</code>, although I am not sure in what context FTP is used with Oracle XE. By default the port is 0, i.e. disabled.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.martinhammer.com/blog/index.php/2009/04/change-oracle-xe-web-ports/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

