<?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>glufke.net &#187; SQL*Plus</title>
	<atom:link href="http://glufke.net/tag/sqlplus/feed/" rel="self" type="application/rss+xml" />
	<link>http://glufke.net</link>
	<description></description>
	<lastBuildDate>Wed, 30 Nov 2011 17:41:41 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>HELP.SQL dos comandos do SQL*Plus</title>
		<link>http://glufke.net/2007/08/22/helpsql-dos-comandos-do-sqlplus/</link>
		<comments>http://glufke.net/2007/08/22/helpsql-dos-comandos-do-sqlplus/#comments</comments>
		<pubDate>Wed, 22 Aug 2007 23:15:34 +0000</pubDate>
		<dc:creator>glufke</dc:creator>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[Dicionário de Dados]]></category>
		<category><![CDATA[SQL*Plus]]></category>
		<category><![CDATA[Utilidade]]></category>

		<guid isPermaLink="false">http://glufke.net/2007/08/22/helpsql-dos-comandos-do-sqlplus/</guid>
		<description><![CDATA[O Oracle SQL*Plus possui uma série de comandos que são uma mão na roda! Infelizmente, nem sempre temos o manual completo do SQL*Plus em mãos ou não temos acesso a internet pra pesquisar. É nessa hora que podemos fazer uso de uma tabela do usuário SYSTEM chamada HELP.
Se ela não aparece pra você, então alguém [...]]]></description>
			<content:encoded><![CDATA[<p>O Oracle SQL*Plus possui uma série de comandos que são uma <em>mão na roda</em>! Infelizmente, nem sempre temos o manual completo do SQL*Plus em mãos ou não temos acesso a internet pra pesquisar. É nessa hora que podemos fazer uso de uma tabela do usuário SYSTEM chamada HELP.<span id="more-5"></span></p>
<p>Se ela não aparece pra você, então alguém com privilégio de DBA deve dar um GRANT de select para essa tabela:<br />
<code lang="sql">SQL> grant select to USUARIO;</code></p>
<p>Com base nessa tabela, podemos usar o seguinte script que vai facilitar o serviço:</p>
<p><code lang="sql">SET VER OFF<br />
ACCEPT HELP CHAR PROMPT 'Digite o help (Em branco para mostrar tópicos): ' DEF 'TOPICS'</p>
<p>select info texto<br />
from system.help<br />
where topic=upper('&#038;&#038;HELP')<br />
order by seq<br />
/ </code></p>
<div id="ads_336x280"><script type="text/javascript"><!--
google_ad_client = "pub-8964513116661040";
google_alternate_color = "ffffFF";
google_ad_width = 336;
google_ad_height = 280;
google_ad_format = "336x280_as";
google_ad_type = "text_image";
//2007-09-07: wp_quadrado_gra
google_ad_channel = "0247072216";
google_color_border = "FFFFFF";
google_color_bg = "FFFFff";
google_color_link = "4F82CB";
google_color_text = "000000";
google_color_url = "4F82CB";
//--></script><script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>
<p>Salve o script acima como HELP.SQL e execute da seguinte forma no SQL*Plus:<br />
<code lang="sql">SQL> @help<br />
Digite o help (Em branco para mostrar tÃ³picos): PROMPT</p>
<p>TEXTO<br />
----------------------------------------------------------------</p>
<p> PROMPT<br />
 ------</p>
<p> Sends the specified message or a blank line to the user's<br />
 screen.</p>
<p> PRO[MPT] [text]</p>
<p>SQL> </code></p>
<p>Comente <a href="http://glufke.net/oracle/viewtopic.php?t=10">aqui</a></p>
]]></content:encoded>
			<wfw:commentRss>http://glufke.net/2007/08/22/helpsql-dos-comandos-do-sqlplus/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

