<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Oracle Spin</title>
	<atom:link href="http://oraclespin.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://oraclespin.wordpress.com</link>
	<description>Day-to-Day Experiences</description>
	<lastBuildDate>Sat, 14 Nov 2009 05:23:52 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='oraclespin.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/bc0272a8ff0a36c556f9ab12a40fc4b7?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Oracle Spin</title>
		<link>http://oraclespin.wordpress.com</link>
	</image>
			<item>
		<title>How to find average row length for a table?</title>
		<link>http://oraclespin.wordpress.com/2009/10/24/how-to-find-average-row-length-for-a-table/</link>
		<comments>http://oraclespin.wordpress.com/2009/10/24/how-to-find-average-row-length-for-a-table/#comments</comments>
		<pubDate>Sun, 25 Oct 2009 04:06:53 +0000</pubDate>
		<dc:creator>Amin Jaffer</dc:creator>
				<category><![CDATA[Datatypes]]></category>
		<category><![CDATA[General DBA]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[average]]></category>
		<category><![CDATA[avg]]></category>
		<category><![CDATA[determine]]></category>
		<category><![CDATA[find]]></category>
		<category><![CDATA[length]]></category>
		<category><![CDATA[row]]></category>
		<category><![CDATA[size]]></category>
		<category><![CDATA[table]]></category>

		<guid isPermaLink="false">http://oraclespin.wordpress.com/?p=1119</guid>
		<description><![CDATA[Using the following PL/SQL code one can find average size of a row in a table, the following code samples the first 100 rows.  It expects 2 parameters table owner and table_name.
DECLARE
   l_vc2_table_owner VARCHAR2(30) := &#39;&#38;table_owner&#39;;
   l_vc2_table_name VARCHAR2(30) := &#39;&#38;table_name&#39;;
   /* sample number of rows */
   [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oraclespin.wordpress.com&blog=2592919&post=1119&subd=oraclespin&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://oraclespin.wordpress.com/2009/10/24/how-to-find-average-row-length-for-a-table/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/023364c1c5e078d0e3d235383fc66657?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ajaffer</media:title>
		</media:content>
	</item>
		<item>
		<title>Sample program that transfers data from MySQL to Oracle (CLOB)</title>
		<link>http://oraclespin.wordpress.com/2009/10/24/sample-program-that-transfers-data-from-mysql-to-oracle-clob/</link>
		<comments>http://oraclespin.wordpress.com/2009/10/24/sample-program-that-transfers-data-from-mysql-to-oracle-clob/#comments</comments>
		<pubDate>Sat, 24 Oct 2009 16:51:16 +0000</pubDate>
		<dc:creator>Amin Jaffer</dc:creator>
				<category><![CDATA[Datatypes]]></category>
		<category><![CDATA[General DBA]]></category>
		<category><![CDATA[JDBC]]></category>
		<category><![CDATA[LOB]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[CLOB]]></category>
		<category><![CDATA[load]]></category>
		<category><![CDATA[migrate]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[textfield]]></category>
		<category><![CDATA[transfer]]></category>

		<guid isPermaLink="false">http://oraclespin.wordpress.com/?p=1090</guid>
		<description><![CDATA[Table structure in Oracle
SQL&#62; desc scott.oracletable;
 Name                                      Null?    Type
 &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; &#8212;&#8212;&#8211; &#8212;&#8212;&#8212;-
 TRANSDATE   [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oraclespin.wordpress.com&blog=2592919&post=1090&subd=oraclespin&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://oraclespin.wordpress.com/2009/10/24/sample-program-that-transfers-data-from-mysql-to-oracle-clob/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/023364c1c5e078d0e3d235383fc66657?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ajaffer</media:title>
		</media:content>
	</item>
		<item>
		<title>How to skip blank lines in between SQL statements in SQL*Plus?</title>
		<link>http://oraclespin.wordpress.com/2009/10/23/how-to-skip-blank-lines-in-between-sql-statements-in-sqlplus/</link>
		<comments>http://oraclespin.wordpress.com/2009/10/23/how-to-skip-blank-lines-in-between-sql-statements-in-sqlplus/#comments</comments>
		<pubDate>Sat, 24 Oct 2009 00:43:54 +0000</pubDate>
		<dc:creator>Amin Jaffer</dc:creator>
				<category><![CDATA[SQL*Plus]]></category>
		<category><![CDATA[blank]]></category>
		<category><![CDATA[blankline]]></category>
		<category><![CDATA[empty]]></category>
		<category><![CDATA[ignore]]></category>
		<category><![CDATA[line]]></category>
		<category><![CDATA[sqlblankline]]></category>

		<guid isPermaLink="false">http://oraclespin.wordpress.com/?p=1105</guid>
		<description><![CDATA[If a SQL script file has blank lines in between SQL statements one may see errors when executing the script in SQL*Plus so if one would like to ignore the blanklines in SQL*Plus one can ignore them by set blanklines on.
Example:
SQL&#62; select object_name
  2
SQL&#62; from dba_objects;
SP2-0734: unknown command beginning &#8220;from dba_o&#8230;&#8221; &#8211; rest of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oraclespin.wordpress.com&blog=2592919&post=1105&subd=oraclespin&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://oraclespin.wordpress.com/2009/10/23/how-to-skip-blank-lines-in-between-sql-statements-in-sqlplus/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/023364c1c5e078d0e3d235383fc66657?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ajaffer</media:title>
		</media:content>
	</item>
		<item>
		<title>How to turn off case sensitive in 11g</title>
		<link>http://oraclespin.wordpress.com/2009/10/22/how-to-turn-off-case-sensitive-in-11g/</link>
		<comments>http://oraclespin.wordpress.com/2009/10/22/how-to-turn-off-case-sensitive-in-11g/#comments</comments>
		<pubDate>Thu, 22 Oct 2009 18:40:11 +0000</pubDate>
		<dc:creator>Alex Lima</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[11g]]></category>
		<category><![CDATA[case]]></category>
		<category><![CDATA[enable]]></category>
		<category><![CDATA[logon]]></category>
		<category><![CDATA[sensitive]]></category>

		<guid isPermaLink="false">http://oraclespin.wordpress.com/?p=1100</guid>
		<description><![CDATA[SQL&#62; SHOW PARAMETER SEC_CASE_SENSITIVE_LOGON
NAME                                 TYPE        VALUE
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8211; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;
sec_case_sensitive_logon         [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oraclespin.wordpress.com&blog=2592919&post=1100&subd=oraclespin&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://oraclespin.wordpress.com/2009/10/22/how-to-turn-off-case-sensitive-in-11g/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d95c37069ab208869c121e4df753dcac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">aofl</media:title>
		</media:content>
	</item>
		<item>
		<title>How to find users with default password in 11g?</title>
		<link>http://oraclespin.wordpress.com/2009/10/22/how-to-find-users-with-default-password-in-11g/</link>
		<comments>http://oraclespin.wordpress.com/2009/10/22/how-to-find-users-with-default-password-in-11g/#comments</comments>
		<pubDate>Thu, 22 Oct 2009 18:33:47 +0000</pubDate>
		<dc:creator>Alex Lima</dc:creator>
				<category><![CDATA[General DBA]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[account]]></category>
		<category><![CDATA[DEFAULT]]></category>
		<category><![CDATA[determine]]></category>
		<category><![CDATA[find]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[schema]]></category>

		<guid isPermaLink="false">http://oraclespin.wordpress.com/?p=1097</guid>
		<description><![CDATA[Now Oracle has a quick way to find users with detault password.
SQL&#62; SELECT * FROM dba_users_with_defpwd;
And here is the output:
USERNAME
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;
DIP
MDSYS
WK_TEST
CTXSYS
OLAPSYS
OUTLN
EXFSYS
SCOTT
MDDATA
ORDPLUGINS
ORDSYS
XDB
LBACSYS
SI_INFORMTN_SCHEMA
WMSYS
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oraclespin.wordpress.com&blog=2592919&post=1097&subd=oraclespin&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://oraclespin.wordpress.com/2009/10/22/how-to-find-users-with-default-password-in-11g/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d95c37069ab208869c121e4df753dcac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">aofl</media:title>
		</media:content>
	</item>
		<item>
		<title>Sample JDBC program which connects to Oracle</title>
		<link>http://oraclespin.wordpress.com/2009/10/14/sample-jdbc-program-which-connects-to-oracle/</link>
		<comments>http://oraclespin.wordpress.com/2009/10/14/sample-jdbc-program-which-connects-to-oracle/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 01:34:08 +0000</pubDate>
		<dc:creator>Amin Jaffer</dc:creator>
				<category><![CDATA[JDBC]]></category>
		<category><![CDATA[check]]></category>
		<category><![CDATA[connection]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[test]]></category>
		<category><![CDATA[verify]]></category>

		<guid isPermaLink="false">http://oraclespin.wordpress.com/?p=1087</guid>
		<description><![CDATA[Sample program that demonstrates using JDBC to connect to Oracle database.
Source code
$ cat TestConnection.java
import java.sql.*;
public class TestConnection {
  public static void main (String args []) throws SQLException, InterruptedException
  {
        DriverManager.registerDriver (new oracle.jdbc.driver.OracleDriver());
	java.util.Properties props = new java.util.Properties();
	// user/password@host:port:SID
        Connection conn [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oraclespin.wordpress.com&blog=2592919&post=1087&subd=oraclespin&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://oraclespin.wordpress.com/2009/10/14/sample-jdbc-program-which-connects-to-oracle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/023364c1c5e078d0e3d235383fc66657?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ajaffer</media:title>
		</media:content>
	</item>
		<item>
		<title>How to list the access the roles the different users have?</title>
		<link>http://oraclespin.wordpress.com/2009/10/14/how-to-list-the-access-the-roles-the-different-users-have/</link>
		<comments>http://oraclespin.wordpress.com/2009/10/14/how-to-list-the-access-the-roles-the-different-users-have/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 01:06:44 +0000</pubDate>
		<dc:creator>Amin Jaffer</dc:creator>
				<category><![CDATA[Grant]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[display]]></category>
		<category><![CDATA[find]]></category>
		<category><![CDATA[grant]]></category>
		<category><![CDATA[role]]></category>

		<guid isPermaLink="false">http://oraclespin.wordpress.com/?p=1082</guid>
		<description><![CDATA[&#8211; print usernames and the roles assigned to the user, it can be run against any database and it will print the users and the roles assigned to different users
SELECT sl.name, g.name
   FROM sysusers u, sysusers g, sysmembers m, master.dbo.syslogins sl
where g.name IN (SELECT name FROM dbo.sysusers WHERE ([issqlrole] = 1 OR [isapprole] [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oraclespin.wordpress.com&blog=2592919&post=1082&subd=oraclespin&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://oraclespin.wordpress.com/2009/10/14/how-to-list-the-access-the-roles-the-different-users-have/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/023364c1c5e078d0e3d235383fc66657?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ajaffer</media:title>
		</media:content>
	</item>
		<item>
		<title>How to find a length of LOB column?</title>
		<link>http://oraclespin.wordpress.com/2009/10/10/how-to-find-a-length-of-lob-column/</link>
		<comments>http://oraclespin.wordpress.com/2009/10/10/how-to-find-a-length-of-lob-column/#comments</comments>
		<pubDate>Sat, 10 Oct 2009 21:29:04 +0000</pubDate>
		<dc:creator>Amin Jaffer</dc:creator>
				<category><![CDATA[Datatypes]]></category>
		<category><![CDATA[General DBA]]></category>
		<category><![CDATA[LOB]]></category>
		<category><![CDATA[CLOB]]></category>
		<category><![CDATA[column]]></category>
		<category><![CDATA[length]]></category>

		<guid isPermaLink="false">http://oraclespin.wordpress.com/?p=1054</guid>
		<description><![CDATA[Using dbms_lob.getlength(column name) one can find the length of the LOB (CLOB/BLOB/BFILE) data type.
Example:
SQL&#62; SELECT dbms_lob.getlength(lob_column) FROM scott.lob_table;
DBMS_LOB.GETLENGTH(lob_column)
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;
                             358
         [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oraclespin.wordpress.com&blog=2592919&post=1054&subd=oraclespin&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://oraclespin.wordpress.com/2009/10/10/how-to-find-a-length-of-lob-column/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/023364c1c5e078d0e3d235383fc66657?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ajaffer</media:title>
		</media:content>
	</item>
		<item>
		<title>How to find if a table has row chaining?</title>
		<link>http://oraclespin.wordpress.com/2009/10/07/how-to-find-if-a-table-has-row-chaining/</link>
		<comments>http://oraclespin.wordpress.com/2009/10/07/how-to-find-if-a-table-has-row-chaining/#comments</comments>
		<pubDate>Thu, 08 Oct 2009 03:48:15 +0000</pubDate>
		<dc:creator>Amin Jaffer</dc:creator>
				<category><![CDATA[General DBA]]></category>
		<category><![CDATA[chain]]></category>
		<category><![CDATA[COMPUTE]]></category>
		<category><![CDATA[determine]]></category>
		<category><![CDATA[find]]></category>
		<category><![CDATA[rows]]></category>
		<category><![CDATA[statistics]]></category>

		<guid isPermaLink="false">http://oraclespin.wordpress.com/?p=1063</guid>
		<description><![CDATA[Using ANALYZE TABLE owner.table_name COMPUTE STATISTICS one can find if the table has chained rows.
Example:
&#8211; analyze again
SQL&#62; analyze table scott.chain_table COMPUTE STATISTICS;
Table analyzed.
&#8211; shows row chaining occurred when existing rows were updated and percent of rows
SQL&#62;     SELECT chain_cnt,
              [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oraclespin.wordpress.com&blog=2592919&post=1063&subd=oraclespin&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://oraclespin.wordpress.com/2009/10/07/how-to-find-if-a-table-has-row-chaining/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/023364c1c5e078d0e3d235383fc66657?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ajaffer</media:title>
		</media:content>
	</item>
		<item>
		<title>How to find the IO stats of filesystem?</title>
		<link>http://oraclespin.wordpress.com/2009/10/05/how-to-find-the-io-stats-of-filesystem/</link>
		<comments>http://oraclespin.wordpress.com/2009/10/05/how-to-find-the-io-stats-of-filesystem/#comments</comments>
		<pubDate>Tue, 06 Oct 2009 04:56:36 +0000</pubDate>
		<dc:creator>Amin Jaffer</dc:creator>
				<category><![CDATA[General DBA]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Tuning]]></category>
		<category><![CDATA[filesystem]]></category>
		<category><![CDATA[io]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[read]]></category>
		<category><![CDATA[v$filestat]]></category>
		<category><![CDATA[write]]></category>

		<guid isPermaLink="false">http://oraclespin.wordpress.com/?p=1034</guid>
		<description><![CDATA[Using v$filestat one can find the physical reads and writes to datafiles it also includes reads done by RMAN.  So using this SQL one can find physical read and write on a filesystem.  Note:  The data reported is since the database started.
SQL&#62; column filesystem format a40
SQL&#62; SELECT substr(vdf.name, 1, instr(vdf.name, &#39;/&#39;, -1)) [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oraclespin.wordpress.com&blog=2592919&post=1034&subd=oraclespin&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://oraclespin.wordpress.com/2009/10/05/how-to-find-the-io-stats-of-filesystem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/023364c1c5e078d0e3d235383fc66657?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ajaffer</media:title>
		</media:content>
	</item>
	</channel>
</rss>