<?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>Oracle Database Tips blog &#187; sqlplus demo setup</title>
	<atom:link href="http://oracle-database-tips.com/wp/tag/sqlplus-demo-setup/feed" rel="self" type="application/rss+xml" />
	<link>http://oracle-database-tips.com/wp</link>
	<description>News for Oracle professionals</description>
	<lastBuildDate>Fri, 11 May 2012 12:12:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Sqlplus demo table setup</title>
		<link>http://oracle-database-tips.com/wp/sqlplus/sqlplus-demo-table-setup</link>
		<comments>http://oracle-database-tips.com/wp/sqlplus/sqlplus-demo-table-setup#comments</comments>
		<pubDate>Fri, 23 Oct 2009 11:18:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SQL*PLUS]]></category>
		<category><![CDATA[default user]]></category>
		<category><![CDATA[oracle demo setup]]></category>
		<category><![CDATA[sql script]]></category>
		<category><![CDATA[sqlplus demo setup]]></category>
		<category><![CDATA[table creation]]></category>

		<guid isPermaLink="false">http://oracle-database-tips.com/wp/?p=81</guid>
		<description><![CDATA[Sqlplus demo table setup]]></description>
			<content:encoded><![CDATA[<p>Create scott and run the oracle sqlplus demo table creation script<br />
by following the instructions below.</p>
<p>Scott is the standard example schema used to run queries and scripts to show how Oracle works.</p>
<h3>Scott schema creation.</h3>
<p>Create the <strong>scott</strong> user on your database if it does not already exist.</p>
<p>Connect to the database as a dba user, like sys or system.</p>
<div id="textbox">
<div>SQL&gt; create user scott identified by tiger<br />
default tablespace users temporary tablespace temp profile default;</p>
<p>User created.</p>
<p>SQL&gt; grant connect, resource to scott;</p>
<p>Grant succeeded.</p>
<p>SQL&gt; alter user scott account unlock;</p>
<p>User altered.</p></div>
</div>
<h3>Demobuild execution.</h3>
<p>The script to create the tables (<a href="http://oracle-database-tips.com/wp/sqlplus/demobldsql">demobld.sql</a>) is located in<br />
%oracle_home%sqlplusdemodemobld.sql<br />
or<br />
$ORACLE_HOME/sqlplus/demo/demobld.sql,<br />
for either windows or unix.</p>
<p>Depending on which version of Oracle you use, it will create the following tables:</p>
<ul>
<li>EMP</li>
<li>DEPT</li>
<li>BONUS</li>
<li>SALGRADE</li>
<li>DUMMY</li>
</ul>
<p>How to run it:</p>
<div id="textbox">
<div>SQL&gt; connect scott/tiger<br />
Connected.</p>
<p>SQl&gt; @?/sqlplus/demo/demobld.sql<br />
Building demonstration tables.  Please wait.<br />
Demonstration table build is complete.</p></div>
</div>
<p>To drop the demo tables, run the <a href="http://oracle-database-tips.com/wp/sqlplus/demodropsql">demodrop.sql</a> script in the same directory.</p>
]]></content:encoded>
			<wfw:commentRss>http://oracle-database-tips.com/wp/sqlplus/sqlplus-demo-table-setup/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

