<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>M&amp;S Consulting - Solutions Consultants Training</title>
	
	<link>http://www.mandsconsulting.com</link>
	<description>Technology and Strategy</description>
	<pubDate>Tue, 02 Mar 2010 16:55:21 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/mandsconsulting" /><feedburner:info uri="mandsconsulting" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><image><link>http://www.mandsconsulting.com/</link><url>http://www.mandsconsulting.com/wp-content/themes/overeasy/styles/blue/logo-trans.png</url><title>M&amp;S Consulting</title></image><feedburner:emailServiceId>mandsconsulting</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><feedburner:feedFlare href="http://add.my.yahoo.com/rss?url=http%3A%2F%2Ffeeds.feedburner.com%2Fmandsconsulting" src="http://us.i1.yimg.com/us.yimg.com/i/us/my/addtomyyahoo4.gif">Subscribe with My Yahoo!</feedburner:feedFlare><feedburner:feedFlare href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2Fmandsconsulting" src="http://www.newsgator.com/images/ngsub1.gif">Subscribe with NewsGator</feedburner:feedFlare><feedburner:feedFlare href="http://feeds.my.aol.com/add.jsp?url=http%3A%2F%2Ffeeds.feedburner.com%2Fmandsconsulting" src="http://o.aolcdn.com/favorites.my.aol.com/webmaster/ffclient/webroot/locale/en-US/images/myAOLButtonSmall.gif">Subscribe with My AOL</feedburner:feedFlare><feedburner:feedFlare href="http://www.bloglines.com/sub/http://feeds.feedburner.com/mandsconsulting" src="http://www.bloglines.com/images/sub_modern11.gif">Subscribe with Bloglines</feedburner:feedFlare><feedburner:feedFlare href="http://www.netvibes.com/subscribe.php?url=http%3A%2F%2Ffeeds.feedburner.com%2Fmandsconsulting" src="http://www.netvibes.com/img/add2netvibes.gif">Subscribe with Netvibes</feedburner:feedFlare><feedburner:feedFlare href="http://fusion.google.com/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2Fmandsconsulting" src="http://buttons.googlesyndication.com/fusion/add.gif">Subscribe with Google</feedburner:feedFlare><feedburner:feedFlare href="http://www.pageflakes.com/subscribe.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2Fmandsconsulting" src="http://www.pageflakes.com/ImageFile.ashx?instanceId=Static_4&amp;fileName=ATP_blu_91x17.gif">Subscribe with Pageflakes</feedburner:feedFlare><feedburner:feedFlare href="http://www.plusmo.com/add?url=http%3A%2F%2Ffeeds.feedburner.com%2Fmandsconsulting" src="http://plusmo.com/res/graphics/fbplusmo.gif">Subscribe with Plusmo</feedburner:feedFlare><feedburner:feedFlare href="http://www.thefreedictionary.com/_/hp/AddRSS.aspx?http%3A%2F%2Ffeeds.feedburner.com%2Fmandsconsulting" src="http://img.tfd.com/hp/addToTheFreeDictionary.gif">Subscribe with The Free Dictionary</feedburner:feedFlare><feedburner:feedFlare href="http://www.bitty.com/manual/?contenttype=rssfeed&amp;contentvalue=http%3A%2F%2Ffeeds.feedburner.com%2Fmandsconsulting" src="http://www.bitty.com/img/bittychicklet_91x17.gif">Subscribe with Bitty Browser</feedburner:feedFlare><feedburner:feedFlare href="http://www.newsalloy.com/?rss=http%3A%2F%2Ffeeds.feedburner.com%2Fmandsconsulting" src="http://www.newsalloy.com/subrss3.gif">Subscribe with NewsAlloy</feedburner:feedFlare><feedburner:feedFlare href="http://www.live.com/?add=http%3A%2F%2Ffeeds.feedburner.com%2Fmandsconsulting" src="http://tkfiles.storage.msn.com/x1piYkpqHC_35nIp1gLE68-wvzLZO8iXl_JMledmJQXP-XTBOLfmQv4zhj4MhcWEJh_GtoBIiAl1Mjh-ndp9k47If7hTaFno0mxW9_i3p_5qQw">Subscribe with Live.com</feedburner:feedFlare><feedburner:feedFlare href="http://mix.excite.eu/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2Fmandsconsulting" src="http://image.excite.co.uk/mix/addtomix.gif">Subscribe with Excite MIX</feedburner:feedFlare><feedburner:feedFlare href="http://www.yourminis.com/subscribe.aspx?u=http%3A%2F%2Ffeeds.feedburner.com%2Fmandsconsulting" src="http://www.yourminis.com/images/addtoyourminisbadge.gif">Subscribe with Yourminis.com</feedburner:feedFlare><feedburner:feedFlare href="http://download.attensa.com/app/get_attensa.html?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2Fmandsconsulting" src="http://www.attensa.com/blogs/attensa/WindowsLiveWriter/BadgeredintoBadges_10C02/attensa_feed_button5.gif">Subscribe with Attensa for Outlook</feedburner:feedFlare><feedburner:feedFlare href="http://www.webwag.com/wwgthis.php?url=http%3A%2F%2Ffeeds.feedburner.com%2Fmandsconsulting" src="http://www.webwag.com/images/wwgthis.gif">Subscribe with Webwag</feedburner:feedFlare><feedburner:feedFlare href="http://hub.netomat.net/account/account.autoSubscribe.jspa?urls=http%3A%2F%2Ffeeds.feedburner.com%2Fmandsconsulting" src="http://www.netomat.net/blogger/images/icon_netomat_feedbutton.gif">Subscribe with netomat Hub</feedburner:feedFlare><feedburner:feedFlare href="http://www.podcastready.com/oneclick_bookmark.php?url=http%3A%2F%2Ffeeds.feedburner.com%2Fmandsconsulting" src="http://www.podcastready.com/images/podcastready_button.gif">Subscribe with Podcast Ready</feedburner:feedFlare><feedburner:feedFlare href="http://www.flurry.com/pushRssFeed.do?r=fb&amp;url=http%3A%2F%2Ffeeds.feedburner.com%2Fmandsconsulting" src="http://www.flurry.com/images/flurry_rss_logo2.gif">Subscribe with Flurry</feedburner:feedFlare><feedburner:feedFlare href="http://www.wikio.com/subscribe?url=http%3A%2F%2Ffeeds.feedburner.com%2Fmandsconsulting" src="http://www.wikio.com/shared/img/add2wikio.gif">Subscribe with Wikio</feedburner:feedFlare><feedburner:feedFlare href="http://www.dailyrotation.com/index.php?feed=http%3A%2F%2Ffeeds.feedburner.com%2Fmandsconsulting" src="http://www.dailyrotation.com/rss-dr2.gif">Subscribe with Daily Rotation</feedburner:feedFlare><feedburner:browserFriendly>Thank you for taking an interest in M&amp;S Consulting and the knowledge we share through syndication.  We believe the content we offer will benefit management and implementers alike.</feedburner:browserFriendly><item>
		<title>TOAD for Oracle 9 or TOAD 10 - 64-bit Windows - ORA-12154: could not resolve the connect identifier specified or ORA-6413: connection not open</title>
		<link>http://feedproxy.google.com/~r/mandsconsulting/~3/syE6Ehg6rRQ/toad-for-oracle-9-or-toad-10-64-bit-windows-ora-12154-could-not-resolve-the-connect-identifier-specified-or-ora-6413-connection-not-open</link>
		<comments>http://www.mandsconsulting.com/toad-for-oracle-9-or-toad-10-64-bit-windows-ora-12154-could-not-resolve-the-connect-identifier-specified-or-ora-6413-connection-not-open#comments</comments>
		<pubDate>Sat, 27 Feb 2010 21:48:08 +0000</pubDate>
		<dc:creator>ashok.aggarwal</dc:creator>
		
		<category><![CDATA[Technical Tips]]></category>

		<category><![CDATA[in the trenches]]></category>

		<category><![CDATA[oracle dev]]></category>

		<category><![CDATA[oracle sql]]></category>

		<category><![CDATA[quest toad]]></category>

		<guid isPermaLink="false">http://www.mandsconsulting.com/?p=1944</guid>
		<description><![CDATA[I recently downloaded the new 10.x version of TOAD and could not connect to my databases.  Still running TOAD 9.x, no problem.  This really threw me off for a minute, so I thought I would share the resolution.
You are likely running a 64-bit Windows OS and have installed TOAD into C:\Program Files (x86)\....
I [...]


Related posts:<ol><li><a href='http://www.mandsconsulting.com/bpa-10134-windows-install-with-xe' rel='bookmark' title='Permanent Link: BPA 10.1.3.4 Windows Install with XE'>BPA 10.1.3.4 Windows Install with XE</a> <small>I have just had a heck of a time with...</small></li><li><a href='http://www.mandsconsulting.com/oracle-express-edition-xe-10g-windows-download' rel='bookmark' title='Permanent Link: Oracle Express Edition (XE) 10g Windows Download'>Oracle Express Edition (XE) 10g Windows Download</a> <small>The following are links to the download page for Oracle...</small></li><li><a href='http://www.mandsconsulting.com/sql-like-oracle-like-operator-sql-syntax-examples' rel='bookmark' title='Permanent Link: SQL LIKE - Oracle LIKE Operator - SQL Syntax Examples'>SQL LIKE - Oracle LIKE Operator - SQL Syntax Examples</a> <small>The reserved word <code>LIKE</code> in Oracle SQL represents an operator...</small></li><li><a href='http://www.mandsconsulting.com/oracle-client-download-11g-windows-client-32-bit-and-x64' rel='bookmark' title='Permanent Link: Oracle Client Download (11g Windows Client) - 32 bit and x64'>Oracle Client Download (11g Windows Client) - 32 bit and x64</a> <small>Following are links to the Oracle 11g Release 1 Client...</small></li><li><a href='http://www.mandsconsulting.com/mysql-and-sql-server-oracle-connect-by-prior-for-recursive-hierarchical-data' rel='bookmark' title='Permanent Link: MySQL and SQL Server - Oracle CONNECT BY PRIOR for Recursive, Hierarchical Data'>MySQL and SQL Server - Oracle CONNECT BY PRIOR for Recursive, Hierarchical Data</a> <small>Recursive queries are something I have used many, many times...</small></li></ol>]]></description>
			<content:encoded><![CDATA[<p>I recently downloaded the new 10.x version of TOAD and could not connect to my databases.  Still running TOAD 9.x, no problem.  This really threw me off for a minute, so I thought I would share the resolution.</p>
<p>You are likely running a 64-bit Windows OS and have installed TOAD into <code>C:\Program Files (x86)\...</code>.</p>
<p>I simply copied over my entire Quest Software directory from <code>C:\Program Files (x86)\...</code> to <code>C:\Program Files\...</code>, and restarted the TOAD.exe.  Everything is working great, without having to reinstall anything.</p>
<p><em>PS: Not sure who to blame here. Vendors (like Oracle and TOAD) should know Microsoft is capable of doing strange things with important directory names (using spaces and, in this case, &#8220;strange&#8221; characters like parentheses)&#8230;and of course, Microsoft should simple stop perpetuating the use of these characters in important directories.</em></p>


<p>Related posts:<ol><li><a href='http://www.mandsconsulting.com/bpa-10134-windows-install-with-xe' rel='bookmark' title='Permanent Link: BPA 10.1.3.4 Windows Install with XE'>BPA 10.1.3.4 Windows Install with XE</a> <small>I have just had a heck of a time with...</small></li><li><a href='http://www.mandsconsulting.com/oracle-express-edition-xe-10g-windows-download' rel='bookmark' title='Permanent Link: Oracle Express Edition (XE) 10g Windows Download'>Oracle Express Edition (XE) 10g Windows Download</a> <small>The following are links to the download page for Oracle...</small></li><li><a href='http://www.mandsconsulting.com/sql-like-oracle-like-operator-sql-syntax-examples' rel='bookmark' title='Permanent Link: SQL LIKE - Oracle LIKE Operator - SQL Syntax Examples'>SQL LIKE - Oracle LIKE Operator - SQL Syntax Examples</a> <small>The reserved word <code>LIKE</code> in Oracle SQL represents an operator...</small></li><li><a href='http://www.mandsconsulting.com/oracle-client-download-11g-windows-client-32-bit-and-x64' rel='bookmark' title='Permanent Link: Oracle Client Download (11g Windows Client) - 32 bit and x64'>Oracle Client Download (11g Windows Client) - 32 bit and x64</a> <small>Following are links to the Oracle 11g Release 1 Client...</small></li><li><a href='http://www.mandsconsulting.com/mysql-and-sql-server-oracle-connect-by-prior-for-recursive-hierarchical-data' rel='bookmark' title='Permanent Link: MySQL and SQL Server - Oracle CONNECT BY PRIOR for Recursive, Hierarchical Data'>MySQL and SQL Server - Oracle CONNECT BY PRIOR for Recursive, Hierarchical Data</a> <small>Recursive queries are something I have used many, many times...</small></li></ol></p><img src="http://feeds.feedburner.com/~r/mandsconsulting/~4/syE6Ehg6rRQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.mandsconsulting.com/toad-for-oracle-9-or-toad-10-64-bit-windows-ora-12154-could-not-resolve-the-connect-identifier-specified-or-ora-6413-connection-not-open/feed</wfw:commentRss>
		<feedburner:origLink>http://www.mandsconsulting.com/toad-for-oracle-9-or-toad-10-64-bit-windows-ora-12154-could-not-resolve-the-connect-identifier-specified-or-ora-6413-connection-not-open</feedburner:origLink></item>
		<item>
		<title>MySQL and SQL Server - Oracle CONNECT BY PRIOR for Recursive, Hierarchical Data</title>
		<link>http://feedproxy.google.com/~r/mandsconsulting/~3/1tlPJXFG3FA/mysql-and-sql-server-oracle-connect-by-prior-for-recursive-hierarchical-data</link>
		<comments>http://www.mandsconsulting.com/mysql-and-sql-server-oracle-connect-by-prior-for-recursive-hierarchical-data#comments</comments>
		<pubDate>Wed, 24 Feb 2010 17:37:47 +0000</pubDate>
		<dc:creator>ashok.aggarwal</dc:creator>
		
		<category><![CDATA[Technical Tips]]></category>

		<category><![CDATA[MySQL]]></category>

		<category><![CDATA[oracle architecture]]></category>

		<category><![CDATA[oracle sql]]></category>

		<guid isPermaLink="false">http://www.mandsconsulting.com/?p=1937</guid>
		<description><![CDATA[Recursive queries are something I have used many, many times over the years to build dynamic, n-tiered hierarchies.  Oracle&#8217;s CONNECT BY PRIOR is awesome.
Does anyone know if this is possible in SQL Server or MySQL?
From what I understand, stored procedures would need to be used in MySQL and SQL Server to accomplish what Oracle [...]


Related posts:<ol><li><a href='http://www.mandsconsulting.com/oracle-database-vs-sun-mysql' rel='bookmark' title='Permanent Link: Oracle Database vs Sun MySQL'>Oracle Database vs Sun MySQL</a> <small>Well, this is a topic we have reviewed numerous times...</small></li><li><a href='http://www.mandsconsulting.com/toad-for-oracle-9-or-toad-10-64-bit-windows-ora-12154-could-not-resolve-the-connect-identifier-specified-or-ora-6413-connection-not-open' rel='bookmark' title='Permanent Link: TOAD for Oracle 9 or TOAD 10 - 64-bit Windows - ORA-12154: could not resolve the connect identifier specified or ORA-6413: connection not open'>TOAD for Oracle 9 or TOAD 10 - 64-bit Windows - ORA-12154: could not resolve the connect identifier specified or ORA-6413: connection not open</a> <small>I recently downloaded the new 10.x version of TOAD and...</small></li><li><a href='http://www.mandsconsulting.com/google-apps-reporting-api-not-quite-this-easy-with-exchange' rel='bookmark' title='Permanent Link: Google Apps Reporting API - Not quite this easy with Exchange'>Google Apps Reporting API - Not quite this easy with Exchange</a> <small>I have been somewhat enamored by Google Apps and its...</small></li><li><a href='http://www.mandsconsulting.com/oracle-idm-saml-sso-with-google-apps' rel='bookmark' title='Permanent Link: Oracle IdM - SAML SSO with Google Apps'>Oracle IdM - SAML SSO with Google Apps</a> <small>We recently integrated Oracle IdM with the SAML SSO Service...</small></li><li><a href='http://www.mandsconsulting.com/oracle-application-server-startup-and-shutdown-script-generator-free' rel='bookmark' title='Permanent Link: Oracle Application Server Startup and Shutdown Script Generator - FREE'>Oracle Application Server Startup and Shutdown Script Generator - FREE</a> <small>Complete the below to receive scripts to automatically startup and...</small></li></ol>]]></description>
			<content:encoded><![CDATA[<p>Recursive queries are something I have used many, many times over the years to build dynamic, n-tiered hierarchies.  Oracle&#8217;s CONNECT BY PRIOR is awesome.</p>
<p>Does anyone know if this is possible in SQL Server or MySQL?</p>
<p>From what I understand, stored procedures would need to be used in MySQL and SQL Server to accomplish what Oracle does in one SQL statement with CONNECT BY PRIOR.  I need to dig into the other databases a bit further to verify, but I am interested in any elegant solutions people have come up with if you would like to share.</p>


<p>Related posts:<ol><li><a href='http://www.mandsconsulting.com/oracle-database-vs-sun-mysql' rel='bookmark' title='Permanent Link: Oracle Database vs Sun MySQL'>Oracle Database vs Sun MySQL</a> <small>Well, this is a topic we have reviewed numerous times...</small></li><li><a href='http://www.mandsconsulting.com/toad-for-oracle-9-or-toad-10-64-bit-windows-ora-12154-could-not-resolve-the-connect-identifier-specified-or-ora-6413-connection-not-open' rel='bookmark' title='Permanent Link: TOAD for Oracle 9 or TOAD 10 - 64-bit Windows - ORA-12154: could not resolve the connect identifier specified or ORA-6413: connection not open'>TOAD for Oracle 9 or TOAD 10 - 64-bit Windows - ORA-12154: could not resolve the connect identifier specified or ORA-6413: connection not open</a> <small>I recently downloaded the new 10.x version of TOAD and...</small></li><li><a href='http://www.mandsconsulting.com/google-apps-reporting-api-not-quite-this-easy-with-exchange' rel='bookmark' title='Permanent Link: Google Apps Reporting API - Not quite this easy with Exchange'>Google Apps Reporting API - Not quite this easy with Exchange</a> <small>I have been somewhat enamored by Google Apps and its...</small></li><li><a href='http://www.mandsconsulting.com/oracle-idm-saml-sso-with-google-apps' rel='bookmark' title='Permanent Link: Oracle IdM - SAML SSO with Google Apps'>Oracle IdM - SAML SSO with Google Apps</a> <small>We recently integrated Oracle IdM with the SAML SSO Service...</small></li><li><a href='http://www.mandsconsulting.com/oracle-application-server-startup-and-shutdown-script-generator-free' rel='bookmark' title='Permanent Link: Oracle Application Server Startup and Shutdown Script Generator - FREE'>Oracle Application Server Startup and Shutdown Script Generator - FREE</a> <small>Complete the below to receive scripts to automatically startup and...</small></li></ol></p><img src="http://feeds.feedburner.com/~r/mandsconsulting/~4/1tlPJXFG3FA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.mandsconsulting.com/mysql-and-sql-server-oracle-connect-by-prior-for-recursive-hierarchical-data/feed</wfw:commentRss>
		<feedburner:origLink>http://www.mandsconsulting.com/mysql-and-sql-server-oracle-connect-by-prior-for-recursive-hierarchical-data</feedburner:origLink></item>
		<item>
		<title>XMLFOREST vs XMLELEMENT - Missing vs Empty in SQLX</title>
		<link>http://feedproxy.google.com/~r/mandsconsulting/~3/cL7D88w9Be0/xmlforest-vs-xmlelement-missing-vs-empty-in-sqlx</link>
		<comments>http://www.mandsconsulting.com/xmlforest-vs-xmlelement-missing-vs-empty-in-sqlx#comments</comments>
		<pubDate>Tue, 23 Feb 2010 15:40:37 +0000</pubDate>
		<dc:creator>ashok.aggarwal</dc:creator>
		
		<category><![CDATA[Technical Tips]]></category>

		<category><![CDATA[oracle sql]]></category>

		<category><![CDATA[web 2.0]]></category>

		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://www.mandsconsulting.com/?p=1930</guid>
		<description><![CDATA[Like me, some people may have gotten excited about using XMLFOREST in SQLX, only to find that NULL values result in altogether MISSING elements, as opposed to simply EMPTY elements.  Many times avoiding printing elements with null values is desired functionality, but in some cases the consumer of the XML might require those elements [...]


Related posts:<ol><li><a href='http://www.mandsconsulting.com/oracle-substr-function-sql-syntax-examples' rel='bookmark' title='Permanent Link: Oracle SUBSTR Function - SQL Syntax Examples'>Oracle SUBSTR Function - SQL Syntax Examples</a> <small>The Oracle <code>SUBSTR</code> SQL Function is very common, and many...</small></li><li><a href='http://www.mandsconsulting.com/oracle-instr-function-sql-syntax-examples' rel='bookmark' title='Permanent Link: Oracle INSTR Function - SQL Syntax Examples'>Oracle INSTR Function - SQL Syntax Examples</a> <small>The Oracle <code>INSTR</code> SQL function is popular and performs materially...</small></li><li><a href='http://www.mandsconsulting.com/oracle-to_date-function-sql-syntax-examples' rel='bookmark' title='Permanent Link: Oracle TO_DATE Function - SQL Syntax Examples'>Oracle TO_DATE Function - SQL Syntax Examples</a> <small>The Oracle <code>TO_DATE</code> SQL function is used to convert a...</small></li><li><a href='http://www.mandsconsulting.com/oracle-to_char-function-sql-syntax-examples-most-with-dates-to_date' rel='bookmark' title='Permanent Link: Oracle TO_CHAR Function - SQL Syntax Examples (Most With Dates, TO_DATE)'>Oracle TO_CHAR Function - SQL Syntax Examples (Most With Dates, TO_DATE)</a> <small>This article provides common examples of TO_CHAR using dates....</small></li><li><a href='http://www.mandsconsulting.com/oracle-substr-with-intsr-function-sql-syntax-examples' rel='bookmark' title='Permanent Link: Oracle SUBSTR <i>with</i> INTSR Function - SQL Syntax Examples'>Oracle SUBSTR <i>with</i> INTSR Function - SQL Syntax Examples</a> <small>Oracle <a href="/oracle-substr-function-sql-syntax-examples">SUBSTR</a> and <a href="/oracle-instr-function-sql-syntax-examples">INSTR</a> SQL functions are typically...</small></li></ol>]]></description>
			<content:encoded><![CDATA[<p>Like me, some people may have gotten excited about using <code>XMLFOREST</code> in SQLX, only to find that <code>NULL</code> values result in altogether MISSING elements, as opposed to simply EMPTY elements.  Many times avoiding printing elements with null values is desired functionality, but in some cases the consumer of the XML might require those elements to generated anyways, with a null value (i.e. <code>[tagname][/tagname]</code>).</p>
<p>Thus, I have found it is easiest to use <code>XMLELEMENT</code> instead of <code>XMLFOREST</code> for these cases.  Note: IBM offers a directive to print empty elements for null values, but until Oracle implements such a feature, your best best is probably to leverage <code>XMLELEMENT</code>:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
</pre></td><td class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">SELECT</span> xmlforest<span style="color: #66cc66;">&#40;</span>a<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">.</span>getstringval<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">FROM</span> <span style="color: #66cc66;">&#40;</span><span style="color: #993333; font-weight: bold;">SELECT</span> <span style="color: #cc66cc;">1</span> a <span style="color: #993333; font-weight: bold;">FROM</span> dual<span style="color: #66cc66;">&#41;</span>;
<span style="color: #808080; font-style: italic;">--returns: &lt;A&gt;1&lt;/A&gt;</span>
&nbsp;
<span style="color: #993333; font-weight: bold;">SELECT</span> xmlforest<span style="color: #66cc66;">&#40;</span>a<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">.</span>getstringval<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">FROM</span> <span style="color: #66cc66;">&#40;</span><span style="color: #993333; font-weight: bold;">SELECT</span> <span style="color: #993333; font-weight: bold;">NULL</span> a <span style="color: #993333; font-weight: bold;">FROM</span> dual<span style="color: #66cc66;">&#41;</span>;
<span style="color: #808080; font-style: italic;">--returns: null</span>
&nbsp;
<span style="color: #993333; font-weight: bold;">SELECT</span> xmlelement<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;A&quot;</span><span style="color: #66cc66;">,</span> a<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">.</span>getstringval<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">FROM</span> <span style="color: #66cc66;">&#40;</span><span style="color: #993333; font-weight: bold;">SELECT</span> <span style="color: #cc66cc;">1</span> a <span style="color: #993333; font-weight: bold;">FROM</span> dual<span style="color: #66cc66;">&#41;</span>;
<span style="color: #808080; font-style: italic;">--returns: &lt;A&gt;1&lt;/A&gt;</span>
&nbsp;
<span style="color: #993333; font-weight: bold;">SELECT</span> xmlelement<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;A&quot;</span><span style="color: #66cc66;">,</span> a<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">.</span>getstringval<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">FROM</span> <span style="color: #66cc66;">&#40;</span><span style="color: #993333; font-weight: bold;">SELECT</span> <span style="color: #993333; font-weight: bold;">NULL</span> a <span style="color: #993333; font-weight: bold;">FROM</span> dual<span style="color: #66cc66;">&#41;</span>;
<span style="color: #808080; font-style: italic;">--returns: &lt;A&gt;&lt;/A&gt;</span></pre></td></tr></table></div>



<p>Related posts:<ol><li><a href='http://www.mandsconsulting.com/oracle-substr-function-sql-syntax-examples' rel='bookmark' title='Permanent Link: Oracle SUBSTR Function - SQL Syntax Examples'>Oracle SUBSTR Function - SQL Syntax Examples</a> <small>The Oracle <code>SUBSTR</code> SQL Function is very common, and many...</small></li><li><a href='http://www.mandsconsulting.com/oracle-instr-function-sql-syntax-examples' rel='bookmark' title='Permanent Link: Oracle INSTR Function - SQL Syntax Examples'>Oracle INSTR Function - SQL Syntax Examples</a> <small>The Oracle <code>INSTR</code> SQL function is popular and performs materially...</small></li><li><a href='http://www.mandsconsulting.com/oracle-to_date-function-sql-syntax-examples' rel='bookmark' title='Permanent Link: Oracle TO_DATE Function - SQL Syntax Examples'>Oracle TO_DATE Function - SQL Syntax Examples</a> <small>The Oracle <code>TO_DATE</code> SQL function is used to convert a...</small></li><li><a href='http://www.mandsconsulting.com/oracle-to_char-function-sql-syntax-examples-most-with-dates-to_date' rel='bookmark' title='Permanent Link: Oracle TO_CHAR Function - SQL Syntax Examples (Most With Dates, TO_DATE)'>Oracle TO_CHAR Function - SQL Syntax Examples (Most With Dates, TO_DATE)</a> <small>This article provides common examples of TO_CHAR using dates....</small></li><li><a href='http://www.mandsconsulting.com/oracle-substr-with-intsr-function-sql-syntax-examples' rel='bookmark' title='Permanent Link: Oracle SUBSTR <i>with</i> INTSR Function - SQL Syntax Examples'>Oracle SUBSTR <i>with</i> INTSR Function - SQL Syntax Examples</a> <small>Oracle <a href="/oracle-substr-function-sql-syntax-examples">SUBSTR</a> and <a href="/oracle-instr-function-sql-syntax-examples">INSTR</a> SQL functions are typically...</small></li></ol></p><img src="http://feeds.feedburner.com/~r/mandsconsulting/~4/cL7D88w9Be0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.mandsconsulting.com/xmlforest-vs-xmlelement-missing-vs-empty-in-sqlx/feed</wfw:commentRss>
		<feedburner:origLink>http://www.mandsconsulting.com/xmlforest-vs-xmlelement-missing-vs-empty-in-sqlx</feedburner:origLink></item>
		<item>
		<title>Flex on Android - Nexus One Mobile Device</title>
		<link>http://feedproxy.google.com/~r/mandsconsulting/~3/CH1jaJ6Bcm0/flex-on-android-nexus-one-mobile-device</link>
		<comments>http://www.mandsconsulting.com/flex-on-android-nexus-one-mobile-device#comments</comments>
		<pubDate>Mon, 22 Feb 2010 21:08:05 +0000</pubDate>
		<dc:creator>ashok.aggarwal</dc:creator>
		
		<category><![CDATA[Industry Trends]]></category>

		<category><![CDATA[adobe flex]]></category>

		<category><![CDATA[industry news]]></category>

		<category><![CDATA[iphone]]></category>

		<category><![CDATA[mobile]]></category>

		<category><![CDATA[web 2.0]]></category>

		<guid isPermaLink="false">http://www.mandsconsulting.com/?p=1926</guid>
		<description><![CDATA[I just can&#8217;t wait for Flash on Android&#8230;and for Apple&#8217;s hand to [hopefully] get forced into supporting Flash as well.


Related posts:Flash-Based Oracle MetaLink Sucks I am a big fan of RIA, Flex, and Flash...Flex 3.0 Introspecting Utility: Handling Collections Bug Even Flex Builder with all its awesomeness is not without...


Related posts:<ol><li><a href='http://www.mandsconsulting.com/flash-based-oracle-metalink-sucks' rel='bookmark' title='Permanent Link: Flash-Based Oracle MetaLink Sucks'>Flash-Based Oracle MetaLink Sucks</a> <small>I am a big fan of RIA, Flex, and Flash...</small></li><li><a href='http://www.mandsconsulting.com/flex-30-introspecting-utility-handling-collections-bug' rel='bookmark' title='Permanent Link: Flex 3.0 Introspecting Utility: Handling Collections Bug'>Flex 3.0 Introspecting Utility: Handling Collections Bug</a> <small>Even Flex Builder with all its awesomeness is not without...</small></li></ol>]]></description>
			<content:encoded><![CDATA[<p>I just can&#8217;t wait for Flash on Android&#8230;and for Apple&#8217;s hand to [hopefully] get forced into supporting Flash as well.</p>
<a href="http://www.mandsconsulting.com/flex-on-android-nexus-one-mobile-device"><p><em>Click here to view the embedded video.</em></p></a>


<p>Related posts:<ol><li><a href='http://www.mandsconsulting.com/flash-based-oracle-metalink-sucks' rel='bookmark' title='Permanent Link: Flash-Based Oracle MetaLink Sucks'>Flash-Based Oracle MetaLink Sucks</a> <small>I am a big fan of RIA, Flex, and Flash...</small></li><li><a href='http://www.mandsconsulting.com/flex-30-introspecting-utility-handling-collections-bug' rel='bookmark' title='Permanent Link: Flex 3.0 Introspecting Utility: Handling Collections Bug'>Flex 3.0 Introspecting Utility: Handling Collections Bug</a> <small>Even Flex Builder with all its awesomeness is not without...</small></li></ol></p><img src="http://feeds.feedburner.com/~r/mandsconsulting/~4/CH1jaJ6Bcm0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.mandsconsulting.com/flex-on-android-nexus-one-mobile-device/feed</wfw:commentRss>
		<feedburner:origLink>http://www.mandsconsulting.com/flex-on-android-nexus-one-mobile-device</feedburner:origLink></item>
		<item>
		<title>SSL with Oracle Application Server WebCache and iPhone</title>
		<link>http://feedproxy.google.com/~r/mandsconsulting/~3/_guAvDE00-w/ssl-with-oracle-application-server-webcache-and-iphone</link>
		<comments>http://www.mandsconsulting.com/ssl-with-oracle-application-server-webcache-and-iphone#comments</comments>
		<pubDate>Wed, 03 Feb 2010 13:19:59 +0000</pubDate>
		<dc:creator>ashok.aggarwal</dc:creator>
		
		<category><![CDATA[Technical Tips]]></category>

		<category><![CDATA[oracle application server]]></category>

		<category><![CDATA[oracle architecture]]></category>

		<category><![CDATA[oracle portal]]></category>

		<category><![CDATA[recent work]]></category>

		<guid isPermaLink="false">http://www.mandsconsulting.com/?p=1917</guid>
		<description><![CDATA[The latest iPhone update appears to have broken some SSL-enabled OracleAS sites.  We have been working through finding a solution for an Oracle Portal customer of ours and it has been fairly hairy.  On at least one of the environments, we have found a solution.  We can likely help if you have [...]


Related posts:<ol><li><a href='http://www.mandsconsulting.com/obiee-for-the-iphone' rel='bookmark' title='Permanent Link: OBIEE for the iPhone'>OBIEE for the iPhone</a> <small>We recently had a customer request help with configuring OBIEE...</small></li><li><a href='http://www.mandsconsulting.com/oracle-application-server-startup-and-shutdown-script-generator-free' rel='bookmark' title='Permanent Link: Oracle Application Server Startup and Shutdown Script Generator - FREE'>Oracle Application Server Startup and Shutdown Script Generator - FREE</a> <small>Complete the below to receive scripts to automatically startup and...</small></li><li><a href='http://www.mandsconsulting.com/oracleas-1012-on-32-bit-vs-64-bit' rel='bookmark' title='Permanent Link: OracleAS 10.1.2 on 32 bit vs. 64 bit'>OracleAS 10.1.2 on 32 bit vs. 64 bit</a> <small>Some people get excited about the prospects of running Oracle...</small></li><li><a href='http://www.mandsconsulting.com/oracle-portal-server-dynamic-menu' rel='bookmark' title='Permanent Link: Oracle Portal Server Dynamic Menu'>Oracle Portal Server Dynamic Menu</a> <small>As part of the M&amp;S Dynamic Oracle Portal utility, the...</small></li><li><a href='http://www.mandsconsulting.com/oracle-certification-matrix-online-application' rel='bookmark' title='Permanent Link: Oracle Certification Matrix - Online Application'>Oracle Certification Matrix - Online Application</a> <small>Oracle provides a dynamic, web-based application they call "Certify" that...</small></li></ol>]]></description>
			<content:encoded><![CDATA[<p>The latest iPhone update appears to have broken some SSL-enabled OracleAS sites.  We have been working through finding a solution for an Oracle Portal customer of ours and it has been fairly hairy.  On at least one of the environments, we have found a solution.  We can likely help if you have been having an issue with your SSL handshakes.</p>


<p>Related posts:<ol><li><a href='http://www.mandsconsulting.com/obiee-for-the-iphone' rel='bookmark' title='Permanent Link: OBIEE for the iPhone'>OBIEE for the iPhone</a> <small>We recently had a customer request help with configuring OBIEE...</small></li><li><a href='http://www.mandsconsulting.com/oracle-application-server-startup-and-shutdown-script-generator-free' rel='bookmark' title='Permanent Link: Oracle Application Server Startup and Shutdown Script Generator - FREE'>Oracle Application Server Startup and Shutdown Script Generator - FREE</a> <small>Complete the below to receive scripts to automatically startup and...</small></li><li><a href='http://www.mandsconsulting.com/oracleas-1012-on-32-bit-vs-64-bit' rel='bookmark' title='Permanent Link: OracleAS 10.1.2 on 32 bit vs. 64 bit'>OracleAS 10.1.2 on 32 bit vs. 64 bit</a> <small>Some people get excited about the prospects of running Oracle...</small></li><li><a href='http://www.mandsconsulting.com/oracle-portal-server-dynamic-menu' rel='bookmark' title='Permanent Link: Oracle Portal Server Dynamic Menu'>Oracle Portal Server Dynamic Menu</a> <small>As part of the M&amp;S Dynamic Oracle Portal utility, the...</small></li><li><a href='http://www.mandsconsulting.com/oracle-certification-matrix-online-application' rel='bookmark' title='Permanent Link: Oracle Certification Matrix - Online Application'>Oracle Certification Matrix - Online Application</a> <small>Oracle provides a dynamic, web-based application they call "Certify" that...</small></li></ol></p><img src="http://feeds.feedburner.com/~r/mandsconsulting/~4/_guAvDE00-w" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.mandsconsulting.com/ssl-with-oracle-application-server-webcache-and-iphone/feed</wfw:commentRss>
		<feedburner:origLink>http://www.mandsconsulting.com/ssl-with-oracle-application-server-webcache-and-iphone</feedburner:origLink></item>
		<item>
		<title>SQL to Query Oracle, Return XML - with SQLX</title>
		<link>http://feedproxy.google.com/~r/mandsconsulting/~3/DWQqMymbSpQ/sql-to-query-oracle-return-xml-with-sqlx</link>
		<comments>http://www.mandsconsulting.com/sql-to-query-oracle-return-xml-with-sqlx#comments</comments>
		<pubDate>Thu, 07 Jan 2010 07:27:00 +0000</pubDate>
		<dc:creator>ashok.aggarwal</dc:creator>
		
		<category><![CDATA[Technical Tips]]></category>

		<category><![CDATA[11g]]></category>

		<category><![CDATA[oracle architecture]]></category>

		<category><![CDATA[oracle sql]]></category>

		<category><![CDATA[recent work]]></category>

		<guid isPermaLink="false">http://www.mandsconsulting.com/?p=1913</guid>
		<description><![CDATA[Like many days, I had a need to query data stored in Oracle.  But today was different.  I needed to return the data in an XML format.  I started with a very simple need and generated the XML brute-force while traversing my cursor.  However, I realized the data would not be [...]


Related posts:<ol><li><a href='http://www.mandsconsulting.com/xmlforest-vs-xmlelement-missing-vs-empty-in-sqlx' rel='bookmark' title='Permanent Link: XMLFOREST vs XMLELEMENT - Missing vs Empty in SQLX'>XMLFOREST vs XMLELEMENT - Missing vs Empty in SQLX</a> <small>Like me, some people may have gotten excited about using...</small></li><li><a href='http://www.mandsconsulting.com/applications-with-sql-maintained-outside-of-stored-procedures' rel='bookmark' title='Permanent Link: Applications with SQL Maintained Outside of Stored Procedures'>Applications with SQL Maintained Outside of Stored Procedures</a> <small>I have seen multiple custom solutions and packaged applications store...</small></li><li><a href='http://www.mandsconsulting.com/mysql-and-sql-server-oracle-connect-by-prior-for-recursive-hierarchical-data' rel='bookmark' title='Permanent Link: MySQL and SQL Server - Oracle CONNECT BY PRIOR for Recursive, Hierarchical Data'>MySQL and SQL Server - Oracle CONNECT BY PRIOR for Recursive, Hierarchical Data</a> <small>Recursive queries are something I have used many, many times...</small></li><li><a href='http://www.mandsconsulting.com/oracle-rename-table-example-syntax-and-dependencies' rel='bookmark' title='Permanent Link: Oracle Rename Table - Example Syntax and Dependencies'>Oracle Rename Table - Example Syntax and Dependencies</a> <small>Renaming a table in Oracle is simple. Following is the...</small></li><li><a href='http://www.mandsconsulting.com/oracle-to_char-function-sql-syntax-examples-most-with-dates-to_date' rel='bookmark' title='Permanent Link: Oracle TO_CHAR Function - SQL Syntax Examples (Most With Dates, TO_DATE)'>Oracle TO_CHAR Function - SQL Syntax Examples (Most With Dates, TO_DATE)</a> <small>This article provides common examples of TO_CHAR using dates....</small></li></ol>]]></description>
			<content:encoded><![CDATA[<p>Like many days, I had a need to query data stored in Oracle.  But today was different.  I needed to return the data in an XML format.  I started with a very simple need and generated the XML brute-force while traversing my cursor.  However, I realized the data would not be escaped properly and knew/assumed Oracle has created built-in functionality to accomplish what I was trying to do.</p>
<p>I then recreated my logic using DBMS_XMLGEN.  This worked well, in that it created the desired result set, but I hate the idea of storing SQL in a string to be passed into a function, which is precisely what  DBMS_XMLGEN was having me do.  I had a hard time figuring out the precise technique recommended by Oracle, or even the &#8220;latest&#8221; technique.  My client&#8217;s environment was 9i, so I knew I wasn&#8217;t going to get to play with anything interesting 11g might have to offer.</p>
<p>My brief research showed that SQL/XML (SQLX) appeared to be the best option.  A few hours later, it really has been nice.  I have been able to create both simple and complex XML results.  Once you have the syntax down, you can generate just about any XML structure you desire.</p>
<p>Let me know if you come across anything more interesting/useful than SQLX for querying Oracle RDBMS tables (not XML data stored natively in the DB), and I&#8217;ll be interested in checking it out.</p>


<p>Related posts:<ol><li><a href='http://www.mandsconsulting.com/xmlforest-vs-xmlelement-missing-vs-empty-in-sqlx' rel='bookmark' title='Permanent Link: XMLFOREST vs XMLELEMENT - Missing vs Empty in SQLX'>XMLFOREST vs XMLELEMENT - Missing vs Empty in SQLX</a> <small>Like me, some people may have gotten excited about using...</small></li><li><a href='http://www.mandsconsulting.com/applications-with-sql-maintained-outside-of-stored-procedures' rel='bookmark' title='Permanent Link: Applications with SQL Maintained Outside of Stored Procedures'>Applications with SQL Maintained Outside of Stored Procedures</a> <small>I have seen multiple custom solutions and packaged applications store...</small></li><li><a href='http://www.mandsconsulting.com/mysql-and-sql-server-oracle-connect-by-prior-for-recursive-hierarchical-data' rel='bookmark' title='Permanent Link: MySQL and SQL Server - Oracle CONNECT BY PRIOR for Recursive, Hierarchical Data'>MySQL and SQL Server - Oracle CONNECT BY PRIOR for Recursive, Hierarchical Data</a> <small>Recursive queries are something I have used many, many times...</small></li><li><a href='http://www.mandsconsulting.com/oracle-rename-table-example-syntax-and-dependencies' rel='bookmark' title='Permanent Link: Oracle Rename Table - Example Syntax and Dependencies'>Oracle Rename Table - Example Syntax and Dependencies</a> <small>Renaming a table in Oracle is simple. Following is the...</small></li><li><a href='http://www.mandsconsulting.com/oracle-to_char-function-sql-syntax-examples-most-with-dates-to_date' rel='bookmark' title='Permanent Link: Oracle TO_CHAR Function - SQL Syntax Examples (Most With Dates, TO_DATE)'>Oracle TO_CHAR Function - SQL Syntax Examples (Most With Dates, TO_DATE)</a> <small>This article provides common examples of TO_CHAR using dates....</small></li></ol></p><img src="http://feeds.feedburner.com/~r/mandsconsulting/~4/DWQqMymbSpQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.mandsconsulting.com/sql-to-query-oracle-return-xml-with-sqlx/feed</wfw:commentRss>
		<feedburner:origLink>http://www.mandsconsulting.com/sql-to-query-oracle-return-xml-with-sqlx</feedburner:origLink></item>
		<item>
		<title>Applications with SQL Maintained Outside of Stored Procedures</title>
		<link>http://feedproxy.google.com/~r/mandsconsulting/~3/E3_5sa21vy8/applications-with-sql-maintained-outside-of-stored-procedures</link>
		<comments>http://www.mandsconsulting.com/applications-with-sql-maintained-outside-of-stored-procedures#comments</comments>
		<pubDate>Tue, 24 Nov 2009 19:37:04 +0000</pubDate>
		<dc:creator>ashok.aggarwal</dc:creator>
		
		<category><![CDATA[Technical Tips]]></category>

		<category><![CDATA[oracle sql]]></category>

		<category><![CDATA[web 2.0]]></category>

		<guid isPermaLink="false">http://www.mandsconsulting.com/?p=1909</guid>
		<description><![CDATA[I have seen multiple custom solutions and packaged applications store their SQL outside of stored procedures.  I am focusing this article on custom enterprise solutions, which I feel is one of the fastest growing areas in development.  Some people who choose to store SQL outside of their database have touted database independence/abstraction, others [...]


Related posts:<ol><li><a href='http://www.mandsconsulting.com/mysql-and-sql-server-oracle-connect-by-prior-for-recursive-hierarchical-data' rel='bookmark' title='Permanent Link: MySQL and SQL Server - Oracle CONNECT BY PRIOR for Recursive, Hierarchical Data'>MySQL and SQL Server - Oracle CONNECT BY PRIOR for Recursive, Hierarchical Data</a> <small>Recursive queries are something I have used many, many times...</small></li><li><a href='http://www.mandsconsulting.com/oracle-rename-table-example-syntax-and-dependencies' rel='bookmark' title='Permanent Link: Oracle Rename Table - Example Syntax and Dependencies'>Oracle Rename Table - Example Syntax and Dependencies</a> <small>Renaming a table in Oracle is simple. Following is the...</small></li><li><a href='http://www.mandsconsulting.com/discoverer-public-connections-for-oracle-applications-with-sso' rel='bookmark' title='Permanent Link: Discoverer - Public Connections for Oracle Applications with SSO'>Discoverer - Public Connections for Oracle Applications with SSO</a> <small>While using SSO, in order to create a public connection...</small></li><li><a href='http://www.mandsconsulting.com/oracle-apex-tutorial-8-up-and-downloading-files-part-2-video-training' rel='bookmark' title='Permanent Link: Oracle APEX Tutorial 8 - Up and Downloading Files - Part 2 - Video Training'>Oracle APEX Tutorial 8 - Up and Downloading Files - Part 2 - Video Training</a> <small>Reports and data entry constitue the bulk of what most...</small></li><li><a href='http://www.mandsconsulting.com/sql-to-query-oracle-return-xml-with-sqlx' rel='bookmark' title='Permanent Link: SQL to Query Oracle, Return XML - with SQLX'>SQL to Query Oracle, Return XML - with SQLX</a> <small>Like many days, I had a need to query data...</small></li></ol>]]></description>
			<content:encoded><![CDATA[<p>I have seen multiple custom solutions and packaged applications store their SQL outside of stored procedures.  I am focusing this article on custom enterprise solutions, which I feel is one of the fastest growing areas in development.  Some people who choose to store SQL outside of their database have touted database independence/abstraction, others easier maintenance, and I&#8217;m sure many other &#8220;excuses&#8221; have been communicated.  In my opinion, if you have 1) a custom enterprise application and 2) an Oracle database(s) as the backend, all of your SQL &#8212; and associated DB logic &#8212; should be written, stored, maintained, etc. within Oracle stored procedures.  I can dream up very unique scenarios where a valid argument could possibly begin to be made to keep SQL outside &#8212; but I think 99% of places that have done this, or will be considering this, really should have kept SQL inside their DB.</p>
<p>I&#8217;d like to hear your reasons for maintaining your Oracle SQL outside of Stored Procedures.</p>


<p>Related posts:<ol><li><a href='http://www.mandsconsulting.com/mysql-and-sql-server-oracle-connect-by-prior-for-recursive-hierarchical-data' rel='bookmark' title='Permanent Link: MySQL and SQL Server - Oracle CONNECT BY PRIOR for Recursive, Hierarchical Data'>MySQL and SQL Server - Oracle CONNECT BY PRIOR for Recursive, Hierarchical Data</a> <small>Recursive queries are something I have used many, many times...</small></li><li><a href='http://www.mandsconsulting.com/oracle-rename-table-example-syntax-and-dependencies' rel='bookmark' title='Permanent Link: Oracle Rename Table - Example Syntax and Dependencies'>Oracle Rename Table - Example Syntax and Dependencies</a> <small>Renaming a table in Oracle is simple. Following is the...</small></li><li><a href='http://www.mandsconsulting.com/discoverer-public-connections-for-oracle-applications-with-sso' rel='bookmark' title='Permanent Link: Discoverer - Public Connections for Oracle Applications with SSO'>Discoverer - Public Connections for Oracle Applications with SSO</a> <small>While using SSO, in order to create a public connection...</small></li><li><a href='http://www.mandsconsulting.com/oracle-apex-tutorial-8-up-and-downloading-files-part-2-video-training' rel='bookmark' title='Permanent Link: Oracle APEX Tutorial 8 - Up and Downloading Files - Part 2 - Video Training'>Oracle APEX Tutorial 8 - Up and Downloading Files - Part 2 - Video Training</a> <small>Reports and data entry constitue the bulk of what most...</small></li><li><a href='http://www.mandsconsulting.com/sql-to-query-oracle-return-xml-with-sqlx' rel='bookmark' title='Permanent Link: SQL to Query Oracle, Return XML - with SQLX'>SQL to Query Oracle, Return XML - with SQLX</a> <small>Like many days, I had a need to query data...</small></li></ol></p><img src="http://feeds.feedburner.com/~r/mandsconsulting/~4/E3_5sa21vy8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.mandsconsulting.com/applications-with-sql-maintained-outside-of-stored-procedures/feed</wfw:commentRss>
		<feedburner:origLink>http://www.mandsconsulting.com/applications-with-sql-maintained-outside-of-stored-procedures</feedburner:origLink></item>
		<item>
		<title>OID Install in Oracle Enterprise Linux (OEL) 5 - Shared Libraries Error</title>
		<link>http://feedproxy.google.com/~r/mandsconsulting/~3/znZG9D3Wqks/oid-install-in-oracle-enterprise-linux-oel-5-shared-libraries-error</link>
		<comments>http://www.mandsconsulting.com/oid-install-in-oracle-enterprise-linux-oel-5-shared-libraries-error#comments</comments>
		<pubDate>Sun, 01 Nov 2009 14:45:44 +0000</pubDate>
		<dc:creator>amit.gupta</dc:creator>
		
		<category><![CDATA[Technical Tips]]></category>

		<category><![CDATA[identity management]]></category>

		<category><![CDATA[oracle architecture]]></category>

		<category><![CDATA[virtualize and vm]]></category>

		<guid isPermaLink="false">http://www.mandsconsulting.com/?p=1903</guid>
		<description><![CDATA[When installing 10g OID on OEL5, if you run into the following error, you can run the below commands to address the issue:
Error:

OPMN HTTP process fails to start.  When you look in the log file, it says:
/Apache/Apache/bin/httpd: error while loading shared libraries: libdb.so.2: cannot open shared object file:  No such file or directory



To [...]


Related posts:<ol><li><a href='http://www.mandsconsulting.com/bpa-10134-windows-install-with-xe' rel='bookmark' title='Permanent Link: BPA 10.1.3.4 Windows Install with XE'>BPA 10.1.3.4 Windows Install with XE</a> <small>I have just had a heck of a time with...</small></li><li><a href='http://www.mandsconsulting.com/invalid-nested-schema-loading-error-with-oracle-bpel-aiapip' rel='bookmark' title='Permanent Link: Invalid Nested Schema Loading Error with Oracle BPEL, AIA/PIP'>Invalid Nested Schema Loading Error with Oracle BPEL, AIA/PIP</a> <small>I faced this issue in the context of building an...</small></li><li><a href='http://www.mandsconsulting.com/oracle-system-administration-linux-commands-red-hat' rel='bookmark' title='Permanent Link: Oracle System Administration - Linux Commands (Red Hat)'>Oracle System Administration - Linux Commands (Red Hat)</a> <small>Following is a sortable table of the most common Linux...</small></li><li><a href='http://www.mandsconsulting.com/move-oracle-linux-vm-to-new-machine-static-ip' rel='bookmark' title='Permanent Link: Move Oracle Linux VM to New Machine - Static IP'>Move Oracle Linux VM to New Machine - Static IP</a> <small>I just copied an Oracle Enterprise Linux VM from one...</small></li><li><a href='http://www.mandsconsulting.com/oracle-vm-templates-firewall-policy' rel='bookmark' title='Permanent Link: Oracle VM Templates Firewall Policy'>Oracle VM Templates Firewall Policy</a> <small>Many Oracle VM templates come with a default firewall policy...</small></li></ol>]]></description>
			<content:encoded><![CDATA[<p>When installing 10g OID on OEL5, if you run into the following error, you can run the below commands to address the issue:</p>
<p>Error:</p>
<pre>
OPMN HTTP process fails to start.  When you look in the log file, it says:
<ORACLE_HOME>/Apache/Apache/bin/httpd: error while loading shared libraries: libdb.so.2: cannot open shared object file:  No such file or directory
</pre>
<p><br/><br />
<br/><br />
To fix, run the following commands:</p>
<pre>
# ln -s /usr/lib/libgdbm.so.2.0.0 /usr/lib/libdb.so.2
# chmod 755 /usr/lib/libgdbm.so.2.0.0
# chmod 755 /usr/lib/libdb.so.2
</pre>


<p>Related posts:<ol><li><a href='http://www.mandsconsulting.com/bpa-10134-windows-install-with-xe' rel='bookmark' title='Permanent Link: BPA 10.1.3.4 Windows Install with XE'>BPA 10.1.3.4 Windows Install with XE</a> <small>I have just had a heck of a time with...</small></li><li><a href='http://www.mandsconsulting.com/invalid-nested-schema-loading-error-with-oracle-bpel-aiapip' rel='bookmark' title='Permanent Link: Invalid Nested Schema Loading Error with Oracle BPEL, AIA/PIP'>Invalid Nested Schema Loading Error with Oracle BPEL, AIA/PIP</a> <small>I faced this issue in the context of building an...</small></li><li><a href='http://www.mandsconsulting.com/oracle-system-administration-linux-commands-red-hat' rel='bookmark' title='Permanent Link: Oracle System Administration - Linux Commands (Red Hat)'>Oracle System Administration - Linux Commands (Red Hat)</a> <small>Following is a sortable table of the most common Linux...</small></li><li><a href='http://www.mandsconsulting.com/move-oracle-linux-vm-to-new-machine-static-ip' rel='bookmark' title='Permanent Link: Move Oracle Linux VM to New Machine - Static IP'>Move Oracle Linux VM to New Machine - Static IP</a> <small>I just copied an Oracle Enterprise Linux VM from one...</small></li><li><a href='http://www.mandsconsulting.com/oracle-vm-templates-firewall-policy' rel='bookmark' title='Permanent Link: Oracle VM Templates Firewall Policy'>Oracle VM Templates Firewall Policy</a> <small>Many Oracle VM templates come with a default firewall policy...</small></li></ol></p><img src="http://feeds.feedburner.com/~r/mandsconsulting/~4/znZG9D3Wqks" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.mandsconsulting.com/oid-install-in-oracle-enterprise-linux-oel-5-shared-libraries-error/feed</wfw:commentRss>
		<feedburner:origLink>http://www.mandsconsulting.com/oid-install-in-oracle-enterprise-linux-oel-5-shared-libraries-error</feedburner:origLink></item>
		<item>
		<title>Visual Studio 2008 (VS2008) - Common Keyboard Shortcuts</title>
		<link>http://feedproxy.google.com/~r/mandsconsulting/~3/bxzE8q2HYuQ/visual-studio-2008-vs2008-common-keyboard-shortcuts</link>
		<comments>http://www.mandsconsulting.com/visual-studio-2008-vs2008-common-keyboard-shortcuts#comments</comments>
		<pubDate>Sun, 27 Sep 2009 00:48:27 +0000</pubDate>
		<dc:creator>ashok.aggarwal</dc:creator>
		
		<category><![CDATA[Technical Tips]]></category>

		<category><![CDATA[microsoft]]></category>

		<guid isPermaLink="false">http://www.mandsconsulting.com/?p=1899</guid>
		<description><![CDATA[When I did a quick search online, I found some keyboard shortcuts for Visual Studio 2008 that didn&#8217;t work for me, so thought I would get a post going.
Comment and Uncomment Code Blocks Quickly
I comment blocks of code in VS2008 with:
CTRL-E, C
&#8230;and I uncomment blocks of code with:
CRTL-E, U


Related posts:Google Custom Search Engine (CSE) The [...]


Related posts:<ol><li><a href='http://www.mandsconsulting.com/google-custom-search-engine-cse' rel='bookmark' title='Permanent Link: Google Custom Search Engine (CSE)'>Google Custom Search Engine (CSE)</a> <small>The site search game is changing with Google CSE....</small></li><li><a href='http://www.mandsconsulting.com/oracle-adf-faces-10g-submitting-a-part-of-the-page' rel='bookmark' title='Permanent Link: Oracle ADF Faces 10g: Submitting a part of the page'>Oracle ADF Faces 10g: Submitting a part of the page</a> <small>Did you know ADF Faces allows you to submit only...</small></li><li><a href='http://www.mandsconsulting.com/oracle-instr-function-sql-syntax-examples' rel='bookmark' title='Permanent Link: Oracle INSTR Function - SQL Syntax Examples'>Oracle INSTR Function - SQL Syntax Examples</a> <small>The Oracle <code>INSTR</code> SQL function is popular and performs materially...</small></li><li><a href='http://www.mandsconsulting.com/google-apps-reporting-api-not-quite-this-easy-with-exchange' rel='bookmark' title='Permanent Link: Google Apps Reporting API - Not quite this easy with Exchange'>Google Apps Reporting API - Not quite this easy with Exchange</a> <small>I have been somewhat enamored by Google Apps and its...</small></li><li><a href='http://www.mandsconsulting.com/toad-for-oracle-9-or-toad-10-64-bit-windows-ora-12154-could-not-resolve-the-connect-identifier-specified-or-ora-6413-connection-not-open' rel='bookmark' title='Permanent Link: TOAD for Oracle 9 or TOAD 10 - 64-bit Windows - ORA-12154: could not resolve the connect identifier specified or ORA-6413: connection not open'>TOAD for Oracle 9 or TOAD 10 - 64-bit Windows - ORA-12154: could not resolve the connect identifier specified or ORA-6413: connection not open</a> <small>I recently downloaded the new 10.x version of TOAD and...</small></li></ol>]]></description>
			<content:encoded><![CDATA[<p>When I did a quick search online, I found some keyboard shortcuts for Visual Studio 2008 that didn&#8217;t work for me, so thought I would get a post going.</p>
<h2>Comment and Uncomment Code Blocks Quickly</h2>
<p>I comment blocks of code in VS2008 with:</p>
<p>CTRL-E, C</p>
<p>&#8230;and I uncomment blocks of code with:</p>
<p>CRTL-E, U</p>


<p>Related posts:<ol><li><a href='http://www.mandsconsulting.com/google-custom-search-engine-cse' rel='bookmark' title='Permanent Link: Google Custom Search Engine (CSE)'>Google Custom Search Engine (CSE)</a> <small>The site search game is changing with Google CSE....</small></li><li><a href='http://www.mandsconsulting.com/oracle-adf-faces-10g-submitting-a-part-of-the-page' rel='bookmark' title='Permanent Link: Oracle ADF Faces 10g: Submitting a part of the page'>Oracle ADF Faces 10g: Submitting a part of the page</a> <small>Did you know ADF Faces allows you to submit only...</small></li><li><a href='http://www.mandsconsulting.com/oracle-instr-function-sql-syntax-examples' rel='bookmark' title='Permanent Link: Oracle INSTR Function - SQL Syntax Examples'>Oracle INSTR Function - SQL Syntax Examples</a> <small>The Oracle <code>INSTR</code> SQL function is popular and performs materially...</small></li><li><a href='http://www.mandsconsulting.com/google-apps-reporting-api-not-quite-this-easy-with-exchange' rel='bookmark' title='Permanent Link: Google Apps Reporting API - Not quite this easy with Exchange'>Google Apps Reporting API - Not quite this easy with Exchange</a> <small>I have been somewhat enamored by Google Apps and its...</small></li><li><a href='http://www.mandsconsulting.com/toad-for-oracle-9-or-toad-10-64-bit-windows-ora-12154-could-not-resolve-the-connect-identifier-specified-or-ora-6413-connection-not-open' rel='bookmark' title='Permanent Link: TOAD for Oracle 9 or TOAD 10 - 64-bit Windows - ORA-12154: could not resolve the connect identifier specified or ORA-6413: connection not open'>TOAD for Oracle 9 or TOAD 10 - 64-bit Windows - ORA-12154: could not resolve the connect identifier specified or ORA-6413: connection not open</a> <small>I recently downloaded the new 10.x version of TOAD and...</small></li></ol></p><img src="http://feeds.feedburner.com/~r/mandsconsulting/~4/bxzE8q2HYuQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.mandsconsulting.com/visual-studio-2008-vs2008-common-keyboard-shortcuts/feed</wfw:commentRss>
		<feedburner:origLink>http://www.mandsconsulting.com/visual-studio-2008-vs2008-common-keyboard-shortcuts</feedburner:origLink></item>
		<item>
		<title>BPEL Not Good For Rapid Changes</title>
		<link>http://feedproxy.google.com/~r/mandsconsulting/~3/euIhwQ_8TiQ/bpel-not-good-for-rapid-changes</link>
		<comments>http://www.mandsconsulting.com/bpel-not-good-for-rapid-changes#comments</comments>
		<pubDate>Wed, 16 Sep 2009 15:12:50 +0000</pubDate>
		<dc:creator>ashok.aggarwal</dc:creator>
		
		<category><![CDATA[Industry Trends]]></category>

		<category><![CDATA[Technical Tips]]></category>

		<category><![CDATA[oracle soa bpel]]></category>

		<category><![CDATA[process and workflow (bpm)]]></category>

		<guid isPermaLink="false">http://www.mandsconsulting.com/?p=1897</guid>
		<description><![CDATA[I am excited about BPEL&#8217;s proliferation.  But for some organizations (specifically, IT shops), BPEL is being used in areas it is simple not well-suited.  For example, some places where IT has gotten ahead of the business, it is used as a process modeling tool.  True, BPEL &#8220;represents&#8221; a process, it is my [...]


Related posts:<ol><li><a href='http://www.mandsconsulting.com/asynchronous-vs-synchronous-bpel-processes' rel='bookmark' title='Permanent Link: Asynchronous vs Synchronous BPEL Processes'>Asynchronous vs Synchronous BPEL Processes</a> <small>Asynchronous and Synchronous BPEL processes, as their names imply, process...</small></li><li><a href='http://www.mandsconsulting.com/salesforcecom-integration-oracle-fusion-middleware-soa-and-bpel' rel='bookmark' title='Permanent Link: Salesforce.com Integration - Oracle Fusion Middleware SOA and BPEL'>Salesforce.com Integration - Oracle Fusion Middleware SOA and BPEL</a> <small>Oracle Corporation has recently published a white paper written by...</small></li><li><a href='http://www.mandsconsulting.com/oracle-bpel-sensors-for-real-time-event-publishing-from-business-processes-a-design-perspective' rel='bookmark' title='Permanent Link: Oracle BPEL Sensors for Real Time Event Publishing from Business Processes - A Design Perspective'>Oracle BPEL Sensors for Real Time Event Publishing from Business Processes - A Design Perspective</a> <small>This article is a look at Oracle’s BPEL Sensor approach...</small></li><li><a href='http://www.mandsconsulting.com/deciding-where-to-use-bpel-vs-esb' rel='bookmark' title='Permanent Link: Deciding where to use BPEL vs ESB'>Deciding where to use BPEL vs ESB</a> <small>I just had a discussion with an M&#038;S SOA Architect...</small></li><li><a href='http://www.mandsconsulting.com/invalid-nested-schema-loading-error-with-oracle-bpel-aiapip' rel='bookmark' title='Permanent Link: Invalid Nested Schema Loading Error with Oracle BPEL, AIA/PIP'>Invalid Nested Schema Loading Error with Oracle BPEL, AIA/PIP</a> <small>I faced this issue in the context of building an...</small></li></ol>]]></description>
			<content:encoded><![CDATA[<p>I am excited about BPEL&#8217;s proliferation.  But for some organizations (specifically, IT shops), BPEL is being used in areas it is simple not well-suited.  For example, some places where IT has gotten ahead of the business, it is used as a process modeling tool.  True, BPEL &#8220;represents&#8221; a process, it is my opinion that proper business modeling tools be used prior to orchestration being defined in BPEL.</p>
<p>Another scenario I continue to find is that people are using BPEL for just about every piece of logic that goes into a business process being executed.  The fact is, BPEL does very well at integrating with other services where complex &#8212; and more importantly, &#8220;fast-changing&#8221; &#8212; logic is executed.  So, my advise is to not throw away every other tool in the belt in the face of BPEL.  Fast-changing decisions are better handled outside of BPEL, especially as you consider the deployment process for BPEL, and most especially if you have long-running processes.  Business rules engines, databases, and external services that perform specific logic/functions should continue to be leveraged in these cases.  I&#8217;d be interested in hearing from others who are concerned about this challenge or maybe have already faced it.</p>


<p>Related posts:<ol><li><a href='http://www.mandsconsulting.com/asynchronous-vs-synchronous-bpel-processes' rel='bookmark' title='Permanent Link: Asynchronous vs Synchronous BPEL Processes'>Asynchronous vs Synchronous BPEL Processes</a> <small>Asynchronous and Synchronous BPEL processes, as their names imply, process...</small></li><li><a href='http://www.mandsconsulting.com/salesforcecom-integration-oracle-fusion-middleware-soa-and-bpel' rel='bookmark' title='Permanent Link: Salesforce.com Integration - Oracle Fusion Middleware SOA and BPEL'>Salesforce.com Integration - Oracle Fusion Middleware SOA and BPEL</a> <small>Oracle Corporation has recently published a white paper written by...</small></li><li><a href='http://www.mandsconsulting.com/oracle-bpel-sensors-for-real-time-event-publishing-from-business-processes-a-design-perspective' rel='bookmark' title='Permanent Link: Oracle BPEL Sensors for Real Time Event Publishing from Business Processes - A Design Perspective'>Oracle BPEL Sensors for Real Time Event Publishing from Business Processes - A Design Perspective</a> <small>This article is a look at Oracle’s BPEL Sensor approach...</small></li><li><a href='http://www.mandsconsulting.com/deciding-where-to-use-bpel-vs-esb' rel='bookmark' title='Permanent Link: Deciding where to use BPEL vs ESB'>Deciding where to use BPEL vs ESB</a> <small>I just had a discussion with an M&#038;S SOA Architect...</small></li><li><a href='http://www.mandsconsulting.com/invalid-nested-schema-loading-error-with-oracle-bpel-aiapip' rel='bookmark' title='Permanent Link: Invalid Nested Schema Loading Error with Oracle BPEL, AIA/PIP'>Invalid Nested Schema Loading Error with Oracle BPEL, AIA/PIP</a> <small>I faced this issue in the context of building an...</small></li></ol></p><img src="http://feeds.feedburner.com/~r/mandsconsulting/~4/euIhwQ_8TiQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.mandsconsulting.com/bpel-not-good-for-rapid-changes/feed</wfw:commentRss>
		<feedburner:origLink>http://www.mandsconsulting.com/bpel-not-good-for-rapid-changes</feedburner:origLink></item>
	</channel>
</rss>
