<?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>Mon, 16 Apr 2012 19:33:42 +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[<div class="bottomcontainerBox" style="">
			<div style="float:left; width:50px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fglufke.net%2F2007%2F08%2F22%2Fhelpsql-dos-comandos-do-sqlplus%2F&amp;layout=button_count&amp;show_faces=false&amp;width=50&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:50px; height:21px;"></iframe></div>
			<div style="float:left; width:60px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://glufke.net/2007/08/22/helpsql-dos-comandos-do-sqlplus/"></g:plusone>
			</div>
			<div style="float:left; width:70px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://glufke.net/2007/08/22/helpsql-dos-comandos-do-sqlplus/"  data-text="HELP.SQL dos comandos do SQL*Plus" data-count="horizontal" data-via="glufke"></a>
			</div><div style="float:left; width:110px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://glufke.net/2007/08/22/helpsql-dos-comandos-do-sqlplus/" data-counter="right"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><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>

