<?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>Sikanderjeet's Blog</title>
	<atom:link href="http://sikanderjeet.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://sikanderjeet.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Sun, 24 May 2009 17:03:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='sikanderjeet.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Sikanderjeet's Blog</title>
		<link>http://sikanderjeet.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://sikanderjeet.wordpress.com/osd.xml" title="Sikanderjeet&#039;s Blog" />
	<atom:link rel='hub' href='http://sikanderjeet.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Comparison Table of Backup and Recovery</title>
		<link>http://sikanderjeet.wordpress.com/2009/05/24/comparison-table-of-backup-and-recovery/</link>
		<comments>http://sikanderjeet.wordpress.com/2009/05/24/comparison-table-of-backup-and-recovery/#comments</comments>
		<pubDate>Sun, 24 May 2009 17:03:34 +0000</pubDate>
		<dc:creator>sikanderjeet</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://sikanderjeet.wordpress.com/?p=100</guid>
		<description><![CDATA[Oracle 9i Database backups   SQL Server 2000 Database backups   In oracle 9i, redo logs are used for backup purposes. Oracle 9i puts the database in archivelog mode and automatically backs up the redo log by a process called archiving. In SQL Server 2000, transaction logs are backed up for the same purpose. But, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sikanderjeet.wordpress.com&amp;blog=6935670&amp;post=100&amp;subd=sikanderjeet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="308" valign="top">
<h2>Oracle 9i Database backups</h2>
<p> </td>
<td width="308" valign="top">
<h2>SQL Server 2000 Database backups</h2>
<p> </td>
</tr>
<tr>
<td width="308" valign="top">In oracle 9i, redo logs are used for backup purposes. Oracle 9i puts the database in archivelog mode and <strong>automatically</strong> backs up the redo log by a process called archiving.</td>
<td width="308" valign="top">In SQL Server 2000, transaction logs are backed up for the same purpose. But, this has to be done <strong>manually</strong> by the DBA, once they fill up. DBAs often set up a batch job that runs periodically to back up transaction log, to avoid the manual task. Batch job in SQL Server is not a very acceptable solution because it cannot adapt to changes in workload.</td>
</tr>
<tr>
<td width="308" valign="top">Oracle 9i supports online backup. RMAN ensures that during online backup, impact on <strong>performance</strong> is within an acceptable limit. RMAN checks for both availability and performance of the system.</td>
<td width="308" valign="top">SQL Server 2000 also has online backup capability, but users may experience <strong>performance degradation. </strong></td>
</tr>
<tr>
<td width="308" valign="top">Oracle 9i backups are <strong>complete and fully</strong> <strong>self- contained</strong>. Oracle database can be recovered from any situation as long as a good backup is available.</td>
<td width="308" valign="top">SQL Server 2000 backups are not <strong>self-</strong> <strong>contained</strong>. Hence, if msdb is lost, database is recovered by installing original CD even, even if regular backups are performed.</td>
</tr>
<tr>
<td width="308" valign="top"><strong>Block media recovery </strong>feature of oracle 9i allows recovering only that block which is damaged and needs recovery. The rest of the file remains online and accessible</td>
<td width="308" valign="top">SQL Server cannot recover data in single block units. <strong>Full file </strong>needs to be taken offline, restored and recovered.</td>
</tr>
<tr>
<td width="308" valign="top">Supports on-line and offline database and redo log backups. Oracle supports a number of certified vendors equipments for backup.</p>
<p> </td>
<td width="308" valign="top">SQL Server 2000 includes the capability to perform differential backups. Using this approach, backups run relatively quickly and are smaller in size than other types of backups. Moreover, differential backups may be performed while users access the database.</td>
</tr>
<tr>
<td width="308" valign="top">Oracle DBMS performs automatic recovery each time it is started.</td>
<td width="308" valign="top">SQL Server2000 performs automatic recovery by checking each database in the system each time its Windows NT/2000 Service is started.</td>
</tr>
<tr>
<td width="308" valign="top">Uncommitted data from Rollback segments is removed and online redo log files are searched for any information required at the time of recovery.</td>
<td width="308" valign="top">SQL Server transaction log has the combined functionality of an Oracle rollback segment and an Oracle online redo log. Transaction log keeps record of all changes to the database.</td>
</tr>
<tr>
<td width="308" valign="top">Oracle automatically creates and schedules a predefined backup job during database creation that implements the Oracle recommended strategy for backup management. The Oracle recommended strategy calls for backups to be made as follows:</p>
<p> </p>
<p>• Perform full database backup once</p>
<p> </p>
<p>• Subsequently perform incremental backups</p>
<p> </p>
<p>• Update full database backup image copy with incremental backups</p>
<p> </td>
<td width="308" valign="top">In SQL Server, backup management is the burden of the DBA. A DBA has to first understand SQL Server architecture, learn about all the backup and recovery features that it provides, and then devise a strategy that provides the best possible recovery for the business needs. Once all this is done, the DBA then has to create the backup job that implements the strategy. This is another area where a DBA has to worry about one less thing in Oracle than in SQL Server.</td>
</tr>
<tr>
<td width="308" valign="top">
<h2>Flashback query</h2>
<h2>Users can make mistakes such as entering the wrong values or deleting the wrong set of rows. Oracle9I’s flashback query allows an administrator or a user to view the database at a point-in time in the past. Developers can use this feature to build self-service error correction applications, empowering end-users to undo and correct their errors without delay.</h2>
<p> </td>
<td width="308" valign="top"><strong>Flashback query</strong></p>
<p>Not Supported</td>
</tr>
</tbody>
</table>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sikanderjeet.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sikanderjeet.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sikanderjeet.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sikanderjeet.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sikanderjeet.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sikanderjeet.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sikanderjeet.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sikanderjeet.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sikanderjeet.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sikanderjeet.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sikanderjeet.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sikanderjeet.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sikanderjeet.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sikanderjeet.wordpress.com/100/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sikanderjeet.wordpress.com&amp;blog=6935670&amp;post=100&amp;subd=sikanderjeet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sikanderjeet.wordpress.com/2009/05/24/comparison-table-of-backup-and-recovery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f159da882f4f3c5366ab964516c15ec4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sikanderjeet</media:title>
		</media:content>
	</item>
		<item>
		<title>Backup and Recovery in SQL Server2000 and Oracle9i</title>
		<link>http://sikanderjeet.wordpress.com/2009/05/24/backup-and-recovery-in-sql-server2000-and-oracle9i/</link>
		<comments>http://sikanderjeet.wordpress.com/2009/05/24/backup-and-recovery-in-sql-server2000-and-oracle9i/#comments</comments>
		<pubDate>Sun, 24 May 2009 16:54:35 +0000</pubDate>
		<dc:creator>sikanderjeet</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://sikanderjeet.wordpress.com/?p=96</guid>
		<description><![CDATA[Backup and recovery Backup and recovery is one of the important features of any Database Management system. These two are very close companions and one cannot exist without the other. In general, act of copying files from one location to a secondary storage location is called Backup. It is done to protect the organizations from [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sikanderjeet.wordpress.com&amp;blog=6935670&amp;post=96&amp;subd=sikanderjeet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Backup and recovery</strong></p>
<p>Backup and recovery is one of the important features of any Database Management system. These two are very close companions and one cannot exist without the other.</p>
<p>In general, act of copying files from one location to a secondary storage location is called Backup. It is done to protect the organizations from any kind of loss in case of disasters. And, the act of copying files or data from a backup location to resume functioning after a disaster or failure is called Recovery.</p>
<p><strong><span style="text-decoration:underline;">In Oracle 9i</span></strong></p>
<p>A backup is a copy of data and it acts as a safeguard against application errors and unpredicted data loss.</p>
<p>Backups are divided into physical backups and logical backups.</p>
<p><strong>Physical and Logical backups</strong></p>
<p><strong>Physical backups</strong> are backups of physical database files such as data files and control files. They are done using either Recovery Manager (RMAN) utility or Operating system utilities.</p>
<p><strong>Logical backups</strong> are the backups used to supplement physical backups and they contain logical data about schema objects like tables and stored procedures. Oracle Export Utility is used and data is stored in a binary file.</p>
<p> </p>
<p><strong>Whole Database and Partial Database backups</strong></p>
<p><strong> Whole Database backup </strong>is the most common type of backup and includes backup of current control file with all the data files. It does not require to be operated in specific archiving mode.</p>
<p>The whole database backups can be done with the following methods:</p>
<ul>
<li>An operating system utility that makes a separate copy of each individual datafile in the database as well as the current control file</li>
<li>The RMAN BACKUP DATABASE command</li>
<li>The RMAN COPY DATAFILE command run against each datafile in the database, and the COPY CURRENT CONTROLFILE command run against the control file</li>
</ul>
<p> </p>
<table border="0" cellspacing="0" cellpadding="0" width="80%">
<tbody>
<tr>
<td> </td>
</tr>
</tbody>
</table>
<p><strong>Whole Database Backup Options</strong><strong></strong></p>
<p> </p>
<p><strong>Tablespace Backup</strong> is the backup of all the data files that constitute the tablespace. Tablespace backups, whether online or offline, are valid only if the database is operating in ARCHIVELOG mode. This is because the redo is required to make the restored tablespace consistent with the other tablespaces in the database.</p>
<p>For a database in NONARCHIVELOG mode, the tablespace backup is valid only when the tablespace is currently read-only or offline-normal. This is because; no redo is required to recover them.</p>
<p>You can make backups of an individual tablespace with the following methods:</p>
<ul>
<li>An operating system utility that makes a separate copy of each datafile in the tablespace</li>
<li>The RMAN BACKUP TABLESPACE command</li>
<li>The RMAN COPY DATAFILE command run against each datafile in the tablespace</li>
</ul>
<p><strong>Datafile Backup </strong>is a backup of a single datafile. These backups are not as common as tablespace backup and are valid for databases operating in ARCHIVELOG mode.</p>
<p>For a database in NOARCHIVELOG mode, the datafile backup is valid only when :</p>
<ul>
<li>Every datafile in a tablespace is backed up and database cannot be restored unless all the datafiles are backed up.</li>
<li>the datafiles are read-only or offline-normal.</li>
</ul>
<p>Backups of an individual datafile can be done using:</p>
<ul>
<li>An operating system utility</li>
<li>The RMAN BACKUP DATAFILE command</li>
<li>The RMAN COPY DATAFILE command, which produces a datafile copy</li>
</ul>
<p><strong>Control file Backup </strong>is one of the important aspects of backup and recovery. A database cannot be opened or mounted, if control file is not available.</p>
<p>CONFIGURE CONTROLFILE AUTOBACKUP command of RMAN, allows automatic backup of the control file. It is called control file autobackup. RMAN can restore this backup even if RMAN repository is not available. Therefore, it is a very useful feature in backup and recovery.</p>
<p>Manual backups can be taken using following methods:</p>
<table border="0" cellspacing="0" cellpadding="0" width="80%">
<tbody>
<tr>
<td> </td>
</tr>
</tbody>
</table>
<ul>
<li>The RMAN BACKUP CURRENT CONTROLFILE creates a RMAN-specific backup of the control file, and the COPY CURRENT CONTROLFILE command creates an image copy of the control file.</li>
<li>The SQL statement ALTER DATABASE BACKUP CONTROLFILE makes a binary backup of the control file.</li>
<li>The SQL statement ALTER DATABASE BACKUP CONTROLFILE TO TRACE exports the control file contents to a SQL script file. This script can be used to create a new control file. One main disadvantage of trace file backups is that they contain no records of archived redo logs, offline ranges for datafiles, and RMAN backups and copies. For this reason only, binary backups are preferable.</li>
</ul>
<table border="0" cellspacing="0" cellpadding="0" width="80%">
<tbody>
<tr>
<td> </td>
</tr>
</tbody>
</table>
<p><strong>Archived Redo Log Backups</strong><strong></strong></p>
<p>Archived redo logs are essential for recovering an inconsistent backup. The only way to recover an inconsistent backup without archived logs is to use RMAN incremental backups. To be able to recover a backup through the most recent log, every log generated between these two points must be available. In other words, you cannot recover from log 100 to log 200 if log 173 is missing. If log 173 is missing, then you must halt recovery at log 172 and open the database with the RESETLOGS option.</p>
<p>Because archived redo logs are essential to recovery, you should back them up regularly. If you use a media manager, then back them up regularly to tape.</p>
<p>You can make backups of archived logs by using the following methods:</p>
<ul>
<li>An operating system utility</li>
<li>The RMAN BACKUP ARCHIVELOG command</li>
<li>The RMAN BACKUP &#8230; PLUS ARCHIVELOG command</li>
<li>The RMAN COPY ARCHIVELOG command</li>
</ul>
<table border="0" cellspacing="0" cellpadding="0" width="80%">
<tbody>
<tr>
<td> </td>
</tr>
</tbody>
</table>
<p><strong>Consistent and Inconsistent Backups</strong><strong></strong></p>
<h5><strong><a href="http://download.oracle.com/docs/cd/B10500_01/server.920/a96519/backup.htm#1004839">Consistent Backup</a></strong> is a backup of one or more database files and it is done after the database has been closed with a clean <code>SHUTDOWN</code> command. A    consistent whole database backup does not require recovery after it is restored. If there are recurring periods of minimal use, then regular consistent backups of the whole database are done and are supplied with online backups of often-used tablespaces.</h5>
<p>A consistent whole database backup is the only valid backup option for databases operating in <code>NOARCHIVELOG</code> mode, because otherwise redo will need to be applied to create consistency. In <code>NOARCHIVELOG</code> mode, Oracle does not archive the redo logs, and so the required redo logs may not exist on disk.</p>
<h3>Inconsistent Backup</h3>
<p>An inconsistent backup is a backup of one or more database files that you make while the database is open or after the database has shut down abnormally.</p>
<h3>If your database must be open and available all the time, then inconsistent backups are your only option</h3>
<p>An inconsistent backup is a backup in which all read/write datafiles and control files have not been checkpointed with respect to the same SCN</p>
<h2><strong>Online and Offline Backups</strong><strong></strong></h2>
<h2><strong>Online backup is backup of all</strong> specified datafiles of an online tablespace while the database is open, but only when the database runs in <code>ARCHIVELOG</code> mode. Online backup is also known as open backup.</h2>
<h2>Inconsistent data within a block is a cause of problem in online backups. Oracle cannot open the database, until all changes recorded in the online redo logs have been saved to the datafiles on disk. For that, data must be synchronized with respect to same System Change Number.</h2>
<p><code>ALTER</code> <code>TABLESPACE</code> <code>BEGIN</code> <code>BACKUP</code> statement places the online tablespace. It is done to put a tablespace in backup mode to make user-managed backups of datafiles in an online, read/write tablespace. After an online backup is completed, <code>ALTER</code> <code>TABLESPACE</code> <code>...</code> <code>END</code> <code>BACKUP</code> or <code>ALTER</code> <code>DATABASE</code> <code>END</code> <code>BACKUP</code> statement to take the tablespace out of backup mode.</p>
<h3>Offline backup is backup which is performed when the tablespace or datafile is offline.</h3>
<h3><code>ALTER</code> <code>TABLESPACE</code> <code>OFFLINE command takes tablespace offline using any of three different options: NORMAL</code>, <code>TEMPORARY</code>, or <code>IMMEDIATE</code>. There is no need to bring tablespace or datafile back online, if backup is taken with normal option. Necessary backups on datafiles and tablespaces can be performed without ever having to shut down the database or perform recovery.</h3>
<h2>RMAN and User-Managed Backups</h2>
<h3>RMAN Backup is generated by running the BACKUP command from RMAN interface. It generates either a backup set or a proxy copy and writes it to an operating system or third-party media manager (if used).</h3>
<h3>In contrast to the <code>BACKUP</code> command, the RMAN <code>COPY</code> command generates a datafile, control file, or archived log image copy that can be restored by an operating system utility.</h3>
<p> The <code>COPY</code> command only copies to disk. However, the <code>BACKUP</code> command is used to back up image copies to tape.</p>
<p>If RMAN is used to make a backup or copy, it records the action in the target database control file. If a recovery catalog is used, then RMAN pulls the metadata from the control file into the catalog. To restore the backups or copies, run the <code>RESTORE</code> command. RMAN queries the metadata and then chooses among the available backups and copies and restores them.</p>
<table border="0" cellspacing="0" cellpadding="0" width="80%">
<tbody>
<tr>
<td> </td>
</tr>
</tbody>
</table>
<h3>User-Managed Backups are done by using Operating system utilities. The available commands are operating system specific.</h3>
<p>On Windows NT, a datafile is backed up by pressing <code>CTRL+C</code> and then <code>CTRL+V</code>, by dragging and dropping, or by running a <code>COPY</code> command at the Command Prompt.</p>
<p>One major difference between user-managed backups and RMAN backups is that in the former there is no automatic metadata record of the backup. In other words, records of what you back up and where you back it up are manually maintained.</p>
<p><strong>Backup and Recovery in SQL Server2000</strong></p>
<p><strong>Types of backups</strong></p>
<p><strong>Note: </strong>- The complete backups are the default and the starting point for all other types of backups.</p>
<p> </p>
<p><strong>2.    </strong><strong>Differential: -</strong> A differential   backup backs up only the modified extents since the last complete backup was made. The modified extents are copied onto a specified backup device. Differential backups will also increase the speed of the backup operation as well as the restore. Because only the changed or newly allocated extents (bitmap tracking) are captured, differential backups are faster and smaller than full database backups<strong>. </strong><strong></strong></p>
<p>SQl Server 2000 uses a bitmap which contains one bit for each database. The value of bit is set to 1 if any pages within that particular extent have been modified since the previous complete backup. SQl Server examines bitmap when a differential backup command is issued. It accesses only the extents that are flagged as having been modified through this bitmap and writes them to backup file.</p>
<p> </p>
<p><strong>Note:</strong> Differential database backup have several limitations like do not provide point in time restore capability, may not be restored by themselves (only be restored after a complete database backup is restored) and not be allowed to perform on master database.</p>
<p> </p>
<p><strong>3.    </strong><strong>Transaction: &#8211; </strong>A Transaction log backups serially capture modifications to the database. An SQL Server database must have at least one transaction log file. A simple transaction place several records in the transaction log. These records are known as log records and each record has log sequence number. The same transaction records are linked together through the log sequence number.<strong></strong></p>
<ol>
<li>This backup can be applied to a database in an unrecovered state.</li>
</ol>
<p> </p>
<ol>
<li><strong>File/ file group</strong>: &#8211; SQL Server provides the functionality to back up individual files/filegroups within a database. File/filegroup backups are used to restore the individual file/filegroup if some or all of the files within the particular filegroup are damaged.</li>
</ol>
<p>The following boundaries are compulsory when using file/filegroup backups:</p>
<p> </p>
<ul>
<li>File/filegroup backup only be restored to the same database it was backed up from.</li>
</ul>
<p> </p>
<ul>
<li>All transaction log backups (including the tail) for the database should be available and restorable. It is inferred that this would not be possible to do on a database that is in Simple Recovery model.</li>
</ul>
<p> </p>
<ul>
<li>Point-in-time recovery is not allowed when restoring file/filegroup backups. All transaction log backups have to be restored.</li>
</ul>
<p><strong> </strong></p>
<p><strong>Note: -   </strong>A file/filegroup backup does not back up the transaction log portion of the database. This is a noteworthy difference between file/filegroup backup and complete backup.</p>
<p> </p>
<ol>
<li><strong>File/Filegroup Differential Backups:</strong> &#8211; Differential backups can be combined with file/filegroup backups to back up only the modified extents within an SQL Server database file or filegroup. By doing this we can decrease the recovery time in disaster situations where only certain file/filegroups are lost. The most recent file/filegroup differential backup contains all changes from all earlier file/filegroup differential backups, since they are growing in nature.</li>
</ol>
<p>File differential backups have the following boundaries:</p>
<ul>
<li>They are allowed only in conjunction with file/filegroup backups.</li>
<li>They are not allowed for databases that use the Simple Recovery model.</li>
<li>They require all transaction log backups (just like file/filegroup backups), including the tail of transaction log.<strong></strong></li>
</ul>
<p><strong>We can do these backups with two different techniques in SQL Server one </strong><strong>through SQL Enterprise Manager or by using Transact-SQL commands.</strong></p>
<p><strong>There are three main database recovery models supported in SQL Server 2000. Table 1 lists the various recovery models that are available and describes their effects on recovery operations.</strong></p>
<p><strong>Table 1</strong><br />
 </p>
<p>These three values replace the database options <strong>select into/bulkcopy</strong> and <strong>trunc.log on chkpt</strong>.</p>
<p>1. <strong>Full recovery model </strong></p>
<p>The full recovery model guarantees the least risk of losing work if a data file is damaged. For a database with this model, SQL Server fully logs all operations, so every row inserted through a bulk copy program (bcp) or BULK INSERT operation is written in its entirety to the transaction log.</p>
<p>It uses database backups and transaction log backups to provide complete protection against media failure. If one or more data files are damaged, media recovery can restore all committed transactions. In-process transactions are rolled back.</p>
<p>Full recovery provides the ability to recover the database to the point of failure or to a specific point in time. To guarantee this degree of recoverability, all operations, including bulk operations such as SELECT INTO, CREATE INDEX, and bulk loading data, are fully logged.</p>
<p>2. <strong>Bulk-Logged recovery model</strong></p>
<p>The Bulk-Logged recovery model allows recovery in case of media failure and gives the best performance using the least log space for certain bulk operations, including BULK INSERT, bcp, CREATE INDEX, WRITETEXT, and UPDATETEXT. In the Bulk-Logged recovery model, SQL Server minimally logs these operations. When a bulk operation is executed, SQL Server logs only the fact that the operation occurred. However, the operation is fully recoverable because SQL Server keeps track of which extends the bulk operation modified.</p>
<p>In a Bulk-Logged recovery model, the data loss exposure for these bulk copy operations is greater than in the Full recovery model. While the bulk copy operations are fully logged under the Full recovery model, they are minimally logged and cannot be controlled on an operation-by-operation basis under the Bulk-Logged recovery model. Under the Bulk-Logged recovery model, a damaged data file can result in having to redo work manually.</p>
<p>In addition, the Bulk-Logged recovery model only allows the database to be recovered to the end of a transaction log backup when the log backup contains bulk changes. Point-in-time recovery is not supported. In SQL Server 2000, it is not necessary to perform a full database backup after bulk copy operations complete under the Bulk-Logged recovery model. Transaction log backups under this model capture both the log and the results of any bulk operations performed since the last backup.</p>
<p>3. <strong>Simple recovery model </strong></p>
<p>The Simple recovery model brings forth the fastest bulk operations and the simplest backup-and-restore strategy. Under this model, SQL Server truncates the transaction log at regular intervals, removing committed transactions. Thus, only full database backups and differential backups are allowed; an error will be returned if a backup of the log is attempted while using the Simple recovery model. Because SQL Server doesn&#8217;t need the log for backup, it reuses sections as soon as all the transactions in them are committed or rolled back and no longer needed for recovery from server or transaction failure.</p>
<p><strong><span style="text-decoration:underline;">How Automatic Recovery feature of SQL 2000 Server works</span></strong></p>
<p>The Automatic Recovery feature of SQL 2000 server rolls forward (therefore writes to the database) all the committed (complete) transactions that have been written to the log file before the checkpoint, while it rolls back (deletes) all the uncommitted (therefore incomplete) transactions that were still occurring at the time of the failure.  <span> </span></p>
<p class="MsoNormal" style="text-align:justify;margin:0 0 10pt;"><strong><span style="font-size:16pt;line-height:115%;font-family:&quot;" lang="EN-IN">Backup and recovery</span></strong></p>
<p class="MsoNormal" style="text-align:justify;margin:0 0 10pt;"><span style="font-size:12pt;line-height:115%;font-family:&quot;" lang="EN-IN">Backup and recovery is one of the important features of any Database Management system. These two are very close companions and one cannot exist without the other. </span></p>
<p class="MsoNormal" style="text-align:justify;margin:0 0 10pt;"><span style="font-size:12pt;line-height:115%;font-family:&quot;" lang="EN-IN">In general, act of copying files from one location to a secondary storage location is called Backup. It is done to protect the organizations from any kind of loss in case of disasters. And, the act of copying files or data from a backup location to resume functioning after a disaster or failure is called Recovery. </span></p>
<p class="MsoNormal" style="margin:0 0 10pt;"><strong><span style="text-decoration:underline;"><span style="font-size:14pt;line-height:115%;font-family:&quot;" lang="EN-IN">In Oracle 9i</span></span></strong></p>
<p class="MsoNormal" style="text-align:justify;margin:0 0 10pt;"><span style="font-size:12pt;line-height:115%;font-family:&quot;" lang="EN-IN">A backup is a copy of data and it acts as a safeguard against application errors and unpredicted data loss.</span></p>
<p class="MsoNormal" style="text-align:justify;margin:0 0 10pt;"><span style="font-size:12pt;line-height:115%;font-family:&quot;" lang="EN-IN">Backups are divided into physical backups and logical backups.</span></p>
<p class="MsoNormal" style="text-align:justify;margin:0 0 10pt;"><strong><span style="font-size:12pt;line-height:115%;font-family:&quot;" lang="EN-IN">Physical and Logical backups</span></strong></p>
<p class="MsoNormal" style="text-align:justify;margin:0 0 10pt;"><strong><span style="font-size:12pt;line-height:115%;font-family:&quot;" lang="EN-IN">Physical backups</span></strong><span style="font-size:12pt;line-height:115%;font-family:&quot;" lang="EN-IN"> are backups of physical database files such as data files and control files. They are done using either Recovery Manager (RMAN) utility or Operating system utilities. </span></p>
<p class="MsoNormal" style="text-align:justify;margin:0 0 10pt;"><strong><span style="font-size:12pt;line-height:115%;font-family:&quot;" lang="EN-IN">Logical backups</span></strong><span style="font-size:12pt;line-height:115%;font-family:&quot;" lang="EN-IN"> are the backups used to supplement physical backups and they contain logical data about schema objects like tables and stored procedures. Oracle Export Utility is used and data is stored in a binary file.</span></p>
<p class="MsoNormal" style="text-align:justify;margin:0 0 10pt;"><span style="font-size:12pt;line-height:115%;font-family:&quot;" lang="EN-IN"> </span></p>
<p class="MsoNormal" style="text-align:justify;margin:0 0 10pt;"><strong><span style="font-size:12pt;line-height:115%;font-family:&quot;" lang="EN-IN">Whole Database and Partial Database backups</span></strong></p>
<p class="MsoNormal" style="text-align:justify;margin:0 0 10pt;"><strong><span style="font-size:12pt;line-height:115%;font-family:&quot;" lang="EN-IN"><span> </span>Whole Database backup </span></strong><span style="font-size:12pt;line-height:115%;font-family:&quot;" lang="EN-IN">is the most common type of backup and includes backup of current control file with all the data files. It does not require to be operated in specific archiving mode.<a name="1004645"></a><a name="1004649"></a><a name="1004653"></a><a name="1004657"></a><a name="1004661"></a></span></p>
<p class="MsoNormal" style="line-height:normal;text-align:justify;margin:0 0 10pt;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US">The whole database backups can be done with the following methods:</span></p>
<ul style="margin-top:0;" type="disc">
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;" lang="EN-US">An operating system utility that makes a separate copy of each individual datafile in the database as well as the current control file </span></li>
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;" lang="EN-US">The RMAN </span><span style="font-size:12pt;font-family:&quot;" lang="EN-US">BACKUP</span><span style="font-size:12pt;font-family:&quot;" lang="EN-US"> </span><span style="font-size:12pt;font-family:&quot;" lang="EN-US">DATABASE</span><span style="font-size:12pt;font-family:&quot;" lang="EN-US"> command </span></li>
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;" lang="EN-US">The RMAN </span><span style="font-size:12pt;font-family:&quot;" lang="EN-US">COPY</span><span style="font-size:12pt;font-family:&quot;" lang="EN-US"> </span><span style="font-size:12pt;font-family:&quot;" lang="EN-US">DATAFILE</span><span style="font-size:12pt;font-family:&quot;" lang="EN-US"> command run against each datafile in the database, and the </span><span style="font-size:12pt;font-family:&quot;" lang="EN-US">COPY</span><span style="font-size:12pt;font-family:&quot;" lang="EN-US"> </span><span style="font-size:12pt;font-family:&quot;" lang="EN-US">CURRENT</span><span style="font-size:12pt;font-family:&quot;" lang="EN-US"> </span><span style="font-size:12pt;font-family:&quot;" lang="EN-US">CONTROLFILE</span><span style="font-size:12pt;font-family:&quot;" lang="EN-US"> command run against the control file </span></li>
</ul>
<p class="MsoNormal" style="text-align:justify;margin:0 0 10pt;"><span style="font-size:12pt;line-height:115%;font-family:&quot;" lang="EN-US"> </span></p>
<div>
<table class="MsoNormalTable" style="width:80%;margin:auto auto auto 36pt;" border="0" cellspacing="0" cellpadding="0" width="80%">
<tbody>
<tr>
<td style="background-color:transparent;border:#ece9d8;padding:0;"><a name="1004671"></a><a name="1004664"></a><a name="1004670"></a></td>
</tr>
</tbody>
</table>
</div>
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><a name="1004673"></a><a name="1004678"></a><a name="1004679"></a><a name="1004689"></a><a name="1004691"></a><strong><span style="font-size:12pt;font-family:&quot;" lang="EN-US">Whole Database Backup Options</span></strong><strong><span style="font-size:12pt;font-family:&quot;" lang="EN-US"></span></strong></p>
<p class="MsoNormal" style="line-height:normal;margin:0 0 12pt;"> </p>
<p class="MsoNormal" style="line-height:normal;text-align:justify;margin:0 0 10pt;"><a name="1004703"></a><a name="1004708"></a><strong><span style="font-size:12pt;font-family:&quot;" lang="EN-US">Tablespace Backup</span></strong><span style="font-size:12pt;font-family:&quot;" lang="EN-US"> is the backup of all the data files that constitute the tablespace. Tablespace backups, whether online or offline, are valid only if the database is operating in ARCHIVELOG mode. This is because the redo is required to make the restored tablespace consistent with the other tablespaces in the database. </span></p>
<p class="MsoNormal" style="line-height:normal;text-align:justify;margin:0 0 10pt;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US">For a database in NONARCHIVELOG mode, the tablespace backup is valid only when the tablespace is currently read-only or offline-normal. This is because; no redo is required to recover them.</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US">You can make backups of an individual tablespace with the following methods:</span></p>
<ul style="margin-top:0;" type="disc">
<li class="MsoNormal"><a name="1004729"></a><span style="font-size:12pt;font-family:&quot;" lang="EN-US">An operating system utility that makes a separate copy of each datafile in the tablespace </span></li>
<li class="MsoNormal"><a name="1004730"></a><span style="font-size:12pt;font-family:&quot;" lang="EN-US">The RMAN </span><span style="font-size:12pt;font-family:&quot;" lang="EN-US">BACKUP</span><span style="font-size:12pt;font-family:&quot;" lang="EN-US"> </span><span style="font-size:12pt;font-family:&quot;" lang="EN-US">TABLESPACE</span><span style="font-size:12pt;font-family:&quot;" lang="EN-US"> command </span></li>
<li class="MsoNormal"><a name="1004731"></a><span style="font-size:12pt;font-family:&quot;" lang="EN-US">The RMAN </span><span style="font-size:12pt;font-family:&quot;" lang="EN-US">COPY</span><span style="font-size:12pt;font-family:&quot;" lang="EN-US"> </span><span style="font-size:12pt;font-family:&quot;" lang="EN-US">DATAFILE</span><span style="font-size:12pt;font-family:&quot;" lang="EN-US"> command run against each datafile in the tablespace </span></li>
</ul>
<p class="MsoNormal" style="line-height:normal;text-align:justify;margin:0 0 10pt;"><a name="1004710"></a><a name="1004711"></a><a name="1004712"></a><a name="1004716"></a><strong><span style="font-size:12pt;font-family:&quot;" lang="EN-US">Datafile Backup </span></strong><span style="font-size:12pt;font-family:&quot;" lang="EN-US">is a backup of a single datafile. These backups are not as common as tablespace backup and are valid for databases operating in ARCHIVELOG mode. </span></p>
<p class="MsoNormal" style="line-height:normal;text-align:justify;margin:0 0 10pt;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US">For a database in NOARCHIVELOG mode, the datafile backup is valid only when :</span></p>
<p class="MsoListParagraphCxSpFirst" style="text-indent:-18pt;line-height:normal;text-align:justify;margin:0 0 0 36pt;"><span style="font-size:12pt;font-family:Symbol;" lang="EN-US"><span>·<span style="font:7pt &quot;">         </span></span></span><span style="font-size:12pt;font-family:&quot;" lang="EN-US">Every datafile in a tablespace is backed up and database cannot be restored unless all the datafiles are backed up.</span></p>
<p class="MsoListParagraphCxSpLast" style="text-indent:-18pt;line-height:normal;text-align:justify;margin:0 0 10pt 36pt;"><span style="font-size:12pt;font-family:Symbol;" lang="EN-US"><span>·<span style="font:7pt &quot;">         </span></span></span><span style="font-size:12pt;font-family:&quot;" lang="EN-US">the datafiles are read-only or offline-normal.</span></p>
<p class="MsoNormal" style="line-height:normal;text-align:justify;margin:0 0 10pt;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US">Backups of an individual datafile can be done using:<a name="1004717"></a><a name="1004718"></a><a name="1004719"></a><a name="1004720"></a><a name="1004722"></a><a name="1004727"></a><a name="1004740"></a><a name="1004753"></a></span></p>
<ul style="margin-top:0;" type="disc">
<li class="MsoNormal"><a name="1004754"></a><span style="font-size:12pt;font-family:&quot;" lang="EN-US">An operating system utility </span></li>
<li class="MsoNormal"><a name="1004755"></a><span style="font-size:12pt;font-family:&quot;" lang="EN-US">The RMAN </span><span style="font-size:12pt;font-family:&quot;" lang="EN-US">BACKUP</span><span style="font-size:12pt;font-family:&quot;" lang="EN-US"> </span><span style="font-size:12pt;font-family:&quot;" lang="EN-US">DATAFILE</span><span style="font-size:12pt;font-family:&quot;" lang="EN-US"> command </span></li>
<li class="MsoNormal"><a name="1004759"></a><span style="font-size:12pt;font-family:&quot;" lang="EN-US">The RMAN </span><span style="font-size:12pt;font-family:&quot;" lang="EN-US">COPY</span><span style="font-size:12pt;font-family:&quot;" lang="EN-US"> </span><span style="font-size:12pt;font-family:&quot;" lang="EN-US">DATAFILE</span><span style="font-size:12pt;font-family:&quot;" lang="EN-US"> command, which produces a datafile copy</span><span style="font-size:12pt;font-family:&quot;" lang="EN-US"></span></li>
</ul>
<p class="MsoNormal" style="line-height:normal;text-align:justify;margin:6pt 0 10pt;"><strong><span style="font-size:12pt;font-family:&quot;" lang="EN-US">Control file Backup </span></strong><span style="font-size:12pt;font-family:&quot;" lang="EN-US">is one of the important aspects of backup and recovery. A database cannot be opened or mounted, if control file is not available. </span></p>
<p class="MsoNormal" style="line-height:normal;text-align:justify;margin:6pt 0 10pt;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US">CONFIGURE</span><span style="font-size:12pt;font-family:&quot;" lang="EN-US"> </span><span style="font-size:12pt;font-family:&quot;" lang="EN-US">CONTROLFILE</span><span style="font-size:12pt;font-family:&quot;" lang="EN-US"> </span><span style="font-size:12pt;font-family:&quot;" lang="EN-US">AUTOBACKUP</span><span style="font-size:12pt;font-family:&quot;" lang="EN-US"> command of RMAN, allows automatic backup of the control file. It is called control file autobackup. RMAN can restore this backup even if RMAN repository is not available. Therefore, it is a very useful feature in backup and recovery.</span></p>
<p class="MsoNormal" style="line-height:normal;text-align:justify;margin:6pt 0 10pt;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US">Manual backups can be taken using following methods:</span></p>
<div>
<table class="MsoNormalTable" style="width:80%;margin:auto auto auto 36pt;" border="0" cellspacing="0" cellpadding="0" width="80%">
<tbody>
<tr>
<td style="background-color:transparent;border:#ece9d8;padding:0;"><a name="1004774"></a><a name="1004762"></a><a name="1004768"></a></td>
</tr>
</tbody>
</table>
</div>
<ul style="margin-top:0;" type="disc">
<li class="MsoNormal"><a name="1004776"></a><a name="1004779"></a><a name="1004783"></a><a name="1004784"></a><span style="font-size:12pt;font-family:&quot;" lang="EN-US">The RMAN </span><span style="font-size:12pt;font-family:&quot;" lang="EN-US">BACKUP</span><span style="font-size:12pt;font-family:&quot;" lang="EN-US"> </span><span style="font-size:12pt;font-family:&quot;" lang="EN-US">CURRENT</span><span style="font-size:12pt;font-family:&quot;" lang="EN-US"> </span><span style="font-size:12pt;font-family:&quot;" lang="EN-US">CONTROLFILE</span><span style="font-size:12pt;font-family:&quot;" lang="EN-US"> creates a RMAN-specific backup of the control file, and the </span><span style="font-size:12pt;font-family:&quot;" lang="EN-US">COPY</span><span style="font-size:12pt;font-family:&quot;" lang="EN-US"> </span><span style="font-size:12pt;font-family:&quot;" lang="EN-US">CURRENT</span><span style="font-size:12pt;font-family:&quot;" lang="EN-US"> </span><span style="font-size:12pt;font-family:&quot;" lang="EN-US">CONTROLFILE</span><span style="font-size:12pt;font-family:&quot;" lang="EN-US"> command creates an image copy of the control file. </span></li>
<li class="MsoNormal"><a name="1004785"></a><span style="font-size:12pt;font-family:&quot;" lang="EN-US">The SQL statement </span><span style="font-size:12pt;font-family:&quot;" lang="EN-US">ALTER</span><span style="font-size:12pt;font-family:&quot;" lang="EN-US"> </span><span style="font-size:12pt;font-family:&quot;" lang="EN-US">DATABASE</span><span style="font-size:12pt;font-family:&quot;" lang="EN-US"> </span><span style="font-size:12pt;font-family:&quot;" lang="EN-US">BACKUP</span><span style="font-size:12pt;font-family:&quot;" lang="EN-US"> </span><span style="font-size:12pt;font-family:&quot;" lang="EN-US">CONTROLFILE</span><span style="font-size:12pt;font-family:&quot;" lang="EN-US"> makes a binary backup of the control file. </span></li>
<li class="MsoNormal"><a name="1004786"></a><span style="font-size:12pt;font-family:&quot;" lang="EN-US">The SQL statement </span><span style="font-size:12pt;font-family:&quot;" lang="EN-US">ALTER</span><span style="font-size:12pt;font-family:&quot;" lang="EN-US"> </span><span style="font-size:12pt;font-family:&quot;" lang="EN-US">DATABASE</span><span style="font-size:12pt;font-family:&quot;" lang="EN-US"> </span><span style="font-size:12pt;font-family:&quot;" lang="EN-US">BACKUP</span><span style="font-size:12pt;font-family:&quot;" lang="EN-US"> </span><span style="font-size:12pt;font-family:&quot;" lang="EN-US">CONTROLFILE</span><span style="font-size:12pt;font-family:&quot;" lang="EN-US"> </span><span style="font-size:12pt;font-family:&quot;" lang="EN-US">TO</span><span style="font-size:12pt;font-family:&quot;" lang="EN-US"> </span><span style="font-size:12pt;font-family:&quot;" lang="EN-US">TRACE</span><span style="font-size:12pt;font-family:&quot;" lang="EN-US"> exports the control file contents to a SQL script file. This script can be used to create a new control file. One main disadvantage of trace file backups is that they contain no records of archived redo logs, offline ranges for datafiles, and RMAN backups and copies. For this reason only, binary backups are preferable. </span></li>
</ul>
<div>
<table class="MsoNormalTable" style="width:80%;margin:auto auto auto 36pt;" border="0" cellspacing="0" cellpadding="0" width="80%">
<tbody>
<tr>
<td style="background-color:transparent;border:#ece9d8;padding:0;"><a name="1004802"></a><a name="1004789"></a><a name="1004795"></a></td>
</tr>
</tbody>
</table>
</div>
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><a name="1004803"></a><strong><span style="font-size:12pt;font-family:&quot;" lang="EN-US">Archived Redo Log Backups</span></strong><strong><span style="font-size:12pt;font-family:&quot;" lang="EN-US"></span></strong></p>
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><a name="1004805"></a><span style="font-size:12pt;font-family:&quot;" lang="EN-US">Archived redo logs are essential for recovering an inconsistent backup. The only way to recover an inconsistent backup without archived logs is to use RMAN incremental backups. To be able to recover a backup through the most recent log, every log generated between these two points must be available.</span><span style="font-size:12pt;font-family:&quot;" lang="EN-US"> </span><span style="font-size:12pt;font-family:&quot;" lang="EN-US">In other words, you cannot recover from log 100 to log 200 if log 173 is missing. If log 173 is missing, then you must halt recovery at log 172 and open the database with the </span><span style="font-size:12pt;font-family:&quot;" lang="EN-US">RESETLOGS</span><span style="font-size:12pt;font-family:&quot;" lang="EN-US"> option.</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><a name="1004806"></a><span style="font-size:12pt;font-family:&quot;" lang="EN-US">Because archived redo logs are essential to recovery, you should back them up regularly. If you use a media manager, then back them up regularly to tape.</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><a name="1004807"></a><span style="font-size:12pt;font-family:&quot;" lang="EN-US">You can make backups of archived logs by using the following methods:</span></p>
<ul style="margin-top:0;" type="disc">
<li class="MsoNormal"><a name="1004808"></a><span style="font-size:12pt;font-family:&quot;" lang="EN-US">An operating system utility </span></li>
<li class="MsoNormal"><a name="1004809"></a><span style="font-size:12pt;font-family:&quot;" lang="EN-US">The RMAN </span><span style="font-size:12pt;font-family:&quot;" lang="EN-US">BACKUP</span><span style="font-size:12pt;font-family:&quot;" lang="EN-US"> </span><span style="font-size:12pt;font-family:&quot;" lang="EN-US">ARCHIVELOG</span><span style="font-size:12pt;font-family:&quot;" lang="EN-US"> command </span></li>
<li class="MsoNormal"><a name="1004810"></a><span style="font-size:12pt;font-family:&quot;" lang="EN-US">The RMAN </span><span style="font-size:12pt;font-family:&quot;" lang="EN-US">BACKUP</span><span style="font-size:12pt;font-family:&quot;" lang="EN-US"> </span><span style="font-size:12pt;font-family:&quot;" lang="EN-US">&#8230;</span><span style="font-size:12pt;font-family:&quot;" lang="EN-US"> </span><span style="font-size:12pt;font-family:&quot;" lang="EN-US">PLUS</span><span style="font-size:12pt;font-family:&quot;" lang="EN-US"> </span><span style="font-size:12pt;font-family:&quot;" lang="EN-US">ARCHIVELOG</span><span style="font-size:12pt;font-family:&quot;" lang="EN-US"> command </span></li>
<li class="MsoNormal"><a name="1004811"></a><span style="font-size:12pt;font-family:&quot;" lang="EN-US">The RMAN </span><span style="font-size:12pt;font-family:&quot;" lang="EN-US">COPY</span><span style="font-size:12pt;font-family:&quot;" lang="EN-US"> </span><span style="font-size:12pt;font-family:&quot;" lang="EN-US">ARCHIVELOG</span><span style="font-size:12pt;font-family:&quot;" lang="EN-US"> command </span></li>
</ul>
<div>
<table class="MsoNormalTable" style="width:80%;margin:auto auto auto 36pt;" border="0" cellspacing="0" cellpadding="0" width="80%">
<tbody>
<tr>
<td style="background-color:transparent;border:#ece9d8;padding:0;"><a name="1004827"></a><a name="1004814"></a><a name="1004820"></a></td>
</tr>
</tbody>
</table>
</div>
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><a name="1004829"></a><strong><span style="font-size:12pt;font-family:&quot;" lang="EN-US">Consistent and Inconsistent Backups</span></strong><strong><span style="font-size:12pt;font-family:&quot;" lang="EN-US"></span></strong></p>
<h5 style="text-align:justify;margin:10pt 0 0;"><a name="1006073"></a><a name="1006082"></a><a name="1006029"></a><span style="font-size:12pt;color:windowtext;line-height:115%;font-family:&quot;" lang="EN-US"><a href="http://download.oracle.com/docs/cd/B10500_01/server.920/a96519/backup.htm#1004839"><span style="color:windowtext;">Consistent Backup</span></a></span><a name="1006086"></a><span style="font-size:12pt;color:windowtext;line-height:115%;font-family:&quot;" lang="EN-US"> is a backup of one or more database files and it is done after the database has been closed with a clean </span><code><span style="font-size:12pt;color:windowtext;line-height:115%;font-family:&quot;" lang="EN-US">SHUTDOWN</span></code><span style="font-size:12pt;color:windowtext;line-height:115%;font-family:&quot;" lang="EN-US"> command. A<span>    </span>consistent whole database backup does not require recovery after it is restored.<a name="1004837"></a> If there are recurring periods of minimal use, then regular consistent backups of the whole database are done and are supplied with online backups of often-used tablespaces.<a name="1004839"></a></span></h5>
<p class="bp" style="text-align:justify;margin:0 0 7.5pt;"><a name="1004841"></a><a name="1004864"></a><span style="font-family:&quot;" lang="EN-US"><span style="font-size:small;">A consistent whole database backup is the only valid backup option for databases operating in </span></span><code><span style="font-size:10pt;font-family:&quot;" lang="EN-US">NOARCHIVELOG</span></code><span style="font-family:&quot;" lang="EN-US"><span style="font-size:small;"> mode, because otherwise redo will need to be applied to create consistency. In </span></span><code><span style="font-size:10pt;font-family:&quot;" lang="EN-US">NOARCHIVELOG</span></code><span style="font-family:&quot;" lang="EN-US"><span style="font-size:small;"> mode, Oracle does not archive the redo logs, and so the required redo logs may not exist on disk.</span></span></p>
<h3 style="text-align:justify;margin:auto 0;"><a name="1004866"></a><span style="font-size:12pt;font-family:&quot;" lang="EN-US">Inconsistent Backup</span></h3>
<p class="bp" style="text-align:justify;margin:0 0 7.5pt;"><span style="font-family:&quot;" lang="EN-US"><span style="font-size:small;">An inconsistent backup is a backup of one or more database files that you make while the database is open or after the database has shut down abnormally.</span></span></p>
<h3 style="text-align:justify;margin:auto 0;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US">If your database must be open and available all the time, then inconsistent backups are your only option</span><span style="font-weight:normal;font-size:12pt;font-family:&quot;" lang="EN-US"></span></h3>
<p class="bp" style="text-align:justify;margin:0 0 7.5pt;"><a name="1004868"></a><span style="font-size:small;"><span style="font-family:&quot;" lang="EN-US">An inconsistent backup is a backup in which all read/write datafiles and control files have not been checkpointed with respect to the same SCN</span><span lang="EN-US"></span></span></p>
<h2 style="margin:auto 0;"><a name="1004871"></a><a name="1004903"></a><strong><span style="font-weight:normal;font-size:12pt;font-family:&quot;" lang="EN-US">Online and Offline Backups</span></strong><a name="1004904"></a><strong><span style="font-size:12pt;font-family:&quot;" lang="EN-US"></span></strong></h2>
<h2 style="text-align:justify;margin:auto 0;"><strong><span style="font-weight:normal;font-size:12pt;font-family:&quot;" lang="EN-US">Online backup is backup of<a name="1004914"></a><a name="1004916"></a> all</span></strong><span style="font-weight:normal;font-size:12pt;font-family:&quot;" lang="EN-US"> specified datafiles of an online tablespace while the database is open, but only when the database runs in </span><code><span style="font-weight:normal;font-size:12pt;font-family:&quot;" lang="EN-US">ARCHIVELOG</span></code><span style="font-weight:normal;font-size:12pt;font-family:&quot;" lang="EN-US"> mode.<a name="1004920"></a> Online backup is also known as open backup. </span></h2>
<h2 style="text-align:justify;margin:auto 0;"><span style="font-weight:normal;font-size:12pt;font-family:&quot;" lang="EN-US">Inconsistent data within a block is a cause of problem in online backups.</span><span lang="EN-US"><span style="font-size:large;font-family:Times New Roman;"> </span></span><span style="font-weight:normal;font-size:12pt;font-family:&quot;" lang="EN-IN">Oracle cannot open the database, until all changes recorded in the online redo logs have been saved to the datafiles on disk.</span><span lang="EN-IN"><span style="font-size:large;font-family:Times New Roman;"> </span></span><span style="font-weight:normal;font-size:12pt;font-family:&quot;" lang="EN-IN">For that, data must be synchronized with respect to same System Change Number.</span></h2>
<p class="bp" style="text-align:justify;margin:0 0 7.5pt;"><a name="1004924"></a><a name="1004925"></a><code><span style="font-size:10pt;font-family:&quot;" lang="EN-US">ALTER</span></code><span style="font-family:&quot;" lang="EN-US"><span style="font-size:small;"> </span></span><code><span style="font-size:10pt;font-family:&quot;" lang="EN-US">TABLESPACE</span></code><span style="font-family:&quot;" lang="EN-US"><span style="font-size:small;"> </span></span><code><span style="font-size:10pt;font-family:&quot;" lang="EN-US">BEGIN</span></code><span style="font-family:&quot;" lang="EN-US"><span style="font-size:small;"> </span></span><code><span style="font-size:10pt;font-family:&quot;" lang="EN-US">BACKUP</span></code><span style="font-family:&quot;" lang="EN-US"><span style="font-size:small;"> statement places the online tablespace. It is done to put a tablespace in backup mode to make user-managed backups of datafiles in an online, read/write tablespace. After an online backup is completed, </span></span><code><span style="font-size:10pt;font-family:&quot;" lang="EN-US">ALTER</span></code><span style="font-family:&quot;" lang="EN-US"><span style="font-size:small;"> </span></span><code><span style="font-size:10pt;font-family:&quot;" lang="EN-US">TABLESPACE</span></code><span style="font-family:&quot;" lang="EN-US"><span style="font-size:small;"> </span></span><code><span style="font-size:10pt;font-family:&quot;" lang="EN-US">...</span></code><span style="font-family:&quot;" lang="EN-US"><span style="font-size:small;"> </span></span><code><span style="font-size:10pt;font-family:&quot;" lang="EN-US">END</span></code><span style="font-family:&quot;" lang="EN-US"><span style="font-size:small;"> </span></span><code><span style="font-size:10pt;font-family:&quot;" lang="EN-US">BACKUP</span></code><span style="font-family:&quot;" lang="EN-US"><span style="font-size:small;"> or </span></span><code><span style="font-size:10pt;font-family:&quot;" lang="EN-US">ALTER</span></code><span style="font-family:&quot;" lang="EN-US"><span style="font-size:small;"> </span></span><code><span style="font-size:10pt;font-family:&quot;" lang="EN-US">DATABASE</span></code><span style="font-family:&quot;" lang="EN-US"><span style="font-size:small;"> </span></span><code><span style="font-size:10pt;font-family:&quot;" lang="EN-US">END</span></code><span style="font-family:&quot;" lang="EN-US"><span style="font-size:small;"> </span></span><code><span style="font-size:10pt;font-family:&quot;" lang="EN-US">BACKUP</span></code><span style="font-family:&quot;" lang="EN-US"><span style="font-size:small;"> statement to take the tablespace out of backup mode.</span><a name="1004929"></a></span></p>
<h3 style="margin:auto 0;"><a name="1004931"></a><span style="font-size:12pt;font-family:&quot;" lang="EN-US">Offline backup </span><span style="font-weight:normal;font-size:12pt;font-family:&quot;" lang="EN-US">is backup which is performed when the tablespace or datafile is offline.</span></h3>
<h3 style="text-align:justify;margin:auto 0;"><code><span style="font-weight:normal;font-size:12pt;font-family:&quot;" lang="EN-US">ALTER</span></code><span style="font-weight:normal;font-size:12pt;font-family:&quot;" lang="EN-US"> </span><code><span style="font-weight:normal;font-size:12pt;font-family:&quot;" lang="EN-US">TABLESPACE</span></code><span style="font-weight:normal;font-size:12pt;font-family:&quot;" lang="EN-US"> </span><code><span style="font-weight:normal;font-size:12pt;font-family:&quot;" lang="EN-US">OFFLINE command takes tablespace offline using any of three different options: NORMAL</span></code><span style="font-weight:normal;font-size:12pt;font-family:&quot;" lang="EN-US">, </span><code><span style="font-weight:normal;font-size:12pt;font-family:&quot;" lang="EN-US">TEMPORARY</span></code><span style="font-weight:normal;font-size:12pt;font-family:&quot;" lang="EN-US">, or </span><code><span style="font-weight:normal;font-size:12pt;font-family:&quot;" lang="EN-US">IMMEDIATE</span></code><span style="font-weight:normal;font-size:12pt;font-family:&quot;" lang="EN-US">.<a name="1004936"></a> There is no need to bring tablespace or datafile back online, if backup is taken with normal option. Necessary backups on datafiles and tablespaces can be performed without ever having to shut down the database or perform recovery.</span></h3>
<h2 style="margin:auto 0;"><a name="1004940"></a><span style="font-size:12pt;font-family:&quot;" lang="EN-US">RMAN and User-Managed Backups</span><a name="1004941"></a><a name="1004945"></a><a name="1004949"></a><span style="font-size:12pt;font-family:&quot;" lang="EN-US"></span></h2>
<h3 style="text-align:justify;margin:auto 0;"><a name="1004951"></a><span style="font-size:12pt;font-family:&quot;" lang="EN-US">RMAN Backup </span><span style="font-weight:normal;font-size:12pt;font-family:&quot;" lang="EN-US">is</span><span style="font-size:10pt;color:white;font-family:&quot;" lang="EN-US"> </span><span style="font-weight:normal;font-size:12pt;font-family:&quot;" lang="EN-US">generated by running the BACKUP command from RMAN interface. <a name="1004953"></a><a name="1004955"></a>It generates either a backup set or a proxy copy and writes it to an operating system or third-party media manager (if used).</span></h3>
<h3 style="text-align:justify;margin:auto 0;"><span style="font-weight:normal;font-size:12pt;font-family:&quot;" lang="EN-US">In contrast to the </span><code><span style="font-weight:normal;font-size:12pt;font-family:&quot;" lang="EN-US">BACKUP</span></code><span style="font-weight:normal;font-size:12pt;font-family:&quot;" lang="EN-US"> command, the RMAN </span><code><span style="font-weight:normal;font-size:12pt;font-family:&quot;" lang="EN-US">COPY</span></code><span style="font-weight:normal;font-size:12pt;font-family:&quot;" lang="EN-US"> command generates a datafile, control file, or archived log image copy that can be restored by an operating system utility.</span></h3>
<p class="bp" style="text-align:justify;margin:0 0 7.5pt;"><a name="1004956"></a><a name="1004963"></a><a name="1004968"></a><span lang="EN-US"><span><span style="font-size:small;font-family:Times New Roman;"> </span></span></span><a name="1004969"></a><a name="1004970"></a><a name="1004971"></a><span style="font-family:&quot;" lang="EN-US"><span style="font-size:small;">The </span></span><code><span style="font-size:10pt;font-family:&quot;" lang="EN-US">COPY</span></code><span style="font-family:&quot;" lang="EN-US"><span style="font-size:small;"> command only copies to disk. However, the </span></span><code><span style="font-size:10pt;font-family:&quot;" lang="EN-US">BACKUP</span></code><span style="font-size:small;"><span style="font-family:&quot;" lang="EN-US"> command is used to back up image copies to tape.</span><span lang="EN-US"></span></span></p>
<p class="bp" style="text-align:justify;margin:0 0 7.5pt;"><a name="1004972"></a><span style="font-family:&quot;" lang="EN-US"><span style="font-size:small;">If RMAN is used to make a backup or copy, it records the action in the target database control file. If a recovery catalog is used, then RMAN pulls the metadata from the control file into the catalog. To restore the backups or copies, run the </span></span><code><span style="font-size:10pt;font-family:&quot;" lang="EN-US">RESTORE</span></code><span style="font-family:&quot;" lang="EN-US"><span style="font-size:small;"> command. RMAN queries the metadata and then chooses among the available backups and copies and restores them.</span></span></p>
<div>
<table class="MsoNormalTable" style="width:80%;" border="0" cellspacing="0" cellpadding="0" width="80%">
<tbody>
<tr>
<td style="background-color:transparent;border:#ece9d8;padding:0;"><a name="1004987"></a><a name="1004975"></a><a name="1004981"></a></td>
</tr>
</tbody>
</table>
</div>
<h3 style="margin:auto 0;"><a name="1004989"></a><span style="font-size:12pt;font-family:&quot;" lang="EN-US">User-Managed Backups </span><span style="font-weight:normal;font-size:12pt;font-family:&quot;" lang="EN-US">are done by using</span><span style="font-size:12pt;font-family:&quot;" lang="EN-US"> </span><a name="1004991"></a><span style="font-weight:normal;font-family:&quot;" lang="EN-US"><span style="font-size:medium;">O</span></span><span style="font-weight:normal;font-size:12pt;font-family:&quot;" lang="EN-US">perating system utilities. The available commands are operating system specific. <a name="1004992"></a></span></h3>
<p class="bp" style="text-align:justify;margin:0 0 7.5pt;"><a name="1004993"></a><a name="1004994"></a><span style="font-family:&quot;" lang="EN-US"><span style="font-size:small;">On Windows NT, a datafile is backed up by pressing </span></span><code><span style="font-size:10pt;font-family:&quot;" lang="EN-US">CTRL+C</span></code><span style="font-family:&quot;" lang="EN-US"><span style="font-size:small;"> and then </span></span><code><span style="font-size:10pt;font-family:&quot;" lang="EN-US">CTRL+V</span></code><span style="font-family:&quot;" lang="EN-US"><span style="font-size:small;">, by dragging and dropping, or by running a </span></span><code><span style="font-size:10pt;font-family:&quot;" lang="EN-US">COPY</span></code><span style="font-family:&quot;" lang="EN-US"><span style="font-size:small;"> command at the Command Prompt</span><a name="1004995"></a><span style="font-size:small;">.</span></span></p>
<p class="bp" style="text-align:justify;margin:0 0 7.5pt;"><a name="1004996"></a><a name="1004997"></a><span style="font-family:&quot;" lang="EN-US"><span style="font-size:small;">One major difference between user-managed backups and RMAN backups is that in the former there is no automatic metadata record of the backup. In other words, records of what you back up and where you back it up are manually maintained.</span></span></p>
<p class="MsoNormal" style="text-align:justify;margin:0 0 10pt;"><strong><span style="font-size:12pt;line-height:115%;font-family:&quot;" lang="EN-IN">Backup and Recovery in SQL Server2000</span></strong></p>
<p class="MsoNormal" style="text-align:justify;margin:0 0 10pt;"><strong><span style="font-size:12pt;line-height:115%;font-family:&quot;" lang="EN-IN">Types of backups</span></strong></p>
<p class="MsoListParagraphCxSpFirst" style="text-indent:-18pt;line-height:normal;text-align:justify;margin:0 0 0 36pt;"><span style="font-size:12pt;font-family:&quot;" lang="EN-IN"><span>1.<span style="font:7pt &quot;">    </span></span></span><strong><span style="font-size:12pt;font-family:&quot;" lang="EN-IN">Complete:</span></strong><span style="font-size:12pt;font-family:&quot;" lang="EN-IN"> &#8211; A complete backup mostly copies all the pages from a database onto a backup device<span style="color:black;">, including all entries in the transaction log—excluding any unallocated extents in the files</span>, which can be a local or network disk file, a local tape drive, or even a named pipe.<span>  </span></span></p>
<p class="MsoListParagraphCxSpMiddle" style="line-height:normal;text-align:justify;margin:0 0 0 36pt;"><strong><span style="font-size:12pt;font-family:&quot;" lang="EN-IN">Note: </span></strong><span style="font-size:12pt;font-family:&quot;" lang="EN-IN">- <span style="color:black;">The complete backups are the default and the starting point for all other types of backups.</span></span></p>
<p class="MsoListParagraphCxSpMiddle" style="line-height:normal;text-align:justify;margin:0 0 0 36pt;"><span style="font-size:12pt;font-family:&quot;" lang="EN-IN"> </span></p>
<p class="MsoListParagraphCxSpMiddle" style="text-indent:-18pt;line-height:normal;text-align:justify;margin:0 0 0 36pt;"><strong><span style="font-size:12pt;font-family:&quot;" lang="EN-IN"><span>2.<span style="font:7pt &quot;">    </span></span></span></strong><strong><span style="font-size:12pt;font-family:&quot;" lang="EN-IN">Differential: -</span></strong><span style="font-size:12pt;font-family:&quot;" lang="EN-IN"> A differential<span>   </span>backup backs up only the modified extents since the last complete backup was made. The modified extents are copied onto a specified backup device. <span style="color:black;">Differential backups will also increase the speed of the backup operation as well as the restore. Because only the changed or newly allocated extents (bitmap tracking) are captured, differential backups are faster and smaller than full database backups<strong>. </strong></span><strong></strong></span></p>
<p class="MsoListParagraphCxSpMiddle" style="line-height:normal;text-align:justify;margin:0 0 0 36pt;"><span style="font-size:12pt;font-family:&quot;" lang="EN-IN">SQl Server 2000 uses a bitmap which contains one bit for each database. The value of bit is set to 1 if any pages within that particular extent have been modified since the previous complete backup. SQl Server examines bitmap when a differential backup command is issued. It accesses only the extents that are flagged as having been modified through this bitmap and writes them to backup file.</span></p>
<p class="MsoListParagraphCxSpMiddle" style="line-height:normal;text-align:justify;margin:0 0 0 36pt;"><span style="font-size:12pt;font-family:&quot;" lang="EN-IN"> </span></p>
<p class="MsoListParagraphCxSpMiddle" style="line-height:normal;text-align:justify;margin:0 0 0 36pt;"><strong><span style="font-size:12pt;font-family:&quot;" lang="EN-IN">Note:</span></strong><span style="font-size:12pt;font-family:&quot;" lang="EN-IN"> Differential database backup have several limitations like do not provide point in time restore capability, may not be restored by themselves (only be restored after a complete database backup is restored) and not be allowed to perform on master database.</span></p>
<p class="MsoListParagraphCxSpMiddle" style="line-height:normal;text-align:justify;margin:0 0 0 36pt;"><span style="font-size:12pt;font-family:&quot;" lang="EN-IN"> </span></p>
<p class="MsoListParagraphCxSpLast" style="text-indent:-18pt;line-height:normal;text-align:justify;margin:0 0 10pt 36pt;"><strong><span style="font-size:12pt;font-family:&quot;" lang="EN-IN"><span>3.<span style="font:7pt &quot;">    </span></span></span></strong><strong><span style="font-size:12pt;font-family:&quot;" lang="EN-IN">Transaction: &#8211; </span></strong><span style="font-size:12pt;font-family:&quot;" lang="EN-IN">A<span style="color:black;"> Transaction log backups serially capture modifications to the database. An SQL Server database must have at least one transaction log file. A simple transaction place several records in the transaction log. These records are known as log records and each record has log sequence number. The same transaction records are linked together through the log sequence number.</span><strong></strong></span></p>
<p style="margin-left:36pt;vertical-align:top;text-align:justify;"><span style="color:black;font-family:&quot;"><span style="font-size:small;">A transaction log backup backs up all transactions since the previous transaction log backup, or the complete database backup if there have been no transaction log backups performed for the database in the past. The backups of the log are then used in the recovery process to restore the database fully, to a point in time.  This backup can be applied to a database in an unrecovered state.</span></span></p>
<p style="margin-left:36pt;vertical-align:top;text-align:justify;"><span style="color:black;font-family:&quot;"><span style="font-size:small;"> </span></span></p>
<p style="margin-left:36pt;vertical-align:top;text-indent:-18pt;text-align:justify;"><span style="color:black;font-family:&quot;"><span><span style="font-size:small;">4.</span><span style="font:7pt &quot;">    </span></span></span><span style="font-size:small;"><strong><span style="font-family:&quot;">File/ file group</span></strong><span style="font-family:&quot;text-shadow:auto;">: &#8211; </span><span style="color:black;font-family:&quot;">SQL Server provides the functionality to back up individual files/filegroups within a database. File/filegroup backups are used to restore the individual file/filegroup if some or all of the files within the particular filegroup are damaged. </span></span></p>
<p style="vertical-align:top;text-align:justify;"><span style="color:black;font-family:&quot;"><span style="font-size:small;">The following boundaries are compulsory when using file/filegroup backups:</span></span></p>
<p style="margin-left:36pt;vertical-align:top;text-align:justify;"><span style="color:black;font-family:&quot;"><span style="font-size:small;"> </span></span></p>
<p style="margin-left:36pt;vertical-align:top;text-indent:-18pt;text-align:justify;"><span style="font-size:10pt;color:black;font-family:Symbol;"><span>·<span style="font:7pt &quot;">         </span></span></span><span style="color:black;font-family:&quot;"><span style="font-size:small;">File/filegroup backup only be restored to the same database it was backed up from. </span></span></p>
<p style="margin-left:36pt;vertical-align:top;text-align:justify;"><span style="color:black;font-family:&quot;"><span style="font-size:small;"> </span></span></p>
<p style="margin-left:36pt;vertical-align:top;text-indent:-18pt;text-align:justify;"><span style="font-size:10pt;color:black;font-family:Symbol;"><span>·<span style="font:7pt &quot;">         </span></span></span><span style="color:black;font-family:&quot;"><span style="font-size:small;">All transaction log backups (including the tail) for the database should be available and restorable. It is inferred that this would not be possible to do on a database that is in Simple Recovery model. </span></span></p>
<p style="vertical-align:top;text-align:justify;"><span style="color:black;font-family:&quot;"><span style="font-size:small;"> </span></span></p>
<p style="margin-left:36pt;vertical-align:top;text-indent:-18pt;text-align:justify;"><span style="font-size:10pt;color:black;font-family:Symbol;"><span>·<span style="font:7pt &quot;">         </span></span></span><span style="color:black;font-family:&quot;"><span style="font-size:small;">Point-in-time recovery is not allowed when restoring file/filegroup backups. All transaction log backups have to be restored.</span></span></p>
<p style="margin-left:36pt;vertical-align:top;text-align:justify;"><strong><span style="color:black;font-family:&quot;"><span style="font-size:small;"> </span></span></strong></p>
<p style="margin-left:36pt;vertical-align:top;text-align:justify;"><span style="font-size:small;"><strong><span style="color:black;font-family:&quot;">Note: -   </span></strong><span style="color:black;font-family:&quot;">A file/filegroup backup does not back up the transaction log portion of the database. This is a noteworthy difference between file/filegroup backup and complete backup.</span></span></p>
<p style="margin-left:36pt;vertical-align:top;text-align:justify;"><span style="color:black;font-family:&quot;"><span style="font-size:small;"> </span></span></p>
<p style="margin-left:36pt;vertical-align:top;text-indent:-18pt;text-align:justify;"><span style="color:black;font-family:&quot;"><span><span style="font-size:small;">5.</span><span style="font:7pt &quot;">    </span></span></span><span style="font-size:small;"><strong><span style="color:black;font-family:&quot;">File/Filegroup Differential Backups:</span></strong><span style="color:black;font-family:&quot;"> &#8211; Differential backups can be combined with file/filegroup backups to back up only the modified extents within an SQL Server database file or filegroup. By doing this we can decrease the recovery time in disaster situations where only certain file/filegroups are lost. The most recent file/filegroup differential backup contains all changes from all earlier file/filegroup differential backups, since they are growing in nature.</span></span></p>
<p style="vertical-align:top;text-align:justify;"><span style="font-family:&quot;"><span style="font-size:small;">File differential backups have the following boundaries:<span style="color:black;"></span></span></span></p>
<p class="MsoNormal" style="text-indent:-17.85pt;line-height:150%;text-align:justify;margin:0 0 10pt 35.7pt;"><span style="font-size:10pt;line-height:150%;font-family:Symbol;" lang="EN-IN"><span>·<span style="font:7pt &quot;">         </span></span></span><span style="font-size:12pt;line-height:150%;font-family:&quot;" lang="EN-IN">They are allowed only in conjunction with file/filegroup backups.</span></p>
<p class="MsoNormal" style="text-indent:-17.85pt;line-height:150%;text-align:justify;margin:0 0 10pt 35.7pt;"><span style="font-size:10pt;line-height:150%;font-family:Symbol;" lang="EN-IN"><span>·<span style="font:7pt &quot;">         </span></span></span><span style="font-size:12pt;line-height:150%;font-family:&quot;" lang="EN-IN">They are not allowed for databases that use the Simple Recovery model.</span></p>
<p class="MsoNormal" style="text-indent:-17.85pt;line-height:normal;text-align:justify;margin:0 0 10pt 35.7pt;"><span style="font-size:10pt;font-family:Symbol;" lang="EN-IN"><span>·<span style="font:7pt &quot;">         </span></span></span><span style="font-size:12pt;font-family:&quot;" lang="EN-IN">They require all transaction log backups (just like file/filegroup backups), including the tail of transaction log.<strong></strong></span></p>
<p class="MsoNormal" style="line-height:normal;text-align:justify;margin:0 0 10pt 35.7pt;"><strong><span style="font-size:12pt;font-family:&quot;" lang="EN-IN">We can do these backups with two different techniques in SQL Server one </span></strong><strong><span style="font-size:12pt;color:black;font-family:&quot;" lang="EN-IN">through SQL Enterprise Manager or by using Transact-SQL commands.</span></strong></p>
<p class="MsoNoSpacing" style="text-align:justify;margin:0;"><strong><span style="font-size:12pt;font-family:&quot;">There are three main database recovery models supported in SQL Server 2000. Table 1 lists the various recovery models that are available and describes their effects on recovery operations.</span></strong><span style="font-size:12pt;font-family:&quot;"></p>
<p></span><strong><span style="font-size:12pt;font-family:&quot;">Table 1</span></strong><span style="font-size:12pt;font-family:&quot;"></span></p>
<p><span style="font-size:11pt;color:black;line-height:115%;font-family:&quot;"><img class="alignnone size-full wp-image-97" title="table" src="http://sikanderjeet.files.wordpress.com/2009/05/table.png?w=460&#038;h=343" alt="table" width="460" height="343" /></span><span style="font-size:11pt;color:black;line-height:115%;font-family:&quot;" lang="EN-IN"><br />
 </p>
<p>These three values replace the database options <strong>select into/bulkcopy</strong> and <strong>trunc.log on chkpt</strong>.</p>
<p>1. <strong>Full recovery model </strong></p>
<p>The full recovery model guarantees the least risk of losing work if a data file is damaged. For a database with this model, SQL Server fully logs all operations, so every row inserted through a bulk copy program (bcp) or </span><span style="font-size:11pt;color:black;line-height:115%;font-family:&quot;" lang="EN-IN">BULK INSERT</span><span style="font-size:11pt;color:black;line-height:115%;font-family:&quot;" lang="EN-IN"> operation is written in its entirety to the transaction log.</p>
<p>It uses database backups and transaction log backups to provide complete protection against media failure. If one or more data files are damaged, media recovery can restore all committed transactions. In-process transactions are rolled back.</p>
<p>Full recovery provides the ability to recover the database to the point of failure or to a specific point in time. To guarantee this degree of recoverability, all operations, including bulk operations such as </span><span style="font-size:11pt;color:black;line-height:115%;font-family:&quot;" lang="EN-IN">SELECT INTO</span><span style="font-size:11pt;color:black;line-height:115%;font-family:&quot;" lang="EN-IN">, </span><span style="font-size:11pt;color:black;line-height:115%;font-family:&quot;" lang="EN-IN">CREATE INDEX</span><span style="font-size:11pt;color:black;line-height:115%;font-family:&quot;" lang="EN-IN">, and bulk loading data, are fully logged.</p>
<p>2. <strong>Bulk-Logged recovery model</strong></p>
<p>The Bulk-Logged recovery model allows recovery in case of media failure and gives the best performance using the least log space for certain bulk operations, including </span><span style="font-size:11pt;color:black;line-height:115%;font-family:&quot;" lang="EN-IN">BULK INSERT</span><span style="font-size:11pt;color:black;line-height:115%;font-family:&quot;" lang="EN-IN">, </span><span style="font-size:11pt;color:black;line-height:115%;font-family:&quot;" lang="EN-IN">bcp</span><span style="font-size:11pt;color:black;line-height:115%;font-family:&quot;" lang="EN-IN">, </span><span style="font-size:11pt;color:black;line-height:115%;font-family:&quot;" lang="EN-IN">CREATE INDEX</span><span style="font-size:11pt;color:black;line-height:115%;font-family:&quot;" lang="EN-IN">, </span><span style="font-size:11pt;color:black;line-height:115%;font-family:&quot;" lang="EN-IN">WRITETEXT</span><span style="font-size:11pt;color:black;line-height:115%;font-family:&quot;" lang="EN-IN">, and </span><span style="font-size:11pt;color:black;line-height:115%;font-family:&quot;" lang="EN-IN">UPDATETEXT</span><span style="font-size:11pt;color:black;line-height:115%;font-family:&quot;" lang="EN-IN">. In the Bulk-Logged recovery model, SQL Server minimally logs these operations. When a bulk operation is executed, SQL Server logs only the fact that the operation occurred. However, the operation is fully recoverable because SQL Server keeps track of which extends the bulk operation modified.</p>
<p>In a Bulk-Logged recovery model, the data loss exposure for these bulk copy operations is greater than in the Full recovery model. While the bulk copy operations are fully logged under the Full recovery model, they are minimally logged and cannot be controlled on an operation-by-operation basis under the Bulk-Logged recovery model. Under the Bulk-Logged recovery model, a damaged data file can result in having to redo work manually.</p>
<p>In addition, the Bulk-Logged recovery model only allows the database to be recovered to the end of a transaction log backup when the log backup contains bulk changes. Point-in-time recovery is not supported. In SQL Server 2000, it is not necessary to perform a full database backup after bulk copy operations complete under the Bulk-Logged recovery model. Transaction log backups under this model capture both the log and the results of any bulk operations performed since the last backup.</p>
<p>3. <strong>Simple recovery model </strong></p>
<p>The Simple recovery model brings forth the fastest bulk operations and the simplest backup-and-restore strategy. Under this model, SQL Server truncates the transaction log at regular intervals, removing committed transactions. Thus, only full database backups and differential backups are allowed; an error will be returned if a backup of the log is attempted while using the Simple recovery model. Because SQL Server doesn&#8217;t need the log for backup, it reuses sections as soon as all the transactions in them are committed or rolled back and no longer needed for recovery from server or transaction failure.</p>
<p><strong><span style="text-decoration:underline;">How Automatic Recovery feature of SQL 2000 Server works</span></strong></p>
<p>The Automatic Recovery feature of SQL 2000 server rolls forward (therefore writes to the database) all the committed (complete) transactions that have been written to the log file before the checkpoint, while it rolls back (deletes) all the uncommitted (therefore incomplete) transactions that were still occurring at the time of the failure.  </span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sikanderjeet.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sikanderjeet.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sikanderjeet.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sikanderjeet.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sikanderjeet.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sikanderjeet.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sikanderjeet.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sikanderjeet.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sikanderjeet.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sikanderjeet.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sikanderjeet.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sikanderjeet.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sikanderjeet.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sikanderjeet.wordpress.com/96/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sikanderjeet.wordpress.com&amp;blog=6935670&amp;post=96&amp;subd=sikanderjeet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sikanderjeet.wordpress.com/2009/05/24/backup-and-recovery-in-sql-server2000-and-oracle9i/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f159da882f4f3c5366ab964516c15ec4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sikanderjeet</media:title>
		</media:content>

		<media:content url="http://sikanderjeet.files.wordpress.com/2009/05/table.png" medium="image">
			<media:title type="html">table</media:title>
		</media:content>
	</item>
		<item>
		<title>Security Implication</title>
		<link>http://sikanderjeet.wordpress.com/2009/05/24/security-implication/</link>
		<comments>http://sikanderjeet.wordpress.com/2009/05/24/security-implication/#comments</comments>
		<pubDate>Sun, 24 May 2009 16:43:55 +0000</pubDate>
		<dc:creator>sikanderjeet</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://sikanderjeet.wordpress.com/?p=93</guid>
		<description><![CDATA[Oracle 9i and SQL Server 2000 provide almost the same security features. They both provide features like user authentication, auditing, encryption techniques and grant based security. But they have different ways to implement these security features in their databases which creates some differences in their security. Let us discuss the implications of these differences in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sikanderjeet.wordpress.com&amp;blog=6935670&amp;post=93&amp;subd=sikanderjeet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Oracle 9i and SQL Server 2000 provide almost the same security features. They both provide features like user authentication, auditing, encryption techniques and grant based security.</p>
<p>But they have different ways to implement these security features in their databases which creates some differences in their security. Let us discuss the <strong>implications of these differences</strong> in security:</p>
<ul>
<li>Creating login accounts and users in Oracle 9i and SQL Server is roughly equivalent. But SQL Server 2000 provides extra security using two modes of authentication: Windows Authentication and Mixed mode. Windows Authentication mode uses the security mechanism within the Windows NT/2000 to provide security to SQL Server 2000. So in this mode, authentication is done using Windows platform and it makes this mode platform specific.</li>
</ul>
<p> </p>
<ul>
<li>Oracle 9i uses Oracle Advanced Security for Enterprise Edition only to provide features like data encryption, data privacy, encryption, integrity, authentication and single sign-on. This feature adds extra cost to the Enterprise Edition. But SQL Server provides all these features at much lower cost and greater ease of use.</li>
</ul>
<p> </p>
<ul>
<li>Data encryption in Oracle 9i is done using Oracle Advanced Security feature. And in SQL Server 2000, it is done using Encrypted File System of Windows 2000. Hence, SQL Server 2000 and Windows 2000 provide better security working together. And this feature makes easier to configure security in SQL Server 2000.</li>
</ul>
<p> </p>
<ul>
<li>SQL Server 2000 provides same security features across their all product lines i.e. across all versions of 2000. But Oracle 9i provides different security features with Oracle Advanced Security for Enterprise Edition and makes it more costly. But this difference makes a point for organizations which do not want a very secure database and can use Oracle 9i’s Standard Edition for less cost. But even then SQL Server is less costly as compared to Oracle 9i and provides almost same security features.</li>
</ul>
<p> </p>
<ul>
<li>Oracle 9i provides very fine- grained auditing and Virtual Private Databases feature which takes security to an extra level as compared to SQL Server 2000 and hence, gives Oracle 9i an edge over SQL Server 2000.</li>
</ul>
<p><strong>Big Question. Which database is more secure?</strong></p>
<p>Even after looking at the differences in security features of the two databases and implications of those differences, we cannot mention which database is more secure. Though Oracle 9i provides some extra security features, but the ease to implement the security features still lies with SQL Server 2000. Moreover, Oracle 9i provides Extra Security feature with Oracle Advanced Security for Enterprise Edition by incurring some extra cost for that. While SQL Server 2000 is cheap and it provides better security features when working with Windows 2000.</p>
<p>But we can still say SQL Server 2000 provides better security for environment which needs an easy to use and comparatively cheap database.</p>
<p>And oracle 9i with its extra security features is costlier and needs better expertise to make use of all the security features developed.</p>
<p> </p>
<p>in future may be i will edit this document &#8230;&#8230;.. </p>
<p>THANKS&#8230;&#8230;..</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sikanderjeet.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sikanderjeet.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sikanderjeet.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sikanderjeet.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sikanderjeet.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sikanderjeet.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sikanderjeet.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sikanderjeet.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sikanderjeet.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sikanderjeet.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sikanderjeet.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sikanderjeet.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sikanderjeet.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sikanderjeet.wordpress.com/93/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sikanderjeet.wordpress.com&amp;blog=6935670&amp;post=93&amp;subd=sikanderjeet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sikanderjeet.wordpress.com/2009/05/24/security-implication/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f159da882f4f3c5366ab964516c15ec4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sikanderjeet</media:title>
		</media:content>
	</item>
		<item>
		<title>SECURITY</title>
		<link>http://sikanderjeet.wordpress.com/2009/05/08/security/</link>
		<comments>http://sikanderjeet.wordpress.com/2009/05/08/security/#comments</comments>
		<pubDate>Fri, 08 May 2009 02:43:52 +0000</pubDate>
		<dc:creator>sikanderjeet</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://sikanderjeet.wordpress.com/?p=88</guid>
		<description><![CDATA[SECURITY A database acts as a central repository of data for any organization. Therefore, security is an important concept for any database management system. Security is to protect the data from unauthorized access and unwanted changes. The primary goals of security are to ensure: Data confidentiality: Only authorized individuals should be able to view data. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sikanderjeet.wordpress.com&amp;blog=6935670&amp;post=88&amp;subd=sikanderjeet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>SECURITY</strong></p>
<p>A database acts as a central repository of data for any organization. Therefore, security is an important concept for any database management system.</p>
<p>Security is to protect the data from unauthorized access and unwanted changes.</p>
<p>The primary goals of security are to ensure:</p>
<ul>
<li><strong>Data confidentiality</strong>: Only authorized individuals should be able to view data.</li>
<li><strong>Data integrity</strong>: All authorized users should feel confident that the data presented to them is accurate and not improperly modified.</li>
<li><strong>Data availability</strong>: Authorized users should be able to access the data they need, when they need it.</li>
</ul>
<p>Database security can be divided into two parts:</p>
<ol>
<li>System security</li>
<li>Data security</li>
</ol>
<p><strong>System security</strong> covers access and use of database at system level, such as username and password, and the systems operations that users can perform.</p>
<p><strong>Data security</strong> covers access and use of database objects, and the operations that the users can perform on the objects.</p>
<p><strong> </strong></p>
<p><strong>Security in Oracle 9i</strong></p>
<p>Oracle 9i provides features like <strong>standard user authentication</strong> and <strong>oracle advanced security</strong> to protect the data from unauthorized user access. These features offer data integrity, data privacy, authentication and authorization.</p>
<p><strong> </strong></p>
<p><strong><span style="text-decoration:underline;">User Authentication and authorization:</span></strong></p>
<p>Oracle 9i provides User Authentication and authorization. User Authentication is to check for the identity of a user. A user must supply a valid username and password to access a database. Authorization is to make sure that user has appropriate privileges to access an object. Authorization control is to check which user is allowed what operation on which database object.</p>
<p> </p>
<p>These prevent unauthorized access.</p>
<p> </p>
<p><strong><span style="text-decoration:underline;">Grant based security:</span></strong></p>
<p>Profiles, privileges, and roles can be used in oracle to control user access. <strong></strong></p>
<p><strong><span style="text-decoration:underline;">Profile:</span></strong><strong> </strong>It is a mechanism within the database which allows setting and controlling the password and resource limits for a user.</p>
<p>Oracle server automatically creates a DEFAULT profile, whenever a database is created.</p>
<p><strong>Profile usage:</strong></p>
<ul>
<li>Allow assemble resource limits for similar users.</li>
<li>Make sure that user logs off the database when they have left their session idle for some time.</li>
<li>Manage resource usage in large, complex multiuser database systems.</li>
<li>Easily assign resource limits to users.</li>
<li>Restrict users from performing operations that require large amount of resources.</li>
<li>Control the use of passwords.</li>
</ul>
<p>Oracle password management is controlled with profiles, and it provides greater control over database security.</p>
<p><strong><span style="text-decoration:underline;">Privileges:</span></strong><strong> </strong>They are rights to control user access to database and its objects. With privileges, some users may be allowed only to view the data, while others may have the control to create and update the same data.</p>
<p><strong>System privileges</strong> are to provide users with access to the database. System privileges should be used where security is not a major concern, because a single grant statement could remove all the security from the table.</p>
<p>O<strong>bject privileges</strong> are to allow the users to manipulate the content of the objects in the database.</p>
<p>It is very complex form of providing security. Large number of individual grant statements may be required to assign security.</p>
<p><strong><span style="text-decoration:underline;">Roles:</span></strong><strong> </strong>A role is a group of related privileges that can be granted to the user. A role makes it easier to maintain, revoke and grant the privileges.</p>
<p>Role is a way to manage the privileges. Earlier to grant user access to an object, it had to be done on a table-by-table basis which made it very difficult to manage the privileges. That is when oracle created role database object.</p>
<p>Roles provide security by defining a set of access rules or privileges and then assigning them to the users.</p>
<p><strong><span style="text-decoration:underline;">Invoker rights:</span></strong></p>
<p>Invoker rights means that the user who creates the stored procedure is the only one with rights to a table affected by the procedure. These are rights to control privileges, one grants to the users. For example, if a procedure is created that is to update data in a table, users can run this procedure to perform update, but they have not been granted the update privilege. Only way for users to update data in table is by using the program.</p>
<p>Invoker rights take security to one step further. With invoker rights, methods that used to manipulate the data in a database can be controlled. And one does not need to worry if users can change data without any kind of control on your part.</p>
<p><strong><span style="text-decoration:underline;">Oracle Advanced Security</span></strong></p>
<p>Oracle Advanced Security provides data privacy, encryption, integrity, authentication and single sign-on.</p>
<ul>
<li>Encryption ensures data privacy by keeping the data to be transmitted between nodes as private.</li>
<li>Integrity is to ensure for secure transmission by checking that data is not changed or tempered with during transmission.</li>
<li>Single sign-on enables users to authenticate to multiple servers using a single username/password combination.</li>
<li>Authentication makes sure that users are authenticated or verified properly.</li>
</ul>
<p><strong><span style="text-decoration:underline;">Auditing</span></strong></p>
<p>Oracle 9i introduced a new feature called “fine-grained auditing. It allows auditing i.e. keeping track of activities down to column level in queries. By default, only instance startup, instance shutdown and connections to the database using privileges are audited.</p>
<p>Fine-grained auditing is not suggested for daily activities, but may be useful for specific auditing situations.</p>
<p><strong><span style="text-decoration:underline;"> </span></strong><strong><span style="text-decoration:underline;">Firewalls in oracle</span></strong></p>
<p>Oracle provides firewall support</p>
<p>Oracle Net Firewall Proxy Kit allows firewall vendors to provide connection support for Oracle environments.</p>
<p>Oracle supports two categories of firewalls:</p>
<ul>
<li>Proxy- based firewalls</li>
<li>Stateful packet inspection firewalls</li>
</ul>
<p><strong><span style="text-decoration:underline;"> </span></strong><strong><span style="text-decoration:underline;">Virtual Private Database</span></strong></p>
<p><em>“The Virtual Private Database (VPD) is the aggregation of server-enforced, fine-grained access control, together with a secure application context in the Oracle9i database server. </em><em>It provides a flexible mechanism for building applications that enforce the security policies customers want enforced, only where such control is necessary.” </em></p>
<p><em> </em></p>
<p>This feature enables to configure security at row level.</p>
<p> </p>
<p>The Virtual Private Database offers the following benefits<em>:</em></p>
<p><em> </em></p>
<ul>
<li><strong><em>Lower cost of ownership</em></strong><em>. </em><em>Organizations can reap huge cost savings by building security once, in the data server, instead of implementing the same security in each application that accesses data.</em></li>
</ul>
<p><em> </em></p>
<ul>
<li><strong><em>Elimination of the “application security problem.”</em></strong><em> </em><em>Users cannot bypass security policies embedded in applications because the security policy is attached to the data. The same security policy is automatically enforced by the data server, no matter how a user accesses data, whether through a report-writing tool, a query, or through an application.</em></li>
</ul>
<p><em> </em></p>
<ul>
<li><em> </em><strong><em>Application transparency</em></strong><em>. </em><em>Virtual Private Database is enforced at the database layer and takes into account application-specific logic used to limit data access within the database. Both commercial off the- shelf applications and custom-built applications can take advantage of its granular access control, without the need to change any lines of application code.</em></li>
</ul>
<p><em> </em></p>
<ul>
<li><em> </em><strong><em>New business opportunities</em></strong><em>. </em><em>In the past, organizations couldn’t give customers and partners direct access to their production systems because there was no way to secure the data. Hosting companies couldn’t have data for multiple companies reside in the same data server, because they could not separate each company’s data. Now, all these scenarios are possible, because fine-grained access control gives you server-enforced data security with the assurance of physical data separation.</em></li>
</ul>
<p><em> </em></p>
<p><em>These benefits contribute to Oracle9i’s industry-leading security s</em><em>olutions.</em></p>
<p> </p>
<p><strong> </strong></p>
<p><strong>Security in SQL Server 2000</strong></p>
<p>Two main ways to implement security in SQL Server 2000 are <strong>Authentication</strong> and <strong>permissions</strong>.</p>
<p><strong><span style="text-decoration:underline;">Authentication </span></strong></p>
<p>SQL Server 2000 provides two different security modes:</p>
<ul>
<li>Windows Authentication Mode security</li>
<li>Mixed Mode security (both windows authentication and SQL Server authentication)</li>
</ul>
<p><strong><span style="text-decoration:underline;">Windows Authentication Mode:</span></strong></p>
<p>When SQL Server is run under windows 2000, security is checked in three different places, as you attempt to connect to SQL Server 2000. Validations are done by Windows 2000, SQL server itself (in the form of a SQL Server login), and then at the database level (in the form of a database username).</p>
<p><strong>Windows Authentication: </strong>when connection is made from client computer to a windows NT/2000 computer running SQL Server 2000, Windows might require validation of network connection.</p>
<p><strong>SQL server login Authentication: </strong>A valid SQL Server login name and password are required to connect to SQL Server.</p>
<p><strong>SQL Server Database Username: </strong>A valid database username is required to use any database on your system.</p>
<p><strong><span style="text-decoration:underline;">Mixed Mode security:</span></strong></p>
<p>In Mixed Mode security, a user can connect either using Windows authentication or SQL Server authentication.</p>
<p><strong>SQL Server authentication:</strong>  In this mode, SQL server accepts a login ID and password from a user, and without any help from Windows, checks whether the credentials are valid or not i.e. it checks whether it is a trusted connection or not. If it is a trusted connection, then SQL Server uses Windows authentication, otherwise uses SQL Server authentication (i.e. try to find the same login Id and password which user has passed)</p>
<p>In SQL Server authentication, SQL Server is fully responsible for authenticating a user and enforcing password and login restrictions.</p>
<p>Windows authentication is not available when SQL Server is running on Windows 9x computer. Hence, SQL Server authentication is always used on a windows 9x computer. </p>
<p>Windows authentication mode is the default authentication mode for SQL Server 2000. It provides advanced security features such as password expirations, password attributes, auditing and account lockouts.</p>
<p>For all trusted connections, use Windows authentication mode. Otherwise use mixed mode.</p>
<p><strong><span style="text-decoration:underline;">Permissions:</span></strong></p>
<p>Permissions are final layer of security. These are explicit rights given to access database, either for read-only or modification operations.</p>
<p>Two types of permissions are granted:</p>
<ol>
<li>Statement level permissions</li>
<li>Object level permissions</li>
</ol>
<p><strong>Statement level permissions</strong> are to allow a user to run a particular Transact-SQL command. These permissions allow users to create objects, create databases or back up databases.</p>
<p><strong>Object level permissions</strong> are to allow a user to perform some operation like SELECT, INSERT, UPDATE or DELETE.</p>
<p>Permissions in SQL Server 2000 are managed by three terms: GRANT, DENY and REVOKE.</p>
<p>Permissions must be implemented very carefully to ensure the security of the data. In SQL Server, no database users have any inherent permission; they have only the permissions which are granted to them.</p>
<p><strong><span style="text-decoration:underline;">Roles:</span></strong></p>
<p>Role in SQL Server 2000 is like a group to which individual users or logins can be added. Roles provide a flexible approach to manage security. SQL server provides 4 types of roles:</p>
<ol>
<li>Fixed server roles</li>
<li>Fixed database roles</li>
<li>User defined roles</li>
<li>Application roles</li>
</ol>
<p><strong><span style="text-decoration:underline;">Fixed server roles:</span></strong></p>
<p>Logins or users can be added to these roles to assign the administrative permissions of this role. Instead of giving full system administrator functionality, these roles allow the DBA to provide only server level permissions that each user require. These are also called server wide roles. SQL Server 2000 provides a list of fixed server roles which cannot be altered and new server roles cannot be created.</p>
<p>This approach allows DBAs to keep better track of the members and their actions and provides highest level of security.</p>
<p><strong><span style="text-decoration:underline;">Fixed database roles:</span></strong></p>
<p>Database users can be added to these roles to assign the database administrative permissions. Instead of giving full database owner functionality, these roles allow the DBA to provide only database level permissions to the user. These fixed server roles are unique within a database. SQL server provides a list of fixed database roles which cannot be altered, but new database roles can be created.</p>
<p>Database roles are database specific, and one cannot have roles that affect more than a single database at any time. These roles provide security at database level.</p>
<p><strong><span style="text-decoration:underline;">User defined roles:</span></strong></p>
<p>Roles can be created and then users or roles can be assigned to the newly created roles. These roles allow the DBA or database owner to manage permissions in a more easy way.</p>
<p>This feature should be carefully used to avoid security conflicts.</p>
<p><strong><span style="text-decoration:underline;">Application roles:</span></strong></p>
<p>Application roles are a very important and useful feature of SQL Server 2000. These roles are different from other roles due to the need of a password to be activated and they do not contain any users. These roles are also database specific.</p>
<p>After activation of these roles, users cannot access objects in other databases. If the user wants to run a cross-database transaction, the other database must have a guest user account enabled.</p>
<p> <strong><span style="text-decoration:underline;">SQL Server 2000 Auditing:</span></strong></p>
<p><strong><span style="text-decoration:underline;"> </span></strong>Auditing has made SQL Server 2000 more secure and easier to administer. Auditing is not turned on by default. But by enabling auditing, SQL Server 2000 can audit user activity such as which tables users access, which queries users run, and which stored procedures users invoke.</p>
<p>Auditing can be enabled by clicking on the appropriate option under <strong>Audit level</strong> on the <strong>Security</strong> tab of the <strong>SQL Server</strong> <strong>Properties</strong> dialog box.</p>
<p> </p>
<p>To keep a track of logins, it is recommended that both failure and success login records must be audited.</p>
<p> </p>
<p><strong><span style="text-decoration:underline;">Encryption:</span></strong></p>
<p><strong><span style="text-decoration:underline;"> </span></strong>SQL Server encryption provides extra protection to secure the databases.</p>
<p> </p>
<p>Windows 2000 introduced Encrypted File System (EFS) that allows encrypting individual files and folders on an NTFS partition. This feature can be used to encrypt SQL Server database files. The files must be encrypted using the service account of SQL Server. For changing the service account of SQL Server, the files must be decrypted, service account should be changed and the files should be encrypted again with the new service account.</p>
<p> </p>
<p>Protocol encryption can be enabled for the server by selecting <strong>Force protocol encryption</strong> on the <strong>General</strong> tab of the Server Network Utility.</p>
<p> <strong><span style="text-decoration:underline;">Comparison of security features in Oracle 9i and SQL Server 2000</span></strong></p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="308" valign="top"><strong><span style="text-decoration:underline;">Oracle 9i</span></strong></td>
<td width="308" valign="top"><strong><span style="text-decoration:underline;">SQL Server 2000</span></strong></td>
</tr>
<tr>
<td width="308" valign="top">Authentication in Oracle 9i is done by providing a valid username and password.</td>
<td width="308" valign="top">Authentication in SQL Server 2000 is implemented by two ways:</p>
<p>Windows Authentication Mode</p>
<p>Mixed mode</p>
<p>It is not that a basic concept as in Oracle.</td>
</tr>
<tr>
<td width="308" valign="top">Grant based security is implemented by profiles, privileges and roles.</td>
<td width="308" valign="top">Grant based security is implemented by permissions and roles. There are no profiles in SQL Server 2000.</td>
</tr>
<tr>
<td width="308" valign="top">Privileges in oracle 9i are the rights to control user access.</td>
<td width="308" valign="top">Permissions in SQL Server 2000 server the same purpose and controls the access to database.</td>
</tr>
<tr>
<td width="308" valign="top">Virtual Private Databases in Oracle 9iR2 takes security concept to row level.</td>
<td width="308" valign="top">In SQL Server 2000, row level permissions and security can be implemented using the views or stored procedures.</td>
</tr>
<tr>
<td width="308" valign="top">Oracle 9i provides fine- grained auditing feature for organizations to define specific targeted audit policies</td>
<td width="308" valign="top">SQL Server 2000 does not provide such a fine granularity of auditing functionality.</td>
</tr>
<tr>
<td width="308" valign="top">Oracle Advanced Security provides a better layer of security by data encryption.</td>
<td width="308" valign="top">In SQL Server 2000, encryption of database files is done using Windows 2000’s encrypted File system.</td>
</tr>
<tr>
<td width="308" valign="top">Oracle Net Firewall Proxy Kit allows firewall vendors to provide connection support for Oracle environments.</td>
<td width="308" valign="top">Computers using SQL Server 2000 databases must be protected using firewalls, proxies, etc.</td>
</tr>
</tbody>
</table>
<p><strong><span style="text-decoration:underline;">Refernces</span></strong></p>
<p><a href="http://www.oracle.com/technology/deploy/security/oracle9ir2/pdf/VPD9ir2twp.pdf">http://www.oracle.com/technology/deploy/security/oracle9ir2/pdf/VPD9ir2twp.pdf</a></p>
<p><a href="http://www.blurtit.com/q380589.html">http://www.blurtit.com/q380589.html</a></p>
<p><a href="http://www.dba-oracle.com/art_builder_grant_sec.htm">http://www.dba-oracle.com/art_builder_grant_sec.htm</a></p>
<p><a href="http://www.cs.uvm.edu/oracle9doc/network.901/a90148/galsystematic.htm">http://www.cs.uvm.edu/oracle9doc/network.901/a90148/galsystematic.htm</a></p>
<p><a href="http://technet.microsoft.com/en-us/library/cc966507.aspx">http://technet.microsoft.com/en-us/library/cc966507.aspx</a></p>
<p><a href="http://vyaskn.tripod.com/sql_server_security_best_practices.htm">http://vyaskn.tripod.com/sql_server_security_best_practices.htm</a></p>
<p><a href="http://vyaskn.tripod.com/row_level_security_in_sql_server_databases.htm">http://vyaskn.tripod.com/row_level_security_in_sql_server_databases.htm</a></p>
<p><a href="http://www.integrigy.com/security-resources/whitepapers/Integrigy_Oracle_11i_Auditing.pdf">http://www.integrigy.com/security-resources/whitepapers/Integrigy_Oracle_11i_Auditing.pdf</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sikanderjeet.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sikanderjeet.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sikanderjeet.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sikanderjeet.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sikanderjeet.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sikanderjeet.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sikanderjeet.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sikanderjeet.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sikanderjeet.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sikanderjeet.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sikanderjeet.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sikanderjeet.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sikanderjeet.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sikanderjeet.wordpress.com/88/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sikanderjeet.wordpress.com&amp;blog=6935670&amp;post=88&amp;subd=sikanderjeet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sikanderjeet.wordpress.com/2009/05/08/security/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f159da882f4f3c5366ab964516c15ec4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sikanderjeet</media:title>
		</media:content>
	</item>
		<item>
		<title>Date storage comparison of SQL server2000 and oracle9i</title>
		<link>http://sikanderjeet.wordpress.com/2009/04/23/date-storage-comparison-of-sql-server2000-and-oracle9i/</link>
		<comments>http://sikanderjeet.wordpress.com/2009/04/23/date-storage-comparison-of-sql-server2000-and-oracle9i/#comments</comments>
		<pubDate>Thu, 23 Apr 2009 05:23:56 +0000</pubDate>
		<dc:creator>sikanderjeet</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://sikanderjeet.wordpress.com/?p=84</guid>
		<description><![CDATA[Date storage comparison of SQL server and oracle Microsoft SQL Server Oracle Database Devices: A database device is mapped to the specified physical disk files. Data Files: One or more data files are created for each tablespace to physically store the data of all logical structures in a tablespace. The combined size of the data [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sikanderjeet.wordpress.com&amp;blog=6935670&amp;post=84&amp;subd=sikanderjeet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:14pt;line-height:115%;font-family:&quot;">Date storage comparison of SQL server and oracle</span></p>
<table class="MsoTableMediumShading2Accent3" style="width:100%;border-collapse:collapse;" border="1" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td style="border-right:#f0f0f0;border-top:windowtext 2.25pt solid;background:#9bbb59;border-left:#f0f0f0;border-bottom:windowtext 2.25pt solid;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">Microsoft SQL Server</span></strong></p>
</td>
<td style="border-right:#f0f0f0;border-top:windowtext 2.25pt solid;background:#9bbb59;border-left:#f0f0f0;border-bottom:windowtext 2.25pt solid;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">Oracle</span></strong></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><a name="sthref53"></a><strong><span style="font-size:12pt;color:black;font-family:&quot;">Database Devices:</span></strong></p>
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">A database device is mapped to the specified physical disk files.</span></strong></p>
</td>
<td style="background:#d8d8d8;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><a name="sthref54"></a><strong><span style="font-size:12pt;color:black;font-family:&quot;">Data Files:</span></strong></p>
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">One or more data files are created for each tablespace to physically store the data of all logical structures in a tablespace. The combined size of the data files in a tablespace is the total storage capacity of the tablespace. The combined storage capacity of a<span>  </span>tablespace in a database is the total storage capacity of the database. Once created, a data file cannot change in size. This limitation does not exist in Oracle.</span></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><a name="sthref55"></a><strong><span style="font-size:12pt;color:black;font-family:&quot;">Page:</span></strong></p>
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">Many pages constitute a database device. Each page contains a certain number of bytes.</span></strong></p>
</td>
<td style="background-color:transparent;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><a name="sthref56"></a><strong><span style="font-size:12pt;color:black;font-family:&quot;">Data Block:</span></strong></p>
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">One data block corresponds to a specific number of bytes, of physical database space, on the disk. The size of the data block can be specified when creating the database. A database uses and allocates free database space in Oracle data blocks.</span></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><a name="sthref57"></a><strong><span style="font-size:12pt;color:black;font-family:&quot;">Extent:</span></strong></p>
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">Eight pages make one extent. Space is allocated to all the databases in increments of one extent at a time.</span></strong></p>
</td>
<td style="background:#d8d8d8;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">Extent:</span></strong></p>
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">An extent is a specific number of contiguous data blocks, obtained in a single allocation.</span></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">N/A</span></strong></p>
</td>
<td style="background-color:transparent;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">Segments</span></strong><span style="font-size:12pt;color:black;font-family:&quot;">:</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">A segment is a set of extents allocated for a certain logical structure. The extents of a segment may or may not be contiguous on disk, and may or may not span the data files.</span></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">Segments (corresponds to Oracle Tablespace):</span></strong></p>
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">A segment is the name given to one or more database devices. Segment names are used in CREATE TABLE and CREATE INDEX constructs to place these objects on specific database devices. Segments can be extended to include additional devices as and when needed by using the SP_EXTENDSEGMENT system procedure.</span></strong></p>
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">The following segments are created along with the database:</span></strong></p>
<ul type="disc">
<li class="MsoNormal"><strong><span style="font-size:12pt;font-family:&quot;">System segment Stores the system tables.</span></strong></li>
<li class="MsoNormal"><strong><span style="font-size:12pt;font-family:&quot;">Log segment Stores the transaction log.</span></strong></li>
<li class="MsoNormal"><strong><span style="font-size:12pt;font-family:&quot;">Default segment All other database objects are stored on this segment unless specified otherwise.</span></strong></li>
</ul>
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">Segments are subsets of database devices.</span></strong></p>
</td>
<td style="background:#d8d8d8;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><a name="sthref58"></a><strong><span style="font-size:12pt;color:black;font-family:&quot;">Tablespace (corresponds to Microsoft SQL Server Segments):</span></strong></p>
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">A database is divided into logical storage units called tablespaces. A tablespace is used to group related logical structures together. A database typically has one system tablespace and one or more user tablespaces.</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">Tablespace Extent</span></strong><span style="font-size:12pt;color:black;font-family:&quot;">:</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">An extent is a specific number of contiguous data blocks within the same tablespace.</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">Tablespace Segments:</span></strong></p>
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">A segment is a set of extents allocated for a certain logical database object. All the segments assigned to one object must be in the same tablespace. The segments get the extents allocated to them as and when needed.</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">There are four different types of segments as follows:</span></p>
<ul type="disc">
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;">Data segment Each table has a data segment. All of the table&#8217;s data is stored in the extents of its data segments. The tables in Oracle can be stored as clusters as well. A cluster is a group of two or more tables that are stored together. Each cluster has a data segment. The data of every table in the cluster is stored in the cluster&#8217;s data segment.</span></li>
</ul>
</td>
</tr>
<tr>
<td style="background:#9bbb59;border:#f0f0f0;padding:0 5.4pt;" valign="top"> </td>
<td style="background-color:transparent;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">Tablespace Segments (Cont):</span></strong></p>
<ul type="disc">
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;">Index segment Each index has an index segment that stores all of its data.</span></li>
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;">Rollback segment One or more rollback segments are created by the DBA for a database to temporarily store &#8220;undo&#8221; information. This is the information about all the transactions that are not yet committed. This information is used to generate read-consistent database information during database recovery to rollback uncommitted transactions for users.</span></li>
</ul>
</td>
</tr>
<tr>
<td style="background:#9bbb59;border:#f0f0f0;padding:0 5.4pt;" valign="top"> </td>
<td style="background:#d8d8d8;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<ul type="disc">
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;">Temporary segment Temporary segments are created by Oracle when a SQL statement needs a temporary work area to complete execution. When the statement finishes execution, the extents in the temporary segment are returned to the system for future use.</span></li>
</ul>
</td>
</tr>
<tr>
<td style="background:#9bbb59;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">Log Devices:</span></strong></p>
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">These are logical devices assigned to store the log. The database device to store the logs can be specified while creating the database.</span></strong></p>
</td>
<td style="background-color:transparent;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><a name="sthref59"></a><strong><span style="font-size:12pt;color:black;font-family:&quot;">Redo Log Files:</span></strong></p>
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">Each database has a set of two or more redo log files. All changes made to the database are recorded in the redo log. Redo log files are critical in protecting a database against failures. Oracle allows mirrored redo log files so that two or more copies of these files can be maintained. This protects the redo log files against failure of the hardware the log file reside on.</span></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">Database Devices:</span></strong></p>
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">A database device contains the database objects. A logical device does not necessarily refer to any particular physical disk or file in the file system.</span></strong></p>
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">The database and logs are stored on database devices. Each database device must be initialized before being used for database storage. Initialization of the database device initializes the device for storage and registers the device with the server. After initialization, the device can be:</span></strong></p>
<ul type="disc">
<li class="MsoNormal"><strong><span style="font-size:12pt;font-family:&quot;">Allocated to the free space available to a database</span></strong></li>
<li class="MsoNormal"><strong><span style="font-size:12pt;font-family:&quot;">Allocated to store specific user objects</span></strong></li>
<li class="MsoNormal"><strong><span style="font-size:12pt;font-family:&quot;">Used to store the transaction log of a database</span></strong></li>
<li class="MsoNormal"><strong><span style="font-size:12pt;font-family:&quot;">Labeled as default device to create and alter database objects</span></strong></li>
</ul>
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">The SP_HELPDEVICES system procedure displays all the devices that are registered with the server. Use the DROP DEVICE DEVICE_NAME command to drop the device. The system administrator (SA) should restart the server after dropping the device.</span></strong></p>
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">A device can be labeled as a default device so that the new databases need not specify the device at the time of creation. Use the SP_DISKDEFAULT system procedure to label the device as a default device.</span></strong></p>
</td>
<td style="background:#d8d8d8;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">N/A</span></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">Dump Devices</span></strong></p>
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">These are logical devices. A database dump is stored on these devices. The DUMP DATABASE command uses the dump device to dump the database.</span></strong></p>
</td>
<td style="background-color:transparent;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">N/A</span></p>
</td>
</tr>
<tr>
<td style="border-right:#f0f0f0;border-top:#f0f0f0;background:#9bbb59;border-left:#f0f0f0;border-bottom:windowtext 2.25pt solid;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">N/A</span></strong></p>
</td>
<td style="border-right:#f0f0f0;border-top:#f0f0f0;background:#d8d8d8;border-left:#f0f0f0;border-bottom:windowtext 2.25pt solid;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><a name="sthref60"></a><strong><span style="font-size:12pt;color:black;font-family:&quot;">Control Files:</span></strong></p>
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">Each database has a control file. This file records the physical structure of the database. It contains the following information:</span></p>
<ul type="disc">
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;">database name</span></li>
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;">names and locations of a database&#8217;s data files and redo log files</span></li>
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;">time stamp of database creation</span></li>
</ul>
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">It is possible to have mirrored control files. Each time an instance of an Oracle database is started, its control file is used to identify the database, the physical structure of the data, and the redo log files that must be opened for the database operation to proceed. The control file is also used for recovery if necessary. The control files hold information similar to the master database in Microsoft SQL Server.</span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;line-height:115%;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin:0 0 10pt;"><strong><span style="font-size:12pt;line-height:115%;font-family:&quot;">Comments:</span></strong></p>
<p class="MsoNormal" style="text-align:justify;margin:0 0 10pt;"><span style="font-size:12pt;line-height:115%;font-family:&quot;">There is little difference in storage structure of the two databases. Physical storage structure differs as there are tablespaces in oracle to group related logical structures together but segments are used in SQL server. In oracle, each database has a control file but no control files are found in SQL server. </span></p>
<p class="MsoNormal" style="text-align:justify;margin:0 0 10pt;"><span style="font-size:12pt;line-height:115%;font-family:&quot;"><strong>References:</strong></span></p>
<p> </p>
<p> </p>
<p><span style="font-size:12pt;line-height:115%;font-family:&quot;"><span style="font-size:12pt;font-family:&quot;"></p>
<p class="MsoNormal" style="line-height:14.25pt;margin:0 0 10pt;"><span style="color:black;font-family:&quot;">1. Oracle (2007).Oracle® Database SQL Developer Supplementary Information for Microsoft SQL Server Migrations Release 1.2</span><span style="color:black;font-family:&quot;"> Part Number E10379-01 </span><span style="font-size:12pt;font-family:&quot;">from <a href="http://download.oracle.com/docs/cd/E10405_01/doc/appdev.120/e10379/ss_oracle_compared.htm#BABFDFBI" target="_blank"><span style="color:black;">http://download.oracle.com/docs/cd/E10405_01/doc/appdev.120/e10379/ss_oracle_compared.htm#BABFDFBI</span></a> </span></p>
<p class="MsoNormal" style="line-height:14.25pt;text-align:justify;margin:0 0 10pt;"><span style="font-size:12pt;font-family:&quot;">2 .Abbey,M. Corney,M. &amp; Abramson,I.(2002). <em>Oracle9i A beginners’s Guide </em></span></p>
<p class="MsoNormal" style="line-height:14.25pt;text-align:justify;margin:0 0 10pt;"><span style="font-size:12pt;font-family:&quot;">U.S.A: McGraw-hillW</span></p>
<p class="MsoNormal" style="line-height:14.25pt;text-align:justify;margin:0 0 10pt;"><span style="font-size:12pt;font-family:&quot;">3. Waymire, R.,&amp; Sawtell,R.(2001). <em>Sams Teach Yourself Microsoft Sql Server2000 in 21 Days </em></span></p>
<p class="MsoNormal" style="line-height:14.25pt;text-align:justify;margin:0 0 10pt;"><span style="font-size:12pt;font-family:&quot;">U.S.A: Sams <em></em></span></p>
<p class="MsoNormal" style="line-height:14.25pt;text-align:justify;margin:0 0 10pt;"> </p>
<p> </p>
<p> </p>
<p></span></p>
<p class="MsoNormal" style="text-align:justify;margin:0 0 10pt;"> </p>
<p> </p>
<p> </p>
<p></span></p>
<p class="MsoNormal" style="text-align:justify;margin:0 0 10pt;"> </p>
<p class="MsoNormal" style="text-align:justify;margin:0 0 10pt;"> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sikanderjeet.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sikanderjeet.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sikanderjeet.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sikanderjeet.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sikanderjeet.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sikanderjeet.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sikanderjeet.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sikanderjeet.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sikanderjeet.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sikanderjeet.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sikanderjeet.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sikanderjeet.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sikanderjeet.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sikanderjeet.wordpress.com/84/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sikanderjeet.wordpress.com&amp;blog=6935670&amp;post=84&amp;subd=sikanderjeet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sikanderjeet.wordpress.com/2009/04/23/date-storage-comparison-of-sql-server2000-and-oracle9i/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f159da882f4f3c5366ab964516c15ec4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sikanderjeet</media:title>
		</media:content>
	</item>
		<item>
		<title>Comparison of data types in SQL server2000 and oracle9i</title>
		<link>http://sikanderjeet.wordpress.com/2009/04/23/comparison-of-data-types-in-sql-server2000-and-oracle9i/</link>
		<comments>http://sikanderjeet.wordpress.com/2009/04/23/comparison-of-data-types-in-sql-server2000-and-oracle9i/#comments</comments>
		<pubDate>Thu, 23 Apr 2009 03:30:35 +0000</pubDate>
		<dc:creator>sikanderjeet</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://sikanderjeet.wordpress.com/?p=81</guid>
		<description><![CDATA[Comparison of data types in SQL server and oracle Oracle and SQL server data types do not match exactly. Moreover there are some data types which are defined in oracle but do not exist in Sql Server and comparison of them have been listed below.   Microsoft SQL Server Description Oracle Description INTEGER Stores integer [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sikanderjeet.wordpress.com&amp;blog=6935670&amp;post=81&amp;subd=sikanderjeet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal" style="text-align:justify;margin:0 0 10pt;"><strong><span style="font-size:14pt;color:black;line-height:115%;font-family:&quot;">Comparison of data types in SQL server and oracle</span></strong></p>
<p class="MsoNormal" style="text-align:justify;margin:0 0 10pt;"><span style="font-size:12pt;line-height:115%;font-family:&quot;">Oracle and SQL server data types do not match exactly. Moreover there are some data types which are defined in oracle but do not exist in Sql Server and comparison of them have been listed below.</span></p>
<p class="MsoNormal" style="text-align:justify;margin:0 0 10pt;"><span style="font-size:12pt;line-height:115%;font-family:&quot;"> </span></p>
<table class="MsoTableMediumShading2Accent5" style="width:100%;border-collapse:collapse;" border="1" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td style="border-right:#f0f0f0;border-top:windowtext 2.25pt solid;background:#4bacc6;border-left:#f0f0f0;border-bottom:windowtext 2.25pt solid;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">Microsoft SQL Server</span></strong></p>
</td>
<td style="border-right:#f0f0f0;border-top:windowtext 2.25pt solid;background:#4bacc6;border-left:#f0f0f0;border-bottom:windowtext 2.25pt solid;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">Description</span></strong></p>
</td>
<td style="border-right:#f0f0f0;border-top:windowtext 2.25pt solid;background:#4bacc6;border-left:#f0f0f0;width:22.58%;border-bottom:windowtext 2.25pt solid;padding:0 5.4pt;" width="22%" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">Oracle</span></strong></p>
</td>
<td style="border-right:#f0f0f0;border-top:windowtext 2.25pt solid;background:#4bacc6;border-left:#f0f0f0;width:21.68%;border-bottom:windowtext 2.25pt solid;padding:0 5.4pt;" width="21%" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">Description</span></strong></p>
</td>
</tr>
<tr>
<td style="background:#4bacc6;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">INTEGER</span></strong></p>
</td>
<td style="background:#d8d8d8;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">Stores integer values. Four-byte integer, 31 bits, and a sign. May be abbreviated as &#8220;INT&#8221;</span></p>
</td>
<td style="background:#d8d8d8;width:22.58%;border:#f0f0f0;padding:0 5.4pt;" width="22%" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">NUMBER(10)</span></p>
</td>
<td style="background:#d8d8d8;width:21.68%;border:#f0f0f0;padding:0 5.4pt;" width="21%" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">Stores numeric data</span></strong><span style="font-size:12pt;color:black;font-family:&quot;">.It is possible to place a table constraint on columns of this type (as an option) to force values between -2^31 and2^31. Or, place appropriate constraints such as: STATE_NO between 1 and 50</span></p>
</td>
</tr>
<tr>
<td style="background:#4bacc6;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">SMALLINT</span></strong></p>
</td>
<td style="background-color:transparent;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">Two-byte integer, 15 bits, and a sign.</span></p>
</td>
<td style="width:22.58%;background-color:transparent;border:#f0f0f0;padding:0 5.4pt;" width="22%" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">NUMBER(6)</span></p>
</td>
<td style="width:21.68%;background-color:transparent;border:#f0f0f0;padding:0 5.4pt;" width="21%" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">It is possible to place a table constraint on columns of this type (optionally) to force values between -2^15 and 2^15. Or, place appropriate constraints such as: STATE_NO between 1 and 50</span></p>
</td>
</tr>
<tr>
<td style="background:#4bacc6;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">TINYINT</span></strong></p>
</td>
<td style="background:#d8d8d8;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">One byte integer, 8 bits and no sign. Holds whole numbers between 0 and 255.</span></p>
</td>
<td style="background:#d8d8d8;width:22.58%;border:#f0f0f0;padding:0 5.4pt;" width="22%" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">NUMBER(3)</span></p>
</td>
<td style="background:#d8d8d8;width:21.68%;border:#f0f0f0;padding:0 5.4pt;" width="21%" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">You may add a check constraint of (x between 0 and 255) where x is column name.</span></p>
</td>
</tr>
<tr>
<td style="background:#4bacc6;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">REAL</span></strong></p>
</td>
<td style="background-color:transparent;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">Floating point number. Storage is four bytes and has a binary precision of 24 bits, a 7-digit precision.</span></p>
</td>
<td style="width:22.58%;background-color:transparent;border:#f0f0f0;padding:0 5.4pt;" width="22%" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">FLOAT</span></p>
</td>
<td style="width:21.68%;background-color:transparent;border:#f0f0f0;padding:0 5.4pt;" width="21%" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">Very similar to NUMBER it stores zero, positive, and negative floating-point numbers</span><span style="font-size:12pt;color:black;font-family:&quot;">.</span></p>
</td>
</tr>
<tr>
<td style="background:#4bacc6;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><a name="sthref44"></a><strong><span style="font-size:12pt;color:black;font-family:&quot;">FLOAT</span></strong></p>
</td>
<td style="background:#d8d8d8;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">A floating point number. This column has 15-digit precision.</span></p>
</td>
<td style="background:#d8d8d8;width:22.58%;border:#f0f0f0;padding:0 5.4pt;" width="22%" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">FLOAT</span></p>
</td>
<td style="background:#d8d8d8;width:21.68%;border:#f0f0f0;padding:0 5.4pt;" width="21%" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">The Oracle NUMBER data type is used to store both fixed and floating-point numbers in a format compatible with decimal arithmetic. </span></p>
</td>
</tr>
<tr>
<td style="background:#4bacc6;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">BIT</span></strong></p>
</td>
<td style="background-color:transparent;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">A Boolean 0 or 1 stored as one bit of a byte. Up to 8-bit columns from a table may be stored in a single byte, even if not contiguous.</span><span style="font-size:10pt;font-family:&quot;"> </span><strong><span style="font-size:12pt;font-family:&quot;">Bit</span></strong><span style="font-size:12pt;font-family:&quot;"> columns cannot be NULL and cannot have indexes on them.</span></p>
</td>
<td style="width:22.58%;background-color:transparent;border:#f0f0f0;padding:0 5.4pt;" width="22%" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">NUMBER(1)</span></p>
</td>
<td style="width:21.68%;background-color:transparent;border:#f0f0f0;padding:0 5.4pt;" width="21%" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">In Oracle, a bit is stored in a number (1) (or char). In Oracle, it is possible to store bits in a char or varchar field (packed) and supply PL/SQL functions to set / unset / retrieve / query on them.</span></p>
</td>
</tr>
<tr>
<td style="background:#4bacc6;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><a name="sthref45"></a><strong><span style="font-size:12pt;color:black;font-family:&quot;">CHAR(n)</span></strong></p>
</td>
<td style="background:#d8d8d8;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">Fixed-length string of exactly n 8-bit characters, blank padded. Synonym for CHARACTER. </span></p>
</td>
<td style="background:#d8d8d8;width:22.58%;border:#f0f0f0;padding:0 5.4pt;" width="22%" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">CHAR(n)</span></p>
</td>
<td style="background:#d8d8d8;width:21.68%;border:#f0f0f0;padding:0 5.4pt;" width="21%" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">A CHAR data type with a range of 2001 to 4000 is invalid. SQL Developer automatically converts a CHAR datatype with this range to VARCHAR2.</span></p>
</td>
</tr>
<tr>
<td style="background:#4bacc6;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><a name="sthref46"></a><strong><span style="font-size:12pt;color:black;font-family:&quot;">VARCHAR(n)</span></strong></p>
</td>
<td style="background-color:transparent;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">Varying-length character string. 0 &lt; n &lt; 256 for Microsoft SQL Server. 0 &lt; n &lt; 8000 for Microsoft SQL Server 7.0.</span></p>
</td>
<td style="width:22.58%;background-color:transparent;border:#f0f0f0;padding:0 5.4pt;" width="22%" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">VARCHAR2(n)</span></p>
</td>
<td style="width:21.68%;background-color:transparent;border:#f0f0f0;padding:0 5.4pt;" width="21%" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:12pt;color:black;font-family:&quot;"> </span></p>
</td>
</tr>
<tr>
<td style="background:#4bacc6;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">TEXT</span></strong></p>
</td>
<td style="background:#d8d8d8;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">Character string of 8-bit bytes allocated in increments of 2k pages. &#8220;TEXT&#8221; is stored as a linked-list of 2024-byte pages, blank padded. TEXT columns can hold up to (231-1) characters.</span></p>
</td>
<td style="background:#d8d8d8;width:22.58%;border:#f0f0f0;padding:0 5.4pt;" width="22%" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">CLOB</span></p>
</td>
<td style="background:#d8d8d8;width:21.68%;border:#f0f0f0;padding:0 5.4pt;" width="21%" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">The CLOB field can hold up to 4GB.</span></p>
</td>
</tr>
<tr>
<td style="background:#4bacc6;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">IMAGE</span></strong></p>
</td>
<td style="background-color:transparent;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">Binary string of 8-bit bytes. Holds up to (231-1) bytes of binary data.</span></p>
</td>
<td style="width:22.58%;background-color:transparent;border:#f0f0f0;padding:0 5.4pt;" width="22%" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">BLOB</span></p>
</td>
<td style="width:21.68%;background-color:transparent;border:#f0f0f0;padding:0 5.4pt;" width="21%" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">The BLOB field can hold up to 4GB.</span></p>
</td>
</tr>
<tr>
<td style="background:#4bacc6;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">BINARY(n)</span></strong></p>
</td>
<td style="background:#d8d8d8;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">Fixed length binary string of exactly n 8-bit bytes. 0 &lt; n &lt; 256 for Microsoft SQL Server. 0 &lt; n &lt; 8000 for Microsoft SQL Server 7.0.</span></p>
</td>
<td style="background:#d8d8d8;width:22.58%;border:#f0f0f0;padding:0 5.4pt;" width="22%" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">RAW(n)/BLOB</span></p>
</td>
<td style="background:#d8d8d8;width:21.68%;border:#f0f0f0;padding:0 5.4pt;" width="21%" valign="top"> </td>
</tr>
<tr>
<td style="background:#4bacc6;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">VARBINARY(n)</span></strong></p>
</td>
<td style="background-color:transparent;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">Varying length binary string of up to n 8-bit bytes. 0 &lt; n &lt; 256 for Microsoft SQL Server. 0 &lt; n &lt; 8000 for Microsoft SQL Server 7.0.</span></p>
</td>
<td style="width:22.58%;background-color:transparent;border:#f0f0f0;padding:0 5.4pt;" width="22%" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">RAW(n)/BLOB</span></p>
</td>
<td style="width:21.68%;background-color:transparent;border:#f0f0f0;padding:0 5.4pt;" width="21%" valign="top"> </td>
</tr>
<tr>
<td style="background:#4bacc6;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><a name="sthref47"></a><strong><span style="font-size:12pt;color:black;font-family:&quot;">DATETIME</span></strong></p>
</td>
<td style="background:#d8d8d8;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">Date and time are stored as two 4-byte integers. Permitted values are legal dates between 1st January, 1753 AD and 31st December, 9999 AD. </span></p>
</td>
<td style="background:#d8d8d8;width:22.58%;border:#f0f0f0;padding:0 5.4pt;" width="22%" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">DATE</span></p>
</td>
<td style="background:#d8d8d8;width:21.68%;border:#f0f0f0;padding:0 5.4pt;" width="21%" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">The precision of DATE in Oracle and DATETIME in Microsoft SQL Server is different. The DATETIME data type has higher precision than the DATE data type. </span></p>
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">The Oracle TIMESTAMP data type can also be used. It has a precision of 1/10000000th of a second.</span></p>
</td>
</tr>
<tr>
<td style="background:#4bacc6;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">SMALL-DATETIME</span></strong></p>
</td>
<td style="background-color:transparent;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">Date and time stored as two 2-byte integers. Date ranges from 1/1/1900 to 6/6/2079. Time is the count of the number of minutes since midnight.</span></p>
</td>
<td style="width:22.58%;background-color:transparent;border:#f0f0f0;padding:0 5.4pt;" width="22%" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">DATE</span></p>
</td>
<td style="width:21.68%;background-color:transparent;border:#f0f0f0;padding:0 5.4pt;" width="21%" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">With optional check constraint to validate the smaller range.</span></p>
</td>
</tr>
<tr>
<td style="background:#4bacc6;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">MONEY</span></strong></p>
</td>
<td style="background:#d8d8d8;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">A monetary value represented as an integer portion and a decimal fraction, and stored as two 4-byte integer. When inputting Data of this type it should be preceded by a dollar sign ($). In the absence of the &#8220;$&#8221; sign, Microsoft SQL Server creates the value as a float. Storage size is 8 bytes.</span></p>
</td>
<td style="background:#d8d8d8;width:22.58%;border:#f0f0f0;padding:0 5.4pt;" width="22%" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">NUMBER(19,4)</span></p>
</td>
<td style="background:#d8d8d8;width:21.68%;border:#f0f0f0;padding:0 5.4pt;" width="21%" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">Oracle is more general and works in international environments where the use of the &#8220;$&#8221; sign cannot be assumed.</span></p>
</td>
</tr>
<tr>
<td style="background:#4bacc6;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">NCHAR(n)</span></strong></p>
</td>
<td style="background-color:transparent;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">Fixed-length character data type which uses the UNICODE UCS-2 character set. n must be a value in the range 1 to 4000. SQL Server storage size is two times n.</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">Thus, a SQL Server column NCHAR(1000) will appear in the Source Model as NCHAR(2000).</span></p>
</td>
<td style="width:22.58%;background-color:transparent;border:#f0f0f0;padding:0 5.4pt;" width="22%" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">CHAR(n*2)</span></p>
</td>
<td style="width:21.68%;background-color:transparent;border:#f0f0f0;padding:0 5.4pt;" width="21%" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:12pt;color:black;font-family:&quot;">Stores fixed length character data.</span></p>
</td>
</tr>
<tr>
<td style="background:#4bacc6;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">NVARCHAR(n)</span></strong></p>
</td>
<td style="background:#d8d8d8;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">variable-length character data type which uses the UNICODE UCS-2 character set. n must be a value in the range 1 to 4000. SQL Server storage size is two times n.</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">Thus, a SQL Server column NVARCHAR (1000) will appear in the Source Model as NVARCHAR (2000).</span></p>
</td>
<td style="background:#d8d8d8;width:22.58%;border:#f0f0f0;padding:0 5.4pt;" width="22%" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">VARCHAR(n*2)</span></p>
</td>
<td style="background:#d8d8d8;width:21.68%;border:#f0f0f0;padding:0 5.4pt;" width="21%" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:12pt;color:black;font-family:&quot;">Stores variable –length character data.</span></p>
</td>
</tr>
<tr>
<td style="background:#4bacc6;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">SMALLMONEY</span></strong></p>
</td>
<td style="background-color:transparent;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">Same as MONEY except monetary data values from -214,748.3648 to +214,748.3647, with accuracy to one ten-thousandth of a monetary unit. Storage size is 4 bytes.</span></p>
</td>
<td style="width:22.58%;background-color:transparent;border:#f0f0f0;padding:0 5.4pt;" width="22%" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">NUMBER(10,4)</span></p>
</td>
<td style="width:21.68%;background-color:transparent;border:#f0f0f0;padding:0 5.4pt;" width="21%" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">Since the range is -214,748.3648 to 214,748.364, NUMBER(10,4) suffices for this field.</span></p>
</td>
</tr>
<tr>
<td style="background:#4bacc6;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><a name="sthref48"></a><strong><span style="font-size:12pt;color:black;font-family:&quot;">TIMESTAMP</span></strong></p>
</td>
<td style="background:#d8d8d8;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">TIMESTAMP is defined as VARBINARY (8) with NULL allowed. Every time a row containing a TIMESTAMP column is updated or inserted, the TIMESTAMP column is automatically increment by the system. A TIMESTAMP column may not be updated by users.</span></p>
</td>
<td style="background:#d8d8d8;width:22.58%;border:#f0f0f0;padding:0 5.4pt;" width="22%" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">NUMBER</span></p>
</td>
<td style="background:#d8d8d8;width:21.68%;border:#f0f0f0;padding:0 5.4pt;" width="21%" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">You must place triggers on columns of this type to maintain them. In Oracle you can have multiple triggers of the same type without having to integrate them all into one big trigger.</span></p>
</td>
</tr>
<tr>
<td style="border-right:#f0f0f0;border-top:#f0f0f0;background:#4bacc6;border-left:#f0f0f0;border-bottom:windowtext 2.25pt solid;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><a name="sthref49"></a><strong><span style="font-size:12pt;color:black;font-family:&quot;">SYSNAME</span></strong></p>
</td>
<td style="border-right:#f0f0f0;border-top:#f0f0f0;border-left:#f0f0f0;border-bottom:windowtext 2.25pt solid;background-color:transparent;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">VARCHAR(30) in Microsoft SQL Server.</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">NVARCHAR(128) in Microsoft SQL Server 7.0.</span></p>
</td>
<td style="border-right:#f0f0f0;border-top:#f0f0f0;border-left:#f0f0f0;width:22.58%;border-bottom:windowtext 2.25pt solid;background-color:transparent;padding:0 5.4pt;" width="22%" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">VARCHAR2(30) and VARCHAR2(128) respectively.</span></p>
</td>
<td style="border-right:#f0f0f0;border-top:#f0f0f0;border-left:#f0f0f0;width:21.68%;border-bottom:windowtext 2.25pt solid;background-color:transparent;padding:0 5.4pt;" width="21%" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:12pt;color:black;font-family:&quot;"> </span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;line-height:115%;font-family:&quot;"> </span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sikanderjeet.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sikanderjeet.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sikanderjeet.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sikanderjeet.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sikanderjeet.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sikanderjeet.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sikanderjeet.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sikanderjeet.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sikanderjeet.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sikanderjeet.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sikanderjeet.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sikanderjeet.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sikanderjeet.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sikanderjeet.wordpress.com/81/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sikanderjeet.wordpress.com&amp;blog=6935670&amp;post=81&amp;subd=sikanderjeet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sikanderjeet.wordpress.com/2009/04/23/comparison-of-data-types-in-sql-server2000-and-oracle9i/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f159da882f4f3c5366ab964516c15ec4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sikanderjeet</media:title>
		</media:content>
	</item>
		<item>
		<title>Comparison of some specific schema objects of oracle and SQL server</title>
		<link>http://sikanderjeet.wordpress.com/2009/04/23/comparison-of-some-specific-schema-objects-of-oracle-and-sql-server/</link>
		<comments>http://sikanderjeet.wordpress.com/2009/04/23/comparison-of-some-specific-schema-objects-of-oracle-and-sql-server/#comments</comments>
		<pubDate>Thu, 23 Apr 2009 03:20:00 +0000</pubDate>
		<dc:creator>sikanderjeet</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://sikanderjeet.wordpress.com/?p=77</guid>
		<description><![CDATA[Schema objects Schema of any database is definition of tables, views, indexes, constraints, stored procedures, triggers and other database – specific objects. So comparison of some specific schema objects of oracle and SQL server is as given below:     Schema objects comparison:     Oracle Microsoft SQL Server Database Database Schema Database and database [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sikanderjeet.wordpress.com&amp;blog=6935670&amp;post=77&amp;subd=sikanderjeet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p class="MsoHeader" style="margin:0;"><strong><span style="font-size:14pt;font-family:&quot;">Schema objects </span></strong></p>
<p class="MsoHeader" style="text-align:justify;margin:0;"><span style="font-size:12pt;"><span style="font-family:Calibri;">Schema of any database is definition of tables, views, indexes, constraints, stored procedures, triggers and other database – specific objects.</span></span></p>
<p class="MsoHeader" style="margin:0;"><span style="font-size:12pt;"><span style="font-family:Calibri;">So comparison of some specific schema objects of oracle and SQL server is as given below:</span></span></p>
<p class="MsoHeader" style="margin:0;"> </p>
<p> </p>
<p><span style="font-size:12pt;"><span style="font-family:Calibri;"></p>
<p class="MsoNormal" style="margin:0 0 10pt;"><strong><span style="font-size:small;"><span style="font-family:Calibri;">Schema objects comparison:</span></span></strong></p>
<p class="MsoNormal" style="margin:0 0 10pt;"> </p>
<p> </p>
<p></span></span></p>
<table class="MsoTableLightShadingAccent2" style="width:100%;border-collapse:collapse;margin:auto 6.75pt;" border="1" cellspacing="0" cellpadding="0" width="100%" align="left">
<tbody>
<tr>
<td style="border-right:#f0f0f0;border-top:#c0504d 1pt solid;border-left:#f0f0f0;border-bottom:#c0504d 1pt solid;background-color:transparent;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">Oracle</span></strong></p>
</td>
<td style="border-right:#f0f0f0;border-top:#c0504d 1pt solid;border-left:#f0f0f0;border-bottom:#c0504d 1pt solid;background-color:transparent;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">Microsoft SQL Server</span></strong></p>
</td>
</tr>
<tr>
<td style="background:#efd3d2;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">Database</span></strong></p>
</td>
<td style="background:#efd3d2;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">Database</span></p>
</td>
</tr>
<tr>
<td style="background-color:transparent;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">Schema</span></strong></p>
</td>
<td style="background-color:transparent;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">Database and database owner (DBO)</span></p>
</td>
</tr>
<tr>
<td style="background:#efd3d2;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">Tablespace</span></strong></p>
</td>
<td style="background:#efd3d2;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">Database</span></p>
</td>
</tr>
<tr>
<td style="background-color:transparent;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">User</span></strong></p>
</td>
<td style="background-color:transparent;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">User</span></p>
</td>
</tr>
<tr>
<td style="background:#efd3d2;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">Role</span></strong></p>
</td>
<td style="background:#efd3d2;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">Group/Role</span></p>
</td>
</tr>
<tr>
<td style="background-color:transparent;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">Table</span></strong></p>
</td>
<td style="background-color:transparent;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">Table</span></p>
</td>
</tr>
<tr>
<td style="background:#efd3d2;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">Temporary tables</span></strong></p>
</td>
<td style="background:#efd3d2;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">Temporary tables</span></p>
</td>
</tr>
<tr>
<td style="background-color:transparent;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">Cluster</span></strong></p>
</td>
<td style="background-color:transparent;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">N/A</span></p>
</td>
</tr>
<tr>
<td style="background:#efd3d2;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">Column-level check constraint</span></strong></p>
</td>
<td style="background:#efd3d2;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">Column-level check constraint</span></p>
</td>
</tr>
<tr>
<td style="background-color:transparent;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">Column default</span></strong></p>
</td>
<td style="background-color:transparent;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">Column default</span></p>
</td>
</tr>
<tr>
<td style="background:#efd3d2;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">Unique key</span></strong></p>
</td>
<td style="background:#efd3d2;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">Unique key or identity property for a column</span></p>
</td>
</tr>
<tr>
<td style="background-color:transparent;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">Primary key</span></strong></p>
</td>
<td style="background-color:transparent;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">Primary key</span></p>
</td>
</tr>
<tr>
<td style="background:#efd3d2;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">Foreign key</span></strong></p>
</td>
<td style="background:#efd3d2;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">Foreign key</span></p>
</td>
</tr>
<tr>
<td style="background-color:transparent;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">Index</span></strong></p>
</td>
<td style="background-color:transparent;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">Non-unique index</span></p>
</td>
</tr>
<tr>
<td style="background:#efd3d2;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">PL/SQL Procedure</span></strong></p>
</td>
<td style="background:#efd3d2;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">Transact-SQL (T-SQL) stored procedure</span></p>
</td>
</tr>
<tr>
<td style="background-color:transparent;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">PL/SQL Function</span></strong></p>
</td>
<td style="background-color:transparent;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">T-SQL stored procedure</span></p>
</td>
</tr>
<tr>
<td style="background:#efd3d2;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">Packages</span></strong></p>
</td>
<td style="background:#efd3d2;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">N/A</span></p>
</td>
</tr>
<tr>
<td style="background-color:transparent;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">AFTER triggers</span></strong></p>
</td>
<td style="background-color:transparent;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">Triggers</span></p>
</td>
</tr>
<tr>
<td style="background:#efd3d2;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">BEFORE triggers</span></strong></p>
</td>
<td style="background:#efd3d2;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">Complex rules</span></p>
</td>
</tr>
<tr>
<td style="background-color:transparent;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">Triggers for each row</span></strong></p>
</td>
<td style="background-color:transparent;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">N/A</span></p>
</td>
</tr>
<tr>
<td style="background:#efd3d2;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">Synonyms</span></strong></p>
</td>
<td style="background:#efd3d2;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">N/A</span></p>
</td>
</tr>
<tr>
<td style="background-color:transparent;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">Sequences</span></strong></p>
</td>
<td style="background-color:transparent;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">Identity property for a column</span></p>
</td>
</tr>
<tr>
<td style="background:#efd3d2;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">Snapshot</span></strong></p>
</td>
<td style="background:#efd3d2;border:#f0f0f0;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">N/A</span></p>
</td>
</tr>
<tr>
<td style="border-right:#f0f0f0;border-top:#f0f0f0;border-left:#f0f0f0;border-bottom:#c0504d 1pt solid;background-color:transparent;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><strong><span style="font-size:12pt;color:black;font-family:&quot;">View</span></strong></p>
</td>
<td style="border-right:#f0f0f0;border-top:#f0f0f0;border-left:#f0f0f0;border-bottom:#c0504d 1pt solid;background-color:transparent;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:12pt;color:black;font-family:&quot;">View</span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal" style="margin:0 0 10pt;"><strong><span style="font-size:small;font-family:Calibri;"> </span></strong></p>
<p class="MsoNormal" style="margin:0 0 10pt;"><strong><span style="font-size:12pt;line-height:115%;"><span style="font-family:Calibri;"> </span></span></strong></p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p><strong><span style="font-size:12pt;line-height:115%;"><span style="font-family:Calibri;">COMMENTS:-</span></span></strong></p>
<p class="MsoNormal" style="text-align:justify;margin:0 0 10pt;"><span style="font-size:12pt;line-height:115%;font-family:&quot;">There are some differences in schema objects in both the databases. In oracle, there are clusters which allow for a different way to store table data. But there is no such other way to store table data in SQL server. Package is a collection of procedures and functions bundled together, but no package concept is there in SQL server. Triggers for each row, synonyms and snapshot are used in oracle which is not found in SQL server.</span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sikanderjeet.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sikanderjeet.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sikanderjeet.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sikanderjeet.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sikanderjeet.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sikanderjeet.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sikanderjeet.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sikanderjeet.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sikanderjeet.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sikanderjeet.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sikanderjeet.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sikanderjeet.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sikanderjeet.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sikanderjeet.wordpress.com/77/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sikanderjeet.wordpress.com&amp;blog=6935670&amp;post=77&amp;subd=sikanderjeet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sikanderjeet.wordpress.com/2009/04/23/comparison-of-some-specific-schema-objects-of-oracle-and-sql-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f159da882f4f3c5366ab964516c15ec4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sikanderjeet</media:title>
		</media:content>
	</item>
		<item>
		<title>COMPARISON BETWEEN ORACLE9I AND SQL SERVER2000</title>
		<link>http://sikanderjeet.wordpress.com/2009/04/16/comparison-between-oracle9i-and-sql-server2000/</link>
		<comments>http://sikanderjeet.wordpress.com/2009/04/16/comparison-between-oracle9i-and-sql-server2000/#comments</comments>
		<pubDate>Thu, 16 Apr 2009 00:50:50 +0000</pubDate>
		<dc:creator>sikanderjeet</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://sikanderjeet.wordpress.com/?p=71</guid>
		<description><![CDATA[Introduction In this article, I compare SQL Server 2000 with Oracle 9i Database regarding price, performance, platforms supported, SQL dialects and products limits. Platform comparison SQL Server 2000 only works on Windows-based platforms, including Windows 9x, Windows NT, Windows 2000 and Windows CE. In comparison with SQL Server 2000, Oracle 9i Database supports all known [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sikanderjeet.wordpress.com&amp;blog=6935670&amp;post=71&amp;subd=sikanderjeet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h2 style="margin:auto 0;"><a name="part_1"></a><span style="color:windowtext;"><span style="font-size:large;"><span style="font-family:Verdana;">Introduction</span></span></span></h2>
<h2 style="margin:auto 0;"><span style="font-family:Verdana;"><span style="font-weight:normal;font-size:10pt;color:black;">In this article, I compare SQL Server 2000 with Oracle 9i Database regarding price, performance, platforms supported, SQL dialects and products limits.</span></span></h2>
<h2 style="margin:auto 0;"><a name="part_2"></a><span style="color:windowtext;"><span style="font-size:large;"><span style="font-family:Verdana;">Platform comparison</span></span></span></h2>
<p class="MsoNormal" style="margin:0 0 12pt;"><span style="font-size:10pt;line-height:115%;font-family:&quot;" lang="EN-IN">SQL Server 2000 only works on Windows-based platforms, including Windows 9x, Windows NT, Windows 2000 and Windows CE.<br />
In comparison with SQL Server 2000, Oracle 9i Database supports all known platforms, including Windows-based platforms, AIX-Based Systems, Compaq Tru64 UNIX, HP 9000 Series HP-UX, Linux Intel, Sun Solaris and so on.</span></p>
<h2 style="margin:auto 0;"><a name="part_2_1"></a><span style="color:windowtext;"><span style="font-size:large;"><span style="font-family:Verdana;">Hardware requirements</span></span></span></h2>
</p>
<p class="MsoNormal" style="margin:0 0 12pt;"><span style="font-size:10pt;line-height:115%;font-family:&quot;" lang="EN-IN">To install SQL Server 2000, you should have the Intel or compatible platforms and the following hardware:</span></p>
<table class="MsoTableMediumShading2Accent3" style="border-collapse:collapse;" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="border-right:#ece9d8;border-top:windowtext 2.25pt solid;background:#9bbb59;border-left:#ece9d8;width:75pt;border-bottom:windowtext 2.25pt solid;padding:0 5.4pt;" width="100" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Hardware</span><span style="font-size:small;"><span style="font-family:Calibri;"><span lang="EN-IN"> </span><strong></strong></span></span></p>
</td>
<td style="border-right:#ece9d8;border-top:windowtext 2.25pt solid;background:#9bbb59;border-left:#ece9d8;width:300pt;border-bottom:windowtext 2.25pt solid;padding:0 5.4pt;" width="400" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Requirements</span><span style="font-size:small;"><span style="font-family:Calibri;"><span lang="EN-IN"> </span><strong></strong></span></span></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Processor</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Pentium 166 MHz or higher</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Memory</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">32 MB RAM (minimum for Desktop Engine),<br />
64 MB RAM (minimum for all other editions),<br />
128 MB RAM or more recommended</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
<tr>
<td style="border-right:#ece9d8;border-top:#ece9d8;background:#9bbb59;border-left:#ece9d8;border-bottom:windowtext 2.25pt solid;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Hard disk space</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="border-right:#ece9d8;border-top:#ece9d8;background:#d8d8d8;border-left:#ece9d8;border-bottom:windowtext 2.25pt solid;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">270 MB (full installation),<br />
250 MB (typical),<br />
95 MB (minimum),<br />
Desktop Engine: 44 MB<br />
Analysis Services: 50 MB minimum and 130 MB typical<br />
English Query: 80 MB</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal" style="margin:0 0 12pt;">
<div class="MsoNormal" style="margin:0 0 12pt;"><span style="font-size:10pt;line-height:115%;font-family:&quot;" lang="EN-IN"><br />
Oracle 9i supports Intel or compatible platforms, AIX-Based Systems, Compaq Tru64 UNIX, HP 9000 Series HP-UX, Linux Intel, Sun Solaris and so on.</span></div>
<p><span style="font-size:10pt;line-height:115%;font-family:&quot;" lang="EN-IN">To install Oracle 9i under the Intel or compatible platforms, you should have the following hardware:</p>
<p></span></p>
<table class="MsoTableMediumShading2Accent3" style="border-collapse:collapse;" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="border-right:#ece9d8;border-top:windowtext 2.25pt solid;background:#9bbb59;border-left:#ece9d8;width:75pt;border-bottom:windowtext 2.25pt solid;padding:0 5.4pt;" width="100" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Hardware</span><span style="font-size:small;"><span style="font-family:Calibri;"><span lang="EN-IN"> </span><strong></strong></span></span></p>
</td>
<td style="border-right:#ece9d8;border-top:windowtext 2.25pt solid;background:#9bbb59;border-left:#ece9d8;width:300pt;border-bottom:windowtext 2.25pt solid;padding:0 5.4pt;" width="400" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Requirements</span><span style="font-size:small;"><span style="font-family:Calibri;"><span lang="EN-IN"> </span><strong></strong></span></span></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Processor</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Pentium 166 MHz or higher</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Memory</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">RAM: 128 MB (256 MB recommended)<br />
Virtual Memory: Initial Size 200 MB, Maximum Size 400 MB</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
<tr>
<td style="border-right:#ece9d8;border-top:#ece9d8;background:#9bbb59;border-left:#ece9d8;border-bottom:windowtext 2.25pt solid;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Hard disk space</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="border-right:#ece9d8;border-top:#ece9d8;background:#d8d8d8;border-left:#ece9d8;border-bottom:windowtext 2.25pt solid;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">140 MB on the System Drive<br />
plus 4.5 GB for the Oracle Home Drive (FAT)<br />
or 2.8 GB for the Oracle Home Drive (NTFS)</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal" style="margin:0 0 12pt;"><span style="font-size:10pt;line-height:115%;font-family:&quot;" lang="EN-IN"><br />
To install Oracle 9i Database under the UNIX Systems, such as AIX-Based Systems, Compaq Tru64 UNIX, HP 9000 Series HP-UX, and Sun Solaris, you should have the following hardware:</span></p>
<table class="MsoTableMediumShading2Accent3" style="border-collapse:collapse;" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="border-right:#ece9d8;border-top:windowtext 2.25pt solid;background:#9bbb59;border-left:#ece9d8;width:75pt;border-bottom:windowtext 2.25pt solid;padding:0 5.4pt;" width="100" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Hardware</span><span style="font-size:small;"><span style="font-family:Calibri;"><span lang="EN-IN"> </span><strong></strong></span></span></p>
</td>
<td style="border-right:#ece9d8;border-top:windowtext 2.25pt solid;background:#9bbb59;border-left:#ece9d8;width:300pt;border-bottom:windowtext 2.25pt solid;padding:0 5.4pt;" width="400" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Requirements</span><span style="font-size:small;"><span style="font-family:Calibri;"><span lang="EN-IN"> </span><strong></strong></span></span></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Memory</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">A minimum of 512 MB RAM</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Swap Space</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">A minimum of 2 x RAM or 400 MB, whichever is greater</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
<tr>
<td style="border-right:#ece9d8;border-top:#ece9d8;background:#9bbb59;border-left:#ece9d8;border-bottom:windowtext 2.25pt solid;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Hard disk space</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="border-right:#ece9d8;border-top:#ece9d8;background:#d8d8d8;border-left:#ece9d8;border-bottom:windowtext 2.25pt solid;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">4.5 GB</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;line-height:115%;font-family:&quot;" lang="EN-IN"> </span></p>
<h2 style="margin:auto 0;"><a name="part_2_2"></a><span style="color:windowtext;"><span style="font-size:large;"><span style="font-family:Verdana;">Software requirements</span></span></span></h2>
<p class="MsoNormal" style="margin:0 0 12pt;"><span style="font-size:10pt;line-height:115%;font-family:&quot;" lang="EN-IN">SQL Server 2000 comes in six editions: Enterprise, Standard, Personal, Developer, Desktop Engine, and SQL Server CE (a compatible version for Windows CE) and requires the following software:</span></p>
<table class="MsoTableMediumShading2Accent3" style="border-collapse:collapse;" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="border-right:#ece9d8;border-top:windowtext 2.25pt solid;background:#9bbb59;border-left:#ece9d8;width:75pt;border-bottom:windowtext 2.25pt solid;padding:0 5.4pt;" width="100" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Operating System</span><span style="font-size:small;"><span style="font-family:Calibri;"><span lang="EN-IN"> </span><strong></strong></span></span></p>
</td>
<td style="border-right:#ece9d8;border-top:windowtext 2.25pt solid;background:#9bbb59;border-left:#ece9d8;width:75pt;border-bottom:windowtext 2.25pt solid;padding:0 5.4pt;" width="100" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Enterprise Edition</span><span style="font-size:small;"><span style="font-family:Calibri;"><span lang="EN-IN"> </span><strong></strong></span></span></p>
</td>
<td style="border-right:#ece9d8;border-top:windowtext 2.25pt solid;background:#9bbb59;border-left:#ece9d8;width:75pt;border-bottom:windowtext 2.25pt solid;padding:0 5.4pt;" width="100" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Standard Edition</span><span style="font-size:small;"><span style="font-family:Calibri;"><span lang="EN-IN"> </span><strong></strong></span></span></p>
</td>
<td style="border-right:#ece9d8;border-top:windowtext 2.25pt solid;background:#9bbb59;border-left:#ece9d8;width:75pt;border-bottom:windowtext 2.25pt solid;padding:0 5.4pt;" width="100" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Personal Edition</span><span style="font-size:small;"><span style="font-family:Calibri;"><span lang="EN-IN"> </span><strong></strong></span></span></p>
</td>
<td style="border-right:#ece9d8;border-top:windowtext 2.25pt solid;background:#9bbb59;border-left:#ece9d8;width:75pt;border-bottom:windowtext 2.25pt solid;padding:0 5.4pt;" width="100" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Developer Edition</span><span style="font-size:small;"><span style="font-family:Calibri;"><span lang="EN-IN"> </span><strong></strong></span></span></p>
</td>
<td style="border-right:#ece9d8;border-top:windowtext 2.25pt solid;background:#9bbb59;border-left:#ece9d8;width:75pt;border-bottom:windowtext 2.25pt solid;padding:0 5.4pt;" width="100" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Desktop Engine</span><span style="font-size:small;"><span style="font-family:Calibri;"><span lang="EN-IN"> </span><strong></strong></span></span></p>
</td>
<td style="border-right:#ece9d8;border-top:windowtext 2.25pt solid;background:#9bbb59;border-left:#ece9d8;width:75pt;border-bottom:windowtext 2.25pt solid;padding:0 5.4pt;" width="100" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">SQL Server CE</span><span style="font-size:small;"><span style="font-family:Calibri;"><span lang="EN-IN"> </span><strong></strong></span></span></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;width:75pt;border:#ece9d8;padding:0 5.4pt;" width="100" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Windows CE</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">No</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">No</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">No</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">No</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">No</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Yes</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;width:75pt;border:#ece9d8;padding:0 5.4pt;" width="100" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Windows 9x</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">No</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">No</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Yes</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">No</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Yes</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">No</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;width:75pt;border:#ece9d8;padding:0 5.4pt;" width="100" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Windows NT 4.0 Workstation with Service Pack 5</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">No</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">No</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Yes</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Yes</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Yes</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">No</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;width:75pt;border:#ece9d8;padding:0 5.4pt;" width="100" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Windows NT 4.0 Server with Service Pack 5</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Yes</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Yes</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Yes</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Yes</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Yes</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">No</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;width:75pt;border:#ece9d8;padding:0 5.4pt;" width="100" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Windows NT 4.0 Server Enterprise Edition with Service Pack 5</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Yes</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Yes</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Yes</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Yes</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Yes</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">No</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;width:75pt;border:#ece9d8;padding:0 5.4pt;" width="100" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Windows 2000 Professional</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">No</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">No</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Yes</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Yes</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Yes</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">No</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;width:75pt;border:#ece9d8;padding:0 5.4pt;" width="100" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Windows 2000 Server</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Yes</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Yes</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Yes</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Yes</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Yes</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">No</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;width:75pt;border:#ece9d8;padding:0 5.4pt;" width="100" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Windows 2000 Advanced Server</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Yes</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Yes</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Yes</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Yes</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Yes</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">No</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;width:75pt;border:#ece9d8;padding:0 5.4pt;" width="100" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Windows 2000 DataCenter</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Yes</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Yes</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Yes</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Yes</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Yes</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">No</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
<tr>
<td style="border-right:#ece9d8;border-top:#ece9d8;background:#9bbb59;border-left:#ece9d8;width:75pt;border-bottom:windowtext 2.25pt solid;padding:0 5.4pt;" width="100" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Windows XP Professional</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="border-right:#ece9d8;border-top:#ece9d8;border-left:#ece9d8;border-bottom:windowtext 2.25pt solid;background-color:transparent;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">No</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="border-right:#ece9d8;border-top:#ece9d8;border-left:#ece9d8;border-bottom:windowtext 2.25pt solid;background-color:transparent;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">No</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="border-right:#ece9d8;border-top:#ece9d8;border-left:#ece9d8;border-bottom:windowtext 2.25pt solid;background-color:transparent;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Yes</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="border-right:#ece9d8;border-top:#ece9d8;border-left:#ece9d8;border-bottom:windowtext 2.25pt solid;background-color:transparent;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Yes</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="border-right:#ece9d8;border-top:#ece9d8;border-left:#ece9d8;border-bottom:windowtext 2.25pt solid;background-color:transparent;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Yes</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="border-right:#ece9d8;border-top:#ece9d8;border-left:#ece9d8;border-bottom:windowtext 2.25pt solid;background-color:transparent;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">No</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal" style="margin:0 0 12pt;"><span style="font-size:10pt;line-height:115%;font-family:&quot;" lang="EN-IN"><br />
Oracle 9i Database comes in three editions: Enterprise, Standard and Personal and requires the following software:</span></p>
<table class="MsoTableMediumShading2Accent3" style="border-collapse:collapse;" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="border-right:#ece9d8;border-top:windowtext 2.25pt solid;background:#9bbb59;border-left:#ece9d8;width:75pt;border-bottom:windowtext 2.25pt solid;padding:0 5.4pt;" width="100" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Platform</span><span style="font-size:small;"><span style="font-family:Calibri;"><span lang="EN-IN"> </span><strong></strong></span></span></p>
</td>
<td style="border-right:#ece9d8;border-top:windowtext 2.25pt solid;background:#9bbb59;border-left:#ece9d8;width:150pt;border-bottom:windowtext 2.25pt solid;padding:0 5.4pt;" width="200" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Operating System Version</span><span style="font-size:small;"><span style="font-family:Calibri;"><span lang="EN-IN"> </span><strong></strong></span></span></p>
</td>
<td style="border-right:#ece9d8;border-top:windowtext 2.25pt solid;background:#9bbb59;border-left:#ece9d8;width:225pt;border-bottom:windowtext 2.25pt solid;padding:0 5.4pt;" width="300" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Required Patches</span><span style="font-size:small;"><span style="font-family:Calibri;"><span lang="EN-IN"> </span><strong></strong></span></span></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Windows-based</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Windows NT 4.0</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Service Pack 5</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Windows-based</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Windows 2000</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Service Pack 1</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Windows-based</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Windows XP</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Not Necessary</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">AIX-Based</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">AIX 4.3.3</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Maintenance Level 09 and IY24568,<br />
IY25282, IY27614, IY30151</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">AIX-Based</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">AIX 5.1</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">AIX 5L release 5.1 ML01+ (IY22854),<br />
IY26778, IY28766, IY28949, IY29965, IY30150</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Compaq Tru64 UNIX</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Tru64 5.1</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">5.1 patchkit 4</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Compaq Tru64 UNIX</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Tru64 5.1A</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">5.1A patchkit 1</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">HP-UX</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">HP-UX version 11.0 (64-bit)</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Sept. 2001 Quality Pack, PHCO_23792,<br />
PHCO_24148, PHKL_24268, PHKL_24729,<br />
PHKL_ 25475, PHKL_25525, PHNE_24715,<br />
PHSS_23670, PHSS_24301, PHSS_24303,<br />
PHSS_24627, PHSS_22868 </span></strong></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Linux</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">SuSE Linux Enterprise Server 7<br />
(or SLES-7) with kernel 2.4.7,<br />
and glibc 2.2.2</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Not Necessary</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Sun Solaris</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Solaris 32-Bit 2.6 (5.6), 7 (5.7)<br />
or 8 (5.8)</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Not Necessary</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
<tr>
<td style="border-right:#ece9d8;border-top:#ece9d8;background:#9bbb59;border-left:#ece9d8;border-bottom:windowtext 2.25pt solid;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Sun Solaris</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="border-right:#ece9d8;border-top:#ece9d8;background:#d8d8d8;border-left:#ece9d8;border-bottom:windowtext 2.25pt solid;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Solaris 64-Bit 8 (5.8)</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="border-right:#ece9d8;border-top:#ece9d8;background:#d8d8d8;border-left:#ece9d8;border-bottom:windowtext 2.25pt solid;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Update 5 </span></strong></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;line-height:115%;font-family:&quot;" lang="EN-IN"> </span></p>
<h2 style="margin:auto 0;"><a name="part_3"></a><span style="color:windowtext;"><span style="font-size:large;"><span style="font-family:Verdana;">Performance comparison</span></span></span></h2>
<p class="MsoNormal" style="margin:0 0 12pt;"><span style="font-size:10pt;line-height:115%;font-family:&quot;" lang="EN-IN">It is very difficult to make the performance comparison between SQL Server 2000 and Oracle 9i Database. The performance of your databases depends rather from the experience of the database developers and database administrator than from the database&#8217;s provider. You can use both of these RDBMS to build stable and efficient system. However, it is possible to define the typical transactions, which used in inventory control systems, airline reservation systems and banking systems. After defining these typical transactions, it is possible to run them under the different database management systems working on the different hardware and software platforms.</span></p>
<h2 style="margin:auto 0;"><a name="part_3_1"></a><span style="color:windowtext;"><span style="font-size:large;"><span style="font-family:Verdana;">TPC tests</span></span></span></h2>
<p class="MsoNormal" style="margin:0 0 12pt;">
<div class="MsoNormal" style="margin:0 0 12pt;"><span style="font-size:10pt;line-height:115%;font-family:&quot;" lang="EN-IN">The Transaction Processing Performance Council (<span style="color:windowtext;font-family:&quot;">TPC.Org</span>) is independent organization that specifies the typical transactions (transactions used in inventory control systems, airline reservation systems and banking systems) and some general rules these transactions should satisfy.</span></div>
<p><span style="font-size:10pt;line-height:115%;font-family:&quot;" lang="EN-IN">The TPC produces benchmarks that measure transaction processing and database performance in terms of how many transactions a given system and database can perform per unit of time, e.g., transactions per second or transactions per minute.</p>
<p>The TPC organization made the specification for many tests. There are TPC-C, TPC-H, TPC-R, TPC-W and some old tests, such as TPC-A, TPC-B and TPC-D. The most popular test is the <span style="color:windowtext;font-family:&quot;">TPC-C</span> test (OLTP test).</p>
<p><strong>Note.</strong> Because most organizations really do not run very large databases, so the key points on which SQL Server 2000 won the TPC-C benchmarks do not really matter to the vast majority of companies.</p>
<p></span></p>
<h2 style="margin:auto 0;"><a name="part_4"></a><span style="color:windowtext;"><span style="font-size:large;"><span style="font-family:Verdana;">Price comparison</span></span></span></h2>
</p>
<p class="MsoNormal" style="margin:0 0 12pt;">
<div class="MsoNormal" style="margin:0 0 12pt;"><span style="font-size:10pt;line-height:115%;font-family:&quot;" lang="EN-IN">One of the main Microsoft SQL Server 2000 advantage in comparison with Oracle 9i Database is that SQL Server is cheaper. Other SQL Server advantage is that Microsoft includes the Online analytical processing (OLAP) and Data Mining as standard features in SQL Server 2000 Enterprise Edition. So, you can save up to four times with SQL Server 2000 Enterprise Edition if you use OLAP and Data Mining.</span></div>
<p><span style="font-size:10pt;line-height:115%;font-family:&quot;" lang="EN-IN">Compare pricing for SQL Server 2000 Standard Edition and Oracle9i Standard Edition:</p>
<p></span></p>
<table class="MsoTableMediumShading2Accent3" style="border-collapse:collapse;" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="border-right:#ece9d8;border-top:windowtext 2.25pt solid;background:#9bbb59;border-left:#ece9d8;width:75pt;border-bottom:windowtext 2.25pt solid;padding:0 5.4pt;" width="100" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Number of CPUs</span><span style="font-size:small;"><span style="font-family:Calibri;"><span lang="EN-IN"> </span><strong></strong></span></span></p>
</td>
<td style="border-right:#ece9d8;border-top:windowtext 2.25pt solid;background:#9bbb59;border-left:#ece9d8;width:112.5pt;border-bottom:windowtext 2.25pt solid;padding:0 5.4pt;" width="150" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Oracle9i Standard Edition</span><span style="font-size:small;"><span style="font-family:Calibri;"><span lang="EN-IN"> </span><strong></strong></span></span></p>
</td>
<td style="border-right:#ece9d8;border-top:windowtext 2.25pt solid;background:#9bbb59;border-left:#ece9d8;width:112.5pt;border-bottom:windowtext 2.25pt solid;padding:0 5.4pt;" width="150" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">SQL Server 2000 Standard Edition</span><span style="font-size:small;"><span style="font-family:Calibri;"><span lang="EN-IN"> </span><strong></strong></span></span></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">1</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">$15,000</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">$4,999</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">2</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">$30,000</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">$9,998</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">4</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">$60,000</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">$19,996</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">8</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">$120,000</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">$39,992</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">16</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">$240,000</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">$79,984</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
<tr>
<td style="border-right:#ece9d8;border-top:#ece9d8;background:#9bbb59;border-left:#ece9d8;border-bottom:windowtext 2.25pt solid;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">32</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="border-right:#ece9d8;border-top:#ece9d8;border-left:#ece9d8;border-bottom:windowtext 2.25pt solid;background-color:transparent;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">$480,000</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="border-right:#ece9d8;border-top:#ece9d8;border-left:#ece9d8;border-bottom:windowtext 2.25pt solid;background-color:transparent;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">$159,968</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal" style="margin:0 0 12pt;"><span style="font-size:10pt;line-height:115%;font-family:&quot;" lang="EN-IN"><br />
Compare pricing for SQL Server 2000 Enterprise Edition (which include OLAP and Data Mining) and Oracle9i Enterprise Edition with OLAP and/or Data Mining:</span></p>
<table class="MsoTableMediumShading2Accent3" style="border-collapse:collapse;" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="border-right:#ece9d8;border-top:windowtext 2.25pt solid;background:#9bbb59;border-left:#ece9d8;width:75pt;border-bottom:windowtext 2.25pt solid;padding:0 5.4pt;" width="100" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Number of CPUs</span><span style="font-size:small;"><span style="font-family:Calibri;"><span lang="EN-IN"> </span><strong></strong></span></span></p>
</td>
<td style="border-right:#ece9d8;border-top:windowtext 2.25pt solid;background:#9bbb59;border-left:#ece9d8;width:75pt;border-bottom:windowtext 2.25pt solid;padding:0 5.4pt;" width="100" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Oracle9i Enterprise Edition</span><span style="font-size:small;"><span style="font-family:Calibri;"><span lang="EN-IN"> </span><strong></strong></span></span></p>
</td>
<td style="border-right:#ece9d8;border-top:windowtext 2.25pt solid;background:#9bbb59;border-left:#ece9d8;width:112.5pt;border-bottom:windowtext 2.25pt solid;padding:0 5.4pt;" width="150" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Oracle9i Enterprise Edition with OLAP or Data Mining</span><span style="font-size:small;"><span style="font-family:Calibri;"><span lang="EN-IN"> </span><strong></strong></span></span></p>
</td>
<td style="border-right:#ece9d8;border-top:windowtext 2.25pt solid;background:#9bbb59;border-left:#ece9d8;width:112.5pt;border-bottom:windowtext 2.25pt solid;padding:0 5.4pt;" width="150" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Oracle9i Enterprise Edition With OLAP and Data Mining</span><span style="font-size:small;"><span style="font-family:Calibri;"><span lang="EN-IN"> </span><strong></strong></span></span></p>
</td>
<td style="border-right:#ece9d8;border-top:windowtext 2.25pt solid;background:#9bbb59;border-left:#ece9d8;width:75pt;border-bottom:windowtext 2.25pt solid;padding:0 5.4pt;" width="100" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">SQL Server 2000 Enterprise Edition</span><span style="font-size:small;"><span style="font-family:Calibri;"><span lang="EN-IN"> </span><strong></strong></span></span></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">1</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">$40,000</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">$60,000</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">$80,000</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">$19,999</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">2</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">$80,000</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">$120,000</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">$160,000</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">$39,998</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">4</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">$160,000</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">$240,000</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">$320,000</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">$79,996</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">8</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">$320,000</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">$480,000</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">$640,000</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">$159,992</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">16</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">$640,000</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">$960,000</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">$1,280,000</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">$319,984</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
<tr>
<td style="border-right:#ece9d8;border-top:#ece9d8;background:#9bbb59;border-left:#ece9d8;border-bottom:windowtext 2.25pt solid;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">32</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="border-right:#ece9d8;border-top:#ece9d8;border-left:#ece9d8;border-bottom:windowtext 2.25pt solid;background-color:transparent;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">$1,280,000</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="border-right:#ece9d8;border-top:#ece9d8;border-left:#ece9d8;border-bottom:windowtext 2.25pt solid;background-color:transparent;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">$1,920,000</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="border-right:#ece9d8;border-top:#ece9d8;border-left:#ece9d8;border-bottom:windowtext 2.25pt solid;background-color:transparent;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">$2,560,000</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="border-right:#ece9d8;border-top:#ece9d8;border-left:#ece9d8;border-bottom:windowtext 2.25pt solid;background-color:transparent;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">$639,968</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal" style="margin:0 0 12pt;"><span style="font-size:10pt;line-height:115%;font-family:&quot;" lang="EN-IN"><br />
<strong>Note.</strong> This is not a full price comparison between SQL Server 2000 and Oracle 9i Database. It is only a brief comparison. You can have any discounts and the prices can be increased or decreased in the future. See Microsoft and Oracle to get more information about the price of their products.</span></p>
<h2 style="margin:auto 0;"><a name="part_5"></a><span style="color:windowtext;"><span style="font-size:large;"><span style="font-family:Verdana;">Features comparison</span></span></span></h2>
</p>
<p class="MsoNormal" style="margin:0 0 12pt;"><span style="font-size:10pt;line-height:115%;font-family:&quot;" lang="EN-IN">Both SQL Server 2000 and Oracle 9i Database support the ANSI SQL-92 entry level and do not support the ANSI SQL-92 intermediate level. In the <strong>Features comparison</strong> section of this article I want to make the brief comparison of the Transact-SQL with PL/SQL and show some SQL Server 2000 and Oracle 9i Database limits.</span></p>
<h2 style="margin:auto 0;"><a name="part_5_1"></a><span style="color:windowtext;"><span style="font-size:large;"><span style="font-family:Verdana;">T-SQL vs PL/SQL</span></span></span></h2>
<p class="MsoNormal" style="margin:0 0 12pt;"><span style="font-size:10pt;line-height:115%;font-family:&quot;" lang="EN-IN">The dialect of SQL supported by Microsoft SQL Server 2000 is called Transact-SQL (T-SQL). The dialect of SQL supported by Oracle 9i Database is called PL/SQL. PL/SQL is more powerful language than T-SQL. This is the brief comparison of PL/SQL and T-SQL:</span></p>
<table class="MsoTableMediumShading2Accent3" style="border-collapse:collapse;" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="border-right:#ece9d8;border-top:windowtext 2.25pt solid;background:#9bbb59;border-left:#ece9d8;width:112.5pt;border-bottom:windowtext 2.25pt solid;padding:0 5.4pt;" width="150" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Feature</span><span style="font-size:small;"><span style="font-family:Calibri;"><span lang="EN-IN"> </span><strong></strong></span></span></p>
</td>
<td style="border-right:#ece9d8;border-top:windowtext 2.25pt solid;background:#9bbb59;border-left:#ece9d8;width:150pt;border-bottom:windowtext 2.25pt solid;padding:0 5.4pt;" width="200" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">PL/SQL</span><span style="font-size:small;"><span style="font-family:Calibri;"><span lang="EN-IN"> </span><strong></strong></span></span></p>
</td>
<td style="border-right:#ece9d8;border-top:windowtext 2.25pt solid;background:#9bbb59;border-left:#ece9d8;width:150pt;border-bottom:windowtext 2.25pt solid;padding:0 5.4pt;" width="200" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">T-SQL</span><span style="font-size:small;"><span style="font-family:Calibri;"><span lang="EN-IN"> </span><strong></strong></span></span></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Indexes</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">B-Tree indexes,<br />
Bitmap indexes,<br />
Partitioned indexes,<br />
Function-based indexes,<br />
Domain indexes</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">B-Tree indexes</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Tables</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Relational tables,<br />
Object tables,<br />
Temporary tables,<br />
Partitioned tables,<br />
External tables,<br />
Index organized tables</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Relational tables,<br />
Temporary tables</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Triggers</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">BEFORE triggers,<br />
AFTER triggers,<br />
INSTEAD OF triggers,<br />
Database Event triggers</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">AFTER triggers,<br />
INSTEAD OF triggers</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Procedures</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">PL/SQL statements,<br />
Java methods,<br />
third-generation language<br />
(3GL) routines</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">T-SQL statements</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
<tr>
<td style="border-right:#ece9d8;border-top:#ece9d8;background:#9bbb59;border-left:#ece9d8;border-bottom:windowtext 2.25pt solid;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Arrays</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="border-right:#ece9d8;border-top:#ece9d8;background:#d8d8d8;border-left:#ece9d8;border-bottom:windowtext 2.25pt solid;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Supported</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="border-right:#ece9d8;border-top:#ece9d8;background:#d8d8d8;border-left:#ece9d8;border-bottom:windowtext 2.25pt solid;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Not Supported</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal" style="margin:0;"><span style="font-size:10pt;line-height:115%;font-family:&quot;" lang="EN-IN"> </span></p>
<h2 style="margin:auto 0;"><a name="part_5_2"></a><span style="color:windowtext;"><span style="font-size:large;"><span style="font-family:Verdana;">SQL Server 2000 and Oracle 9i limits</span></span></span></h2>
<p class="MsoNormal" style="margin:0 0 12pt;"><span style="font-size:10pt;line-height:115%;font-family:&quot;" lang="EN-IN">Here you can find some SQL Server 2000 and Oracle 9i Database limits:</span></p>
<table class="MsoTableMediumShading2Accent3" style="border-collapse:collapse;" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="border-right:#ece9d8;border-top:windowtext 2.25pt solid;background:#9bbb59;border-left:#ece9d8;width:150pt;border-bottom:windowtext 2.25pt solid;padding:0 5.4pt;" width="200" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Feature</span><span style="font-size:small;"><span style="font-family:Calibri;"><span lang="EN-IN"> </span><strong></strong></span></span></p>
</td>
<td style="border-right:#ece9d8;border-top:windowtext 2.25pt solid;background:#9bbb59;border-left:#ece9d8;width:112.5pt;border-bottom:windowtext 2.25pt solid;padding:0 5.4pt;" width="150" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">SQL Server 2000</span><span style="font-size:small;"><span style="font-family:Calibri;"><span lang="EN-IN"> </span><strong></strong></span></span></p>
</td>
<td style="border-right:#ece9d8;border-top:windowtext 2.25pt solid;background:#9bbb59;border-left:#ece9d8;width:112.5pt;border-bottom:windowtext 2.25pt solid;padding:0 5.4pt;" width="150" valign="top">
<p class="MsoNormal" style="line-height:normal;text-align:center;margin:0;" align="center"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Oracle 9i Database</span><span style="font-size:small;"><span style="font-family:Calibri;"><span lang="EN-IN"> </span><strong></strong></span></span></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">database name length</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">128</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">8</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">column name length</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">128</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">30</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">index name length</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">128</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">30</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">table name length</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">128</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">30</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">view name length</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">128</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">30</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">stored procedure name length</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">128</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">30</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">max columns per index</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">16</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">32</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">max char() size</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">8000</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">2000</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">max varchar() size</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">8000</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">4000</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">max columns per table</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">1024</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">1000</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">max table row length</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">8036</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">255000</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">max query size</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">16777216</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">16777216</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">recursive subqueries</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">40</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background:#d8d8d8;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">64</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
<tr>
<td style="background:#9bbb59;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">constant string size in SELECT</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">16777207</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="background-color:transparent;border:#ece9d8;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">4000</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
<tr>
<td style="border-right:#ece9d8;border-top:#ece9d8;background:#9bbb59;border-left:#ece9d8;border-bottom:windowtext 2.25pt solid;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">constant string size in WHERE</span><strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></strong></p>
</td>
<td style="border-right:#ece9d8;border-top:#ece9d8;background:#d8d8d8;border-left:#ece9d8;border-bottom:windowtext 2.25pt solid;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">8000</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
<td style="border-right:#ece9d8;border-top:#ece9d8;background:#d8d8d8;border-left:#ece9d8;border-bottom:windowtext 2.25pt solid;padding:0 5.4pt;" valign="top">
<p class="MsoNormal" style="line-height:normal;margin:0;"><strong><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">4000</span></strong><span style="font-size:8pt;font-family:&quot;" lang="EN-IN"> </span></p>
</td>
</tr>
</tbody>
</table>
<p> </p>
<h2 style="margin:auto 0;"><span style="color:windowtext;"><span style="font-size:large;"><span style="font-family:Verdana;">Conclusion</span></span></span></h2>
<p class="MsoNormal" style="margin:0 0 12pt;">
<div class="MsoNormal" style="margin:0 0 12pt;"><span style="font-size:10pt;color:black;line-height:115%;font-family:&quot;" lang="EN-IN">It is not true that SQL Server 2000 is better than Oracle 9i or vice versa. Both products can be used to build stable and efficient system and the stability and effectiveness of your applications and databases depend rather from the experience of the database developers and database administrator than from the database&#8217;s provider. But SQL Server 2000 has some advantages in comparison with Oracle 9i and vice versa.</span></div>
<p><span style="font-size:10pt;color:black;line-height:115%;font-family:&quot;" lang="EN-IN">The SQL Server 2000 advantages:</p>
<p></span></p>
<ul type="disc">
<li class="MsoNormal"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">SQL Server 2000 is cheaper to buy than Oracle 9i Database. </span></li>
<li class="MsoNormal"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">SQL Server 2000 holds the top TPC-C performance and price/performance results. </span></li>
<li class="MsoNormal"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">SQL Server 2000 is generally accepted as easier to install, use and manage. </span></li>
</ul>
<p class="MsoNormal" style="margin:0 0 12pt;"><span style="font-size:10pt;color:black;line-height:115%;font-family:&quot;" lang="EN-IN">The Oracle 9i Database advantages:</span></p>
<ul type="disc">
<li class="MsoNormal"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">Oracle 9i Database supports all known platforms, not only the Windows-based platforms. </span></li>
<li class="MsoNormal"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">PL/SQL is more powerful language than T-SQL. </span></li>
<li class="MsoNormal"><span style="font-size:10pt;font-family:&quot;" lang="EN-IN">More fine-tuning to the configuration can be done via start-up parameters. </span></li>
</ul>
<p class="MsoNormal" style="margin:0 0 10pt;"><span lang="EN-IN"><span style="font-size:small;font-family:Calibri;"><strong> </strong></span></span><span style="font-size:10pt;line-height:115%;font-family:&quot;" lang="EN-IN"><span style="font-size:large;color:#0000ff;"><strong>References</strong></span></span></p>
<p class="MsoNormal" style="margin:0;">
<div class="MsoNormal" style="margin:0;"><span style="font-size:10pt;color:black;line-height:115%;font-family:&quot;" lang="EN-IN">1. SQL Server 2000 Books Online</span></div>
<p><span style="font-size:10pt;color:black;line-height:115%;font-family:&quot;" lang="EN-IN">2. <a href="http://docs.oracle.com/"><span style="font-family:&quot;">Oracle documentation</span></a></p>
<p>3. <a href="http://www.microsoft.com/sql/evaluation/compare/pricecomparison.asp" target="_blank"><span style="font-family:&quot;">Oracle and SQL Server 2000 Price Comparison</span></a></p>
<p>4. <a href="http://www.mssqlserver.com/faq/general-sqlvsoracle.asp" target="_blank"><span style="font-family:&quot;">Why is SQL Server better/worse than Oracle?</span></a></p>
<p>5. <a href="http://www.tpc.org/tpcc/results/tpcc_perf_results.asp" target="_blank"><span style="font-family:&quot;">Top Ten TPC-C by Performance Version 5 Results</span></a></p>
<p>6. <a href="http://www.tpc.org/tpcc/results/tpcc_price_perf_results.asp" target="_blank"><span style="font-family:&quot;">Top Ten TPC-C by Price/Performance Version 5 Results</span></a></p>
<p></span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sikanderjeet.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sikanderjeet.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sikanderjeet.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sikanderjeet.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sikanderjeet.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sikanderjeet.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sikanderjeet.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sikanderjeet.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sikanderjeet.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sikanderjeet.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sikanderjeet.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sikanderjeet.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sikanderjeet.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sikanderjeet.wordpress.com/71/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sikanderjeet.wordpress.com&amp;blog=6935670&amp;post=71&amp;subd=sikanderjeet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sikanderjeet.wordpress.com/2009/04/16/comparison-between-oracle9i-and-sql-server2000/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f159da882f4f3c5366ab964516c15ec4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sikanderjeet</media:title>
		</media:content>
	</item>
		<item>
		<title>STORAGE STRUCTURE OF ORACLE</title>
		<link>http://sikanderjeet.wordpress.com/2009/04/03/storage-structure-of-oracle/</link>
		<comments>http://sikanderjeet.wordpress.com/2009/04/03/storage-structure-of-oracle/#comments</comments>
		<pubDate>Fri, 03 Apr 2009 00:23:39 +0000</pubDate>
		<dc:creator>sikanderjeet</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://sikanderjeet.wordpress.com/?p=63</guid>
		<description><![CDATA[  Segment Types  Objects in an Oracle database such as tables, indexes, clusters, sequences, etc., are comprised of segments.  There are several different types of segments.  Table:  Data is stored in tables.  When a table is created with the CREATE TABLE command, a table segment is allocated to the new object. ·         Table segments do [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sikanderjeet.wordpress.com&amp;blog=6935670&amp;post=63&amp;subd=sikanderjeet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;"> </span></span></p>
<p class="MsoNormal" style="text-align:justify;"><strong><span style="text-decoration:underline;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">Segment Types</span></span></span></strong></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;"> </span></span><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">Objects in an Oracle database such as tables, indexes, clusters, sequences, etc., are comprised of segments.  There are several different types of segments.</span></span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;"> </span></span><span style="color:#000000;"><strong><span style="text-decoration:underline;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US">Table</span></span></strong><span style="font-size:12pt;font-family:&quot;" lang="EN-US">:  Data is stored in tables.  When a table is created with the CREATE TABLE command, a table segment is allocated to the new object. </span></span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="color:#000000;"><span style="font-size:12pt;font-family:Symbol;" lang="EN-US">·<span style="font:7pt &quot;">         </span></span><span style="font-size:12pt;font-family:&quot;" lang="EN-US">Table segments do not store table rows in any particular order.</span></span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="color:#000000;"><span style="font-size:12pt;font-family:Symbol;" lang="EN-US">·<span style="font:7pt &quot;">         </span></span><span style="font-size:12pt;font-family:&quot;" lang="EN-US">Table segments do not store data that is clustered or partitioned.</span></span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="color:#000000;"><span style="font-size:12pt;font-family:Symbol;" lang="EN-US">·<span style="font:7pt &quot;">         </span></span><span style="font-size:12pt;font-family:&quot;" lang="EN-US">The DBA has almost no control over the location of rows in a table.</span></span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="color:#000000;"><span style="font-size:12pt;font-family:Symbol;" lang="EN-US">·<span style="font:7pt &quot;">         </span></span><span style="font-size:12pt;font-family:&quot;" lang="EN-US">The segment belongs to a single tablespace.</span></span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;"> </span></span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="color:#000000;"><strong><span style="text-decoration:underline;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US">Table Partition</span></span></strong><span style="font-size:12pt;font-family:&quot;" lang="EN-US">:  If a table has high concurrent usage, that is simultaneous access by many different system users as would be the case for a SALES_ORDER table in an online-transaction processing environment, you will be concerned with scalability and availability of information as the DBA.  This may lead you to create a table that is partitioned into more than one <strong>table partition</strong> segment.</span></span></p>
<ul style="margin-top:0;text-align:justify;" type="disc">
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">A partitioned table has a separate segment for each partition.</span></span></li>
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">Each partition may reside in a different tablespace.</span></span></li>
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">Each partition may have different storage parameters.</span></span></li>
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">The Oracle Enterprise Edition must have the partitioning option installed in order to create a partitioned table.</span></span></li>
</ul>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;"> </span></span><span style="color:#000000;"><strong><span style="text-decoration:underline;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US">Cluster</span></span></strong><span style="font-size:12pt;font-family:&quot;" lang="EN-US">:  Rows in a cluster segment are stored based on key value columns.  Clustering is sometimes used where two tables are related in a strong-weak entity relationship.</span></span></p>
<ul style="margin-top:0;text-align:justify;" type="disc">
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">A cluster may contain rows from two or more tables.</span></span></li>
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">All of the tables in a cluster belong to the same segment and have the same storage parameters.</span></span></li>
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">Clustered table rows can be accessed by either a hashing algorithm or by indexing.</span></span></li>
</ul>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;"> </span></span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="color:#000000;"><strong><span style="text-decoration:underline;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US">Index</span></span></strong><span style="font-size:12pt;font-family:&quot;" lang="EN-US">:  When an index is created as part of the CREATE TABLE or CREATE INDEX command, an index segment is created.  </span></span></p>
<ul style="margin-top:0;text-align:justify;" type="disc">
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">Tables may have more than one index, and each index has its own segment.</span></span></li>
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">Each index segment has a single purpose – to speed up the process of locating rows in a table or cluster.</span></span></li>
</ul>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;"> </span></span><span style="color:#000000;"><strong><span style="text-decoration:underline;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US">Index-Organized Table</span></span></strong><span style="font-size:12pt;font-family:&quot;" lang="EN-US">:  This special type of table has data stored within the index based on primary key values.  All data is retrievable directly from the index structure (a tree structure).</span></span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;"> </span></span><span style="color:#000000;"><strong><span style="text-decoration:underline;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US">Index Partition</span></span></strong><span style="font-size:12pt;font-family:&quot;" lang="EN-US">:  Just as a table can be partitioned, so can an index.  The purpose of using a partitioned index is to minimize contention for the I/O path by spreading index input-output across more than one I/O path.</span></span></p>
<ul style="margin-top:0;text-align:justify;" type="disc">
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">Each partition can be in a different tablespace.</span></span></li>
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">The partitioning option of Oracle Enterprise Edition must be installed.</span></span></li>
</ul>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;"> </span></span><span style="color:#000000;"><strong><span style="text-decoration:underline;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US">Undo</span></span></strong><span style="font-size:12pt;font-family:&quot;" lang="EN-US">:  An undo segment is used to store &#8220;before images&#8221; of data or index blocks prior to changes being made during transaction processing.  This allows a rollback using the before image information.</span></span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;"> </span></span><span style="color:#000000;"><strong><span style="text-decoration:underline;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US">Temporary</span></span></strong><span style="font-size:12pt;font-family:&quot;" lang="EN-US">:  Temporary segments are created when commands such as CREATE INDEX, SELECT DISTINCT, GROUP BY, and ORDER BY clauses cause Oracle to perform memory sorts of information.  Often sort actions require more memory than is available.  When this occurs, intermediate results of sort actions are written to disk so that the sort operation can continue – this allows information to swap in and out of memory by writing/reading to/from disk.  Temporary segments store intermediate sort results.</span></span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;"> </span></span><span style="color:#000000;"><strong><span style="text-decoration:underline;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US">LOB</span></span></strong><span style="font-size:12pt;font-family:&quot;" lang="EN-US">:  Large objects can be stored as one or more columns in a table.  Large objects (LOBs) include images, separate text documents, video, sound files, etc.  </span></span></p>
<ul style="margin-top:0;text-align:justify;" type="disc">
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">These LOBs are not stored in the table – they are stored as separate segment objects.</span></span></li>
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">The table with the column actually has a &#8220;pointer&#8221; value stored in the column that points to the location of the LOB.</span></span></li>
</ul>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;"> </span></span><span style="color:#000000;"><strong><span style="text-decoration:underline;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US">Nested Table</span></span></strong><span style="font-size:12pt;font-family:&quot;" lang="EN-US">:  A column in one table may consist of another table definition.  The inner table is called a &#8220;nested table&#8221; and is stored as a separate segment.  This would be done for a SALES_ORDER table that has the SALES_DETAILS (order line rows) stored as a nested table.  </span></span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;"> </span></span><span style="color:#000000;"><strong><span style="text-decoration:underline;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US">Bootstrap Segment</span></span></strong><span style="font-size:12pt;font-family:&quot;" lang="EN-US">:  This is a special cache segment created by the sql.bsq script that runs when a database is created.  </span></span></p>
<ul style="margin-top:0;text-align:justify;" type="disc">
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">It stores initial data dictionary cache information when a database is opened.</span></span></li>
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">This segment cannot be queried or updated and requires no DBA maintenance.</span></span></li>
</ul>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;"> </span></span><strong><span style="text-decoration:underline;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">Storage Clauses/Parameters</span></span></span></strong></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;"> </span></span><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">When database objects are created, the object always has a set of storage parameters.  This figure shows three ways that an object can obtain storage clause parameters.  </span></span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;"><img class="alignnone size-full wp-image-64" title="storage1" src="http://sikanderjeet.files.wordpress.com/2009/04/storage1.png?w=350&#038;h=168" alt="storage1" width="350" height="168" /></span></span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;"> </span></span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">Tablespaces have space managed depending on the type of tablespace:</span></span></p>
<ul style="margin-top:0;text-align:justify;" type="disc">
<li class="MsoNormal"><span style="color:#000000;"><strong><span style="font-size:12pt;font-family:&quot;" lang="EN-US">Locally Managed Tablespaces</span></strong><span style="font-size:12pt;font-family:&quot;" lang="EN-US"> – use <strong>bitmaps</strong> to track used and free space – Locally managed is the default for non-SYSTEM permanent tablespaces when the type of extent management is not specified at the time a tablespace is created.</span> </span>
<ul style="margin-top:0;" type="circle">
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">Tablespace extents for Locally Managed are either (1) Uniform specified with the <strong>UNIFORM</strong> clause or (2) variable extent sizes determined by the system with the <strong>AUTOALLOCATE</strong> clause.  </span></span>
<ul style="margin-top:0;" type="square">
<li class="MsoNormal"><span style="color:#000000;"><strong><span style="font-size:12pt;font-family:&quot;" lang="EN-US">Uniform</span></strong><span style="font-size:12pt;font-family:&quot;" lang="EN-US">: </span></span>
<ul style="margin-top:0;" type="disc">
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">Specify an extent size or use the 1MB default size.</span></span></li>
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">Each extent contains at least 5 database blocks.</span></span></li>
</ul>
</li>
<li class="MsoNormal"><span style="color:#000000;"><strong><span style="font-size:12pt;font-family:&quot;" lang="EN-US">System Managed</span></strong><span style="font-size:12pt;font-family:&quot;" lang="EN-US">:</span> </span>
<ul style="margin-top:0;" type="disc">
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">Oracle determines optimal size of additional extents with a minimum extent size of 64KB.</span></span></li>
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">With SEGMENT SPACE MANAGEMENT AUTO, the minimum extent size is 1MB if the Database Block size is 16K or larger.</span></span></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li class="MsoNormal"><span style="color:#000000;"><strong><span style="font-size:12pt;font-family:&quot;" lang="EN-US">Dictionary Managed Tablespaces</span></strong><span style="font-size:12pt;font-family:&quot;" lang="EN-US"> – data dictionary tables track space utilization.</span></span></li>
</ul>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;"> </span></span><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">Facts about storage parameters:</span></span></p>
<ul style="margin-top:0;text-align:justify;" type="disc">
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">Segment storage parameters can override the tablespace level defaults with the exception of two parameters.  You cannot override the <strong>MINIMUM EXTENT</strong> or <strong>UNIFORM SIZE</strong> tablespace parameters.</span></span></li>
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">If you do not specify segment storage parameters, then a segment will inherit the tablespace default parameters.</span></span></li>
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">If tablespace default storage parameters are not set, the Oracle server system default parameters are used.  </span></span></li>
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">Locally managed tablespaces cannot have the storage parameters INITIAL, NEXT, PCTINCREASE, and MINEXTENTS specified; however, these parameters can be specified at the segment level.  </span></span></li>
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">When storage parameters of a segment are modified, the modification only applies to extents that are allocated after the modification takes place.</span></span></li>
</ul>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;"> </span></span><strong><span style="text-decoration:underline;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">Extents</span></span></span></strong></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;"> </span></span><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">Extents are allocated in chunks that are not necessarily uniform in size, but the space allocated is contiguous on the disk drive as is shown in this figure.  When a database object such as a table grows, additional disk space is allocated to its segment of the tablespace in the form of an extent.</span></span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;"><img class="alignnone size-full wp-image-65" title="storage2" src="http://sikanderjeet.files.wordpress.com/2009/04/storage2.png?w=283&#038;h=189" alt="storage2" width="283" height="189" /></span></span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;"> </span></span><span style="color:#000000;"><strong><span style="text-decoration:underline;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US">Example of a CREATE TABLE Command </span></span></strong></span></p>
<ul style="margin-top:0;text-align:justify;" type="disc">
<li class="MsoNormal"><span style="color:#000000;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US">This shows the creation of a table named <strong>Orders</strong> in the <strong>Data01</strong> tablespace. </span><strong></strong></span></li>
<li class="MsoNormal"><span style="color:#000000;"><strong><span style="font-size:12pt;font-family:&quot;" lang="EN-US">Data01</span></strong><span style="font-size:12pt;font-family:&quot;" lang="EN-US"> is locally managed, but here the storage parameters specified override the storage parameters for the tablespace.<strong></strong></span></span></li>
</ul>
<p class="MsoNormal" style="text-align:justify;"><span><span style="color:#000000;"> </span><span style="color:#000000;">CREATE TABLE Orders (</span></span><span style="font-size:12pt;color:black;font-family:&quot;" lang="EN-US"><br />
<span style="color:#000000;">    Order_Id        NUMBER (3) PRIMARY KEY,<br />
    Order_Ddate     DATE DEFAULT (SYSDATE),<br />
    Ship_Date       DATE,<br />
    Client          VARCHAR(3) NOT NULL,<br />
    Amount_Due      NUMBER(10,2),<br />
    Amount_Paid     NUMBER(10,2))<br />
PCTFREE 5 PCTUSED 65<br />
STORAGE ( </span></span>
</p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">    INITIAL 1M </span></span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">    NEXT 48K </span></span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">    PCTINCREASE 5 </span></span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">    MINEXTENTS 1 </span></span></p>
<p class="MsoNormal" style="text-align:justify;">
<div class="MsoNormal" style="line-height:normal;text-align:justify;margin:0;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">    MAXEXTENTS UNLIMITED)<br />
TABLESPACE Data01;</span></span></div>
</p>
<p style="text-align:justify;">
<div style="text-align:justify;"><span style="font-size:12pt;color:black;font-family:&quot;" lang="EN-US"></span></div>
<p><span style="font-size:12pt;color:black;font-family:&quot;" lang="EN-US"> </p>
<p></span>
</p>
<p class="MsoNormal" style="text-align:justify;"><strong><span style="text-decoration:underline;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">Database Block</span></span></span></strong></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;"> </span></span><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">The <strong>Database Block </strong>or simply<strong> Data Block</strong>, as you have learned, is the smallest size unit for input/output from/to disk in an Oracle database.</span></span></p>
<ul style="margin-top:0;text-align:justify;" type="disc">
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">A data block may be equal to an operating system block in terms of size, or may be larger in size, and should be a multiple of the operating system block.</span></span></li>
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">The <strong>DB_BLOCK_SIZE</strong> parameter sets the size of a database&#8217;s standard blocks at the time that a Database is created.  However, Oracle actually supports the creation of databases that have more than one block size.  This is primarily done when you need to specify tablespaces with different block sizes in order to maximize I/O performance.  </span></span></li>
</ul>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;"> </span></span></p>
<ul style="margin-top:0;text-align:justify;" type="disc">
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">You&#8217;ve already learned that a database can have up to <strong>four</strong> <strong>nonstandard block sizes</strong> specified.  </span></span></li>
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">Block sizes must be sized as a power of two between 2K and 32K in size, e.g., 2K, 4K, 8K, 16K, or 32K.  </span></span></li>
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">A sub cache of the Database Buffer Cache is configured by Oracle for each nonstandard block size.  </span></span></li>
</ul>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;"> </span></span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="color:#000000;"><strong><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="text-decoration:underline;">Standard Block Size</span></span></strong><span style="font-size:12pt;font-family:&quot;" lang="EN-US">:  The <strong>DB_CACHE_SIZE</strong> parameter replaces the previous <strong>DB_BLOCK_BUFFERS</strong> parameter from Oracle 8i and previous RDBMS software releases.  This new parameter specifies the size of the <strong>Database Buffer Cache</strong>.  The minimum size for <strong>DB_CACHE_SIZE</strong> must be specified as follows:</span></span></p>
<ul style="margin-top:0;text-align:justify;" type="disc">
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">One granule where a granule is a unit of contiguous virtual memory allocation in RAM.  </span></span></li>
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">If the total System Global Area (<strong>SGA</strong>) based on SGA_MAX_SIZE is less than 128MB, then a granule is <strong>4MB</strong>.</span></span></li>
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">If the total SGA is greater than 128MB, then a granule is <strong>16MB</strong>.  </span></span></li>
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">The default value for DB_CACHE_SIZE is <strong>48MB</strong>.  </span></span></li>
</ul>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;"> </span></span><span style="color:#000000;"><strong><span style="text-decoration:underline;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US">Nonstandard Block Size</span></span></strong><span style="font-size:12pt;font-family:&quot;" lang="EN-US">:  If a DBA wishes to specify one or more nonstandard block sizes, the parameter following parameters are set.  If the operating system only supports block sizes up to a specified limit, for example, 16MB, then do not try to set block sizes greater than the operating system limit.  Additionally, do not use these parameters to set standard block sizes.  For example, if the standard block size is 4KB, do not use the DB_4K_CACHE_SIZE parameter.</span></span></p>
<ul style="margin-top:0;text-align:justify;" type="disc">
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">DB_2K_CACHE_SIZE   &#8212; parameter for 2KB nonstandard block sizes.</span></span></li>
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">DB_4K_CACHE_SIZE   &#8212; parameter for 4KB nonstandard block sizes.</span></span></li>
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">DB_8K_CACHE_SIZE   &#8212; parameter for 8KB nonstandard block sizes.</span></span></li>
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">DB_16K_CACHE_SIZE   &#8212; parameter for 16KB nonstandard block sizes.</span></span></li>
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">DB_32K_CACHE_SIZE   &#8212; parameter for 32KB nonstandard block sizes.</span></span></li>
</ul>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;"> </span></span></p>
<ul style="margin-top:0;text-align:justify;" type="disc">
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">Temporary tablespaces must be the standard block size.  This also applies to permanent tablespaces that have been specified as default temporary tablespaces for system users.</span></span></li>
</ul>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;"> </span></span></p>
<p class="MsoNormal" style="text-align:justify;"><strong><span style="text-decoration:underline;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">Data Block Contents</span></span></span></strong></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;"> </span></span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">This figure shows the components of a data block.  This is the structure regardless of the type of segment to which the block belongs.</span></span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;"><img class="alignnone size-full wp-image-66" title="storage3" src="http://sikanderjeet.files.wordpress.com/2009/04/storage3.png?w=382&#038;h=282" alt="storage3" width="382" height="282" /></span></span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="color:#000000;"><strong><span style="font-size:12pt;font-family:&quot;" lang="EN-US">Block header</span></strong><span style="font-size:12pt;font-family:&quot;" lang="EN-US"> – contains common and variable components including the block address, segment type, and transaction slot information.  </span></span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">The <strong>block header</strong> also includes the table directory and row directory.  </span></span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">On average, the fixed and variable portions of block overhead total 84 to 107 bytes.</span></span></p>
<ul style="text-align:justify;" type="disc">
<li class="MsoNormal"><span style="color:#000000;"><strong><span style="font-size:12pt;font-family:&quot;" lang="EN-US">Table Directory</span></strong><span style="font-size:12pt;font-family:&quot;" lang="EN-US"> – used to track the tables to which row data in the block belongs. </span></span>
<ul type="circle">
<li class="MsoNormal"><span style="color:#000000;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US">Data from more than one table may be in a single block if the data are clustered. </span></span></li>
<li class="MsoNormal"><span style="color:#000000;"><strong><span style="text-decoration:underline;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US">The Table Directory is only used if the data are clustered</span></span></strong><span style="font-size:12pt;font-family:&quot;" lang="EN-US">.</span></span></li>
</ul>
</li>
<li class="MsoNormal"><span style="color:#000000;"><strong><span style="font-size:12pt;font-family:&quot;" lang="EN-US">Row Directory</span></strong><span style="font-size:12pt;font-family:&quot;" lang="EN-US"> &#8211; used to track which rows from a table are in this block.  </span></span>
<ul type="circle">
<li class="MsoNormal"><span style="color:#000000;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US">The <strong>Row Directory</strong> includes for each row or row fragment in the row data area.</span></span></li>
<li class="MsoNormal"><span style="color:#000000;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US">When space is allocated in the <strong>Row Directory</strong> to store information about a row, this space is <strong><span style="text-decoration:underline;">not reclaimed</span></strong> upon deletion of a row, but is reclaimed when new rows are inserted into the block.</span></span></li>
<li class="MsoNormal"><span style="color:#000000;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US">A block can be empty of rows, but if it once contained rows, then data will be allocated in the <strong>Row Directory</strong> (2 bytes per row) for each row that ever existed in the block.</span></span></li>
</ul>
</li>
<li class="MsoNormal"><span style="color:#000000;"><strong><span style="font-size:12pt;font-family:&quot;" lang="EN-US">Transaction Slots</span></strong><span style="font-size:12pt;font-family:&quot;" lang="EN-US"> are space that is used when transactions are in progress that will modify rows in the block.  </span></span></li>
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">The block header grows from top down.</span></span></li>
<li class="MsoNormal"><span style="color:#000000;"><strong><span style="font-size:12pt;font-family:&quot;" lang="EN-US">Data space (Row Data)</span></strong><span style="font-size:12pt;font-family:&quot;" lang="EN-US"> – stores row data that is inserted from the bottom up.</span></span></li>
</ul>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;"> </span></span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="color:#000000;"><strong><span style="font-size:12pt;font-family:&quot;" lang="EN-US">Free space</span></strong><span style="font-size:12pt;font-family:&quot;" lang="EN-US"> in the middle of a block can be allocated to either the header or data space, and is contiguous when the block is first allocated. </span></span></p>
<ul style="margin-top:0;text-align:justify;" type="disc">
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">Free space is allocated to allow variable character and numeric data to expand and contract as data values in existing rows are modified.  </span></span></li>
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">New rows are also inserted into free space.  </span></span></li>
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">Free space may fragment as rows in the block are modified or deleted.  </span></span></li>
<li class="MsoNormal"><span style="color:#000000;"><strong><span style="font-size:12pt;font-family:&quot;" lang="EN-US">SMON</span></strong><span style="font-size:12pt;font-family:&quot;" lang="EN-US"> coalesces this free space periodically.</span></span></li>
</ul>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;"> </span></span><strong><span style="text-decoration:underline;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">Manual Data Block Free Space Management &#8212; Database Block Space Utilization Parameters</span></span></span></strong></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;"> </span></span><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">Manual data block management requires a DBA to specify how block space is used and when a block is available for new row insertions.  This is the default method for data block management for <strong>dictionary managed tablespace</strong> objects (another reason for using locally managed tablespaces with UNIFORM extents).  Database block space utilization parameters are used to control space allocation for data and index segments.  </span></span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;"> </span></span><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">The <strong>INITTRANS</strong> parameter specifies the initial number of <strong>transaction slots</strong> created when a database block is initially allocated to either a data or index segment.  These slots store information about the transactions that are making changes to the block at a given point in time.  The amount of space allocated for a transaction slot is <strong>23 bytes</strong>. If you set <strong>INITRANS</strong> to 2, then there are 46 bytes (2 * 23) pre-allocated in the header, etc.  These slots are in the <strong>database block header</strong>.</span></span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;"> </span></span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">The <strong>INITTRANS</strong> parameter specifies a minimum level of concurrent access.  The default is 1 for a data segment and 2 for an index segment.  If a DBA specifies <strong>INITTRANS</strong> at 4, for example, this means that 4 transactions can be concurrently making modifications to the database block.  Also, setting this to a figure that is larger than the default can eliminate the processing overhead that occurs whenever additional transaction slots have to be allocated to a block&#8217;s header when the number of concurrent transactions exceeds the <strong>INITTRANS</strong> parameter.</span></span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;"> </span></span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">The <strong>MAXTRANS</strong> parameter specifies the maximum number of concurrent transactions that can modify rows in a database block.  Surprisingly, the default maximum is 255.  This value is quite large.  This parameter is set to guarantee that there is sufficient space in the block to store data or index data.</span></span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;"> </span></span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="color:#000000;"><strong><span style="text-decoration:underline;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US">The PCTFREE and PCTUSED Parameters</span></span></strong></span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;"> </span></span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">You, as the DBA, must decide how much <strong>Free Space</strong> is needed for data blocks in manual management of data blocks.  </span></span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;"> </span></span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">You set the free space with the <strong>PCTFREE</strong> and <strong>PCTUSED</strong> parameters at the time that you create an object like a Table or Index.  </span></span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;"> </span></span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="color:#000000;"><strong><span style="text-decoration:underline;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US">PCTFREE</span></span></strong><span style="font-size:12pt;font-family:&quot;" lang="EN-US">:  The <strong>PCTFREE</strong> parameter is used at the time an object is created to set the percentage of usable block space to be reserved during row insertion for possible later updates to rows in the block.  </span></span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="color:#000000;"><strong><span style="text-decoration:underline;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US">PCTUSED</span></span></strong><span style="font-size:12pt;font-family:&quot;" lang="EN-US">:  The parameter <strong>PCTUSED</strong> is used to set the level at which a block can again be considered by Oracle for insertion of new rows.  It is like a low water mark whereas <strong>PCTFREE</strong> is a high water mark.</span></span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;"> </span></span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">Both <strong>PCTFREE</strong> and <strong>PCTUSED</strong> are calculated as percentages of the available data space – Oracle deducts the space allocated to the block header from the total block size when computing these parameters. </span></span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;"> </span></span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="color:#000000;"><strong><span style="text-decoration:underline;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US">Free lists</span></span></strong><span style="font-size:12pt;font-family:&quot;" lang="EN-US">:  When a segment is created, it is created with a <strong>Free List</strong> that is used to track the blocks allocated to the segment that are available for row insertions.  </span></span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;"> </span></span></p>
<p class="MsoNormal" style="text-align:justify;"><strong><span style="text-decoration:underline;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">Automatic Segment Space Management</span></span></span></strong></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;color:black;font-family:&quot;" lang="EN-US"><span style="color:#000000;"> </span></span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">Free space can be managed either automatically or manually.  <strong>Automatic segment space management</strong> was introduced with Oracle 9i.  It simplifies the management of the <strong>PCTUSED</strong>, <strong>FREELISTS</strong>, <strong>and FREELIST</strong> <strong>GROUPS</strong> parameters and generally provides better space utilization where objects may vary considerably in terms of row size.  This can also yield improved concurrent access handling for row insertions.  A restriction is that you cannot use this approach if a tablespace will contain <strong>LOBs</strong>.</span></span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;"> </span></span></p>
<p class="MsoNormal" style="text-align:justify;"><strong><span style="text-decoration:underline;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">Using the Data Dictionary to Manage Storage</span></span></span></strong></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;"> </span></span></p>
<p class="MsoNormal" style="text-align:justify;"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">Periodically you will need to obtain information from the data dictionary about storage parameter settings.  The following views are useful.</span></span></p>
<ul style="margin-top:0;text-align:justify;" type="disc">
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">DBA_EXTENTS – information on space allocation for segments.</span></span></li>
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">DBA_SEGMENTS – stores information on segments.</span></span></li>
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">DBA_TABLESPACES – a row is added when a tablespace is created.  </span></span></li>
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">DBA_DATA_FILES – a row is added for each datafile in the database.</span></span></li>
<li class="MsoNormal"><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><span style="color:#000000;">DBA_FREE_SPACE – shows the space in each datafile that is free.</span></span></li>
</ul>
<p style="text-align:justify;">
<div>
<p> </p></div>
</p>
<p style="text-align:justify;">
<div style="text-align:justify;"></div>
<p><span style="font-size:12pt;font-family:&quot;" lang="EN-US"></p>
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;line-height:115%;font-family:&quot;" lang="EN-IN"><span style="color:#000000;">  </span></span></p>
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;line-height:115%;font-family:&quot;" lang="EN-IN"><span style="color:#000000;">REFERENCES</span></span></p>
<p class="MsoNormal" style="color:black;line-height:normal;text-align:justify;margin:0;"><span style="font-size:11pt;line-height:115%;font-family:&quot;" lang="EN-IN"><a href="http://www.akadia.com/services/sqlsrv_data_structure.html" target="_blank"><span style="color:#000000;">http://www.akadia.com/services/sqlsrv_data_structure.html</span></a></span></p>
<p> </p>
<p> </p>
<p></span>
</p>
<p class="MsoNormal" style="text-align:justify;"><span style="color:#000000;"> </span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sikanderjeet.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sikanderjeet.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sikanderjeet.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sikanderjeet.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sikanderjeet.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sikanderjeet.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sikanderjeet.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sikanderjeet.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sikanderjeet.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sikanderjeet.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sikanderjeet.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sikanderjeet.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sikanderjeet.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sikanderjeet.wordpress.com/63/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sikanderjeet.wordpress.com&amp;blog=6935670&amp;post=63&amp;subd=sikanderjeet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sikanderjeet.wordpress.com/2009/04/03/storage-structure-of-oracle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f159da882f4f3c5366ab964516c15ec4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sikanderjeet</media:title>
		</media:content>

		<media:content url="http://sikanderjeet.files.wordpress.com/2009/04/storage1.png" medium="image">
			<media:title type="html">storage1</media:title>
		</media:content>

		<media:content url="http://sikanderjeet.files.wordpress.com/2009/04/storage2.png" medium="image">
			<media:title type="html">storage2</media:title>
		</media:content>

		<media:content url="http://sikanderjeet.files.wordpress.com/2009/04/storage3.png" medium="image">
			<media:title type="html">storage3</media:title>
		</media:content>
	</item>
		<item>
		<title>Datatypes usedin Oracle9i and SQL Server2005</title>
		<link>http://sikanderjeet.wordpress.com/2009/03/29/datatypes-of-oracle9i-and-sql-server2005/</link>
		<comments>http://sikanderjeet.wordpress.com/2009/03/29/datatypes-of-oracle9i-and-sql-server2005/#comments</comments>
		<pubDate>Sun, 29 Mar 2009 16:13:25 +0000</pubDate>
		<dc:creator>sikanderjeet</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://sikanderjeet.wordpress.com/?p=55</guid>
		<description><![CDATA[Datatypes Used in Oracle 9i     Character Strings CHAR (size) – A fixed-sized field of characters. The largest this particular datatype can become is 2000 bytes. In other words, it can only hold 2000 characters. If you don’t specify the length of the CHAR datatype, the default size is a single character (i.e. 1 byte). [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sikanderjeet.wordpress.com&amp;blog=6935670&amp;post=55&amp;subd=sikanderjeet&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h1 style="margin:24pt 0 0;"><span style="color:#365f91;"><span style="font-size:16pt;line-height:115%;font-family:&quot;">Datatypes Used in Oracle 9i</span></span></h1>
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:small;font-family:Calibri;"> </span></p>
<p> </p>
<p style="text-align:justify;"><span style="font-size:small;"><strong><span style="color:black;font-family:&quot;">Character Strings</span></strong></span></p>
<ul type="disc">
<li class="MsoNormal"><span style="font-family:Calibri;"><strong><span><span style="font-size:12pt;color:windowtext;">CHAR (size)</span></span></strong><span style="font-size:12pt;color:windowtext;"><span> – A fixed-sized field of characters. The largest this particular datatype can become is 2000 bytes. In other words, it can only hold 2000 characters. If you don’t specify the length of the CHAR datatype, the default size is a single character (i.e. 1 byte).</span></span></span></li>
</ul>
<ul type="disc">
<li class="MsoNormal"><span style="font-family:Calibri;"><strong><span><span style="font-size:12pt;">NCHAR (size)</span></span></strong><span style="font-size:12pt;"><span> – A fixed-sized field of characters, where the character set is determined by its definition. So, the maximum size is 2000 bytes per row or 2000 characters. This handles multibyte character sets.</span></span></span></li>
</ul>
<ul type="disc">
<li class="MsoNormal"><span style="font-family:Calibri;"><strong><span><span style="font-size:12pt;">VARCHAR2 (size)</span></span></strong><span style="font-size:12pt;"><span> – A variable-sized field of characters. The largest this datatype can become is 4000 characters.</span></span></span></li>
</ul>
<ul type="disc">
<li class="MsoNormal"><span style="font-family:Calibri;"><strong><span><span style="font-size:12pt;">NVARCHAR2 (size)</span></span></strong><span style="font-size:12pt;"><span> – A variable-sized field of characters, where the character set is determined by its definition. The maximum size is 4000 bytes per row or 4000 characters. This handles multibyte character sets.</span></span></span></li>
</ul>
<p style="text-align:justify;"><strong><span style="color:black;font-family:&quot;"><span><span style="font-size:small;">Note:</span></span></span></strong><span style="font-size:small;"><span style="color:black;font-family:&quot;"> The VARCHAR2 datatype is the successor of VARCHAR. So it is recommended that you use VARCHAR2 as a variable-sized array of characters.</span></span></p>
<ul type="disc">
<li class="MsoNormal"><span style="font-family:Calibri;"><strong><span><span style="font-size:12pt;color:windowtext;">LONG </span></span></strong><span style="font-size:12pt;color:windowtext;"><span>– A variable-sized field of characters. The maximum size of this field is 2GB.</span></span></span></li>
</ul>
<p style="text-align:justify;"><span style="font-size:small;"><strong><span><span style="color:black;font-family:&quot;">Number</span></span></strong></span></p>
<ul type="disc">
<li class="MsoNormal"><span style="font-family:Calibri;"><strong><span><span style="font-size:12pt;color:windowtext;">NUMBER (precision, scale)</span></span></strong><span style="font-size:12pt;color:windowtext;"><span> – A variable-sized number, where the precision is between 1 and 38 and size is between -84 and 127. A NUMBER datatype with only one parameter is NUMBER (precision), where the parameter specifies the precision of the number. A NUMBER datatype with no parameters is set to its maximum size.</span></span></span></li>
</ul>
<p style="text-align:justify;"><span style="font-size:small;"><strong><span><span style="color:black;font-family:&quot;">Date and Time</span></span></strong></span></p>
<ul type="disc">
<li class="MsoNormal"><span style="font-family:Calibri;"><strong><span><span style="font-size:12pt;color:windowtext;">DATE</span></span></strong><span style="font-size:12pt;color:windowtext;"><span> – A fixed-sized 7 bit field that is used to store dates. One thing to note is that the time is stored as part of the date. The default format DD-MON-YY can be overridden by NLS_DATE_FORMAT.</span></span></span></li>
</ul>
<ul type="disc">
<li class="MsoNormal"><span style="font-family:Calibri;"><strong><span><span style="font-size:12pt;">TIMESTAMP (precision)</span></span></strong><span style="font-size:12pt;"><span> – A variable-sized value ranging from 7 to 11 bytes, that is used to represent a date/time value. It includes both date and time. The precision parameter determines how many numbers are in the fractional part of SECOND field. The precision of the SECOND field within the TIMESTAMP value may have a value ranging from 0 to 9 with a default precision of 6.</span></span></span></li>
</ul>
<ul type="disc">
<li class="MsoNormal"><span style="font-family:Calibri;"><strong><span><span style="font-size:12pt;">TIMESTAMP (precision) WITH TIME ZONE</span></span></strong><span style="font-size:12pt;"><span> – A fixed-sized value of 13 bytes, which represents a date/time value along with a time zone setting. There are two ways one can set the time zone. The first is by using the UTC offset, say ‘+10:0’, or secondly by the region name, say ‘Australia/Sydney’.</span></span></span></li>
</ul>
<ul type="disc">
<li class="MsoNormal"><span style="font-family:Calibri;"><strong><span><span style="font-size:12pt;">TIMESTAMP (precision) WITH LOCAL TIME</span></span></strong><span style="font-size:12pt;"><span> – A variable value ranging from 7 to 11 bytes. This particular datatype is similar to the TIMESTAMP WITH TIME ZONE datatype. The difference is that the data is normalised to the <span style="color:black;"><a href="http://www.devarticles.com/" target="_blank"><span style="color:black;text-decoration:none;">database</span></a></span> time zone when stored. The entry is manipulated to concur with the client’s time zone when retrieved.</span></span></span></li>
</ul>
<p style="text-align:justify;"><span style="font-size:small;"><strong><span><span style="color:black;font-family:&quot;">Intervals</span></span></strong></span></p>
<ul type="disc">
<li class="MsoNormal"><span style="font-family:Calibri;"><strong><span><span style="font-size:12pt;color:windowtext;">INTERVAL DAY (day_precision) TO SECOND (second_precision)</span></span></strong><span style="font-size:12pt;color:windowtext;"><span> – A fixed-sized 11 byte value that represents a period of time. It includes days, hours, minutes and seconds.</span></span></span></li>
</ul>
<ul type="disc">
<li class="MsoNormal"><span style="font-family:Calibri;"><strong><span><span style="font-size:12pt;">INTERVAL YEAR (year_precision) TO MONTH</span></span></strong><span style="font-size:12pt;"><span> &#8211; A fixed-sized 5 byte value that represents a period of time. It includes years and months.</span></span></span></li>
</ul>
<p style="text-align:justify;"><span style="font-size:small;"><strong><span><span style="color:black;font-family:&quot;">Binaries</span></span></strong></span></p>
<ul type="disc">
<li class="MsoNormal"><span style="font-family:Calibri;"><strong><span style="font-size:12pt;color:windowtext;"><span>RAW (size)</span></span></strong><span style="font-size:12pt;color:windowtext;"><span> – A variable-sized field of raw binary data. The maximum size for this datatype is 2000 bytes.</span></span></span></li>
</ul>
<ul type="disc">
<li class="MsoNormal"><span style="font-family:Calibri;"><strong><span><span style="font-size:12pt;">LONG RAW</span></span></strong><span style="font-size:12pt;"><span> &#8211; A variable-sized field of raw binary data. The maximum size for this datatype is 2 GB.</span></span></span></li>
</ul>
<ul type="disc">
<li class="MsoNormal"><span style="font-family:Calibri;"><strong><span><span style="font-size:12pt;">BLOB </span></span></strong><span style="font-size:12pt;"><span>– The Binary Large Object is a field that holds unstructured binary data. The maximum size for this datatype is 4 GB.</span></span></span></li>
</ul>
<ul type="disc">
<li class="MsoNormal"><span style="font-family:Calibri;"><strong><span><span style="font-size:12pt;">CLOB </span></span></strong><span style="font-size:12pt;"><span>– The Character Large Object is a field that holds single byte character data. The maximum size for this datatype is 4 GB.</span></span></span></li>
</ul>
<ul type="disc">
<li class="MsoNormal"><span style="font-family:Calibri;"><strong><span><span style="font-size:12pt;">NCLOB </span></span></strong><span style="font-size:12pt;"><span>– The National Character Large Object is a field that holds either single byte of multibyte character data dependent on the national character set. The maximum size for this datatype is 4 GB.</span></span></span></li>
</ul>
<ul type="disc">
<li class="MsoNormal"><span style="font-family:Calibri;"><strong><span><span style="font-size:12pt;">BFILE </span></span></strong><span style="font-size:12pt;"><span>– An external binary file. The maximum size for this file is 4 GB. The size is also limited by the<span style="color:black;"> <a href="http://www.devarticles.com/" target="_blank"><span style="color:black;text-decoration:none;">operating system</span></a></span>.</span></span></span></li>
</ul>
<p style="text-align:justify;"><strong><span><span style="font-size:14pt;color:black;font-family:&quot;">Rows</span></span></strong></p>
<ul type="disc">
<li class="MsoNormal"><span style="font-family:Calibri;"><strong><span><span style="font-size:12pt;color:windowtext;">ROWID</span></span></strong><span style="font-size:12pt;color:windowtext;"><span> – A datatype that contains binary data that is used to identify a row. </span></span></span></li>
</ul>
<p style="text-align:justify;"><span><span style="color:black;font-family:&quot;"><span style="font-size:small;"> </span></span></span></p>
<p style="text-align:justify;"><span style="color:black;font-family:&quot;"><span style="font-size:small;"> </span></span></p>
<p style="text-align:justify;"><span style="font-size:small;"><span style="color:black;font-family:&quot;">Each ROWID is:</span></span></p>
<ul type="disc">
<li> 
<ul type="circle">
<li class="MsoNormal"><span style="font-family:Calibri;"><span><span style="font-size:12pt;color:windowtext;">6 bytes for normal indexes on non-partitioned tables, local indexes on partitioned tables and row pointers for chained/migrated rows.</span><span style="font-size:small;"> </span></span></span></li>
<li class="MsoNormal"><span><span style="font-family:Calibri;"><span style="font-size:12pt;">10 bytes for global indexes on partitioned tables.</span></span></span></li>
</ul>
</li>
</ul>
<ul type="disc">
<li class="MsoNormal"><span style="font-family:Calibri;"><strong><span><span style="font-size:12pt;">UROWID </span></span></strong><span style="font-size:12pt;"><span>– The Universal ROWID is the datatype used to store both logical and physical ROWID values as well as foreign tables accessed through a gateway.</span></span></span></li>
</ul>
<p style="text-align:justify;"><span style="font-size:small;"><strong><span><span style="color:black;font-family:&quot;">Alternatives for ANSI Standard Datatypes</span></span></strong></span></p>
<p style="text-align:justify;"><span style="color:black;font-family:&quot;"><span style="font-size:small;"><span>Instead of using ANSI standard datatypes, you can use Oracle defined datatypes. View the table below to see the Oracle datatype alternative for ANSI standard datatypes.</span></span></span></p>
<table class="MsoNormalTable" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="width:221.25pt;background-color:transparent;border:#ece9d8;padding:0;" width="295" valign="top">
<p style="text-align:justify;"><span style="font-size:small;"><strong><span style="font-family:&quot;"><span>ANSI Standard</span></span></strong></span></p>
</td>
<td style="width:221.25pt;background-color:transparent;border:#ece9d8;padding:0;" width="295" valign="top">
<p style="text-align:justify;"><span><strong><span style="font-family:&quot;"><span style="font-size:small;">Oracle Datatype</span></span></strong></span></p>
</td>
</tr>
<tr>
<td style="width:221.25pt;background-color:transparent;border:#ece9d8;padding:0;" width="295" valign="top">
<p style="text-align:justify;"><span><span style="font-size:small;"><span style="font-family:&quot;">CHARACTER and CHAR</span></span></span></p>
</td>
<td style="width:221.25pt;background-color:transparent;border:#ece9d8;padding:0;" width="295" valign="top">
<p style="text-align:justify;"><span><span style="font-size:small;"><span style="font-family:&quot;">CHAR</span></span></span></p>
</td>
</tr>
<tr>
<td style="width:221.25pt;background-color:transparent;border:#ece9d8;padding:0;" width="295" valign="top">
<p style="text-align:justify;"><span><span style="font-size:small;"><span style="font-family:&quot;">CHARACTER VARYING and CHAR VARYING</span></span></span></p>
</td>
<td style="width:221.25pt;background-color:transparent;border:#ece9d8;padding:0;" width="295" valign="top">
<p style="text-align:justify;"><span><span style="font-size:small;"><span style="font-family:&quot;">VARCHAR2</span></span></span></p>
</td>
</tr>
<tr>
<td style="width:221.25pt;background-color:transparent;border:#ece9d8;padding:0;" width="295" valign="top">
<p style="text-align:justify;"><span><span style="font-size:small;"><span style="font-family:&quot;">NUMERIC, DECIMAL, DEC, INTEGER, INT and SMALLINT</span></span></span></p>
</td>
<td style="width:221.25pt;background-color:transparent;border:#ece9d8;padding:0;" width="295" valign="top">
<p style="text-align:justify;"><span><span style="font-size:small;"><span style="font-family:&quot;">NUMBER</span></span></span></p>
</td>
</tr>
<tr>
<td style="width:221.25pt;background-color:transparent;border:#ece9d8;padding:0;" width="295" valign="top">
<p style="text-align:justify;"><span><span style="font-size:small;"><span style="font-family:&quot;">FLOAT, REAL, DOUBLE PRECISION</span></span></span></p>
</td>
<td style="width:221.25pt;background-color:transparent;border:#ece9d8;padding:0;" width="295" valign="top">
<p style="text-align:justify;"><span><span style="font-family:&quot;"><span style="font-size:small;">FLOAT</span></span></span></p>
</td>
</tr>
</tbody>
</table>
<p><span><span style="font-size:16pt;line-height:115%;font-family:Verdana,sans-serif;"><span style="color:#365f91;"></span></span></span></p>
<div><span></span></div>
<div><span><span style="font-size:16pt;line-height:115%;font-family:Verdana,sans-serif;"></span></span></div>
<p><span><span style="font-size:16pt;line-height:115%;font-family:Verdana,sans-serif;"><span style="color:#365f91;"></p>
<p class="MsoNormal" style="text-align:justify;margin:0 0 10pt;"><span style="font-size:16pt;color:#365f91;line-height:115%;font-family:&quot;">Datatypes Used in SQL Server2005</span></p>
<h2 style="margin:10pt 0 0;"><span style="font-size:12pt;line-height:115%;font-family:&quot;"><span style="color:#000000;">Exact numerics</span></span></h2>
<table class="MsoNormalTable" style="width:100%;border-collapse:collapse;" border="1" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td style="background:silver;width:19%;border:#cccccc 1pt inset;padding:.75pt;" width="19%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-family:Calibri;"><strong><span style="font-size:12pt;color:#333333;line-height:115%;">Type</span></strong></span></p>
</td>
<td style="border-right:#cccccc 1pt inset;border-top:#cccccc 1pt inset;background:silver;border-left:#ece9d8;width:40%;border-bottom:#cccccc 1pt inset;padding:.75pt;" width="40%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-family:Calibri;"><strong><span style="font-size:12pt;color:#333333;line-height:115%;">From</span></strong></span></p>
</td>
<td style="border-right:#cccccc 1pt inset;border-top:#cccccc 1pt inset;background:silver;border-left:#ece9d8;width:41%;border-bottom:#cccccc 1pt inset;padding:.75pt;" width="41%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-family:Calibri;"><strong><span style="font-size:12pt;color:#333333;line-height:115%;">To</span></strong></span></p>
</td>
</tr>
<tr>
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#cccccc 1pt inset;width:19%;border-bottom:#cccccc 1pt inset;background-color:transparent;padding:.75pt;" width="19%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">bigint</span></span></p>
</td>
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#ece9d8;width:40%;border-bottom:#cccccc 1pt inset;background-color:transparent;padding:.75pt;" width="40%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">-9,223,372,036,854,775,808</span></span></p>
</td>
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#ece9d8;width:41%;border-bottom:#cccccc 1pt inset;background-color:transparent;padding:.75pt;" width="41%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">9,223,372,036,854,775,807</span></span></p>
</td>
</tr>
<tr>
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#cccccc 1pt inset;width:19%;border-bottom:#cccccc 1pt inset;background-color:transparent;padding:.75pt;" width="19%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">int</span></span></p>
</td>
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#ece9d8;width:40%;border-bottom:#cccccc 1pt inset;background-color:transparent;padding:.75pt;" width="40%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">-2,147,483,648</span></span></p>
</td>
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#ece9d8;width:41%;border-bottom:#cccccc 1pt inset;background-color:transparent;padding:.75pt;" width="41%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">2,147,483,647</span></span></p>
</td>
</tr>
<tr>
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#cccccc 1pt inset;width:19%;border-bottom:#cccccc 1pt inset;background-color:transparent;padding:.75pt;" width="19%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">smallint</span></span></p>
</td>
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#ece9d8;width:40%;border-bottom:#cccccc 1pt inset;background-color:transparent;padding:.75pt;" width="40%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">-32,768</span></span></p>
</td>
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#ece9d8;width:41%;border-bottom:#cccccc 1pt inset;background-color:transparent;padding:.75pt;" width="41%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">32,767</span></span></p>
</td>
</tr>
<tr>
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#cccccc 1pt inset;width:19%;border-bottom:#cccccc 1pt inset;background-color:transparent;padding:.75pt;" width="19%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">tinyint</span></span></p>
</td>
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#ece9d8;width:40%;border-bottom:#cccccc 1pt inset;background-color:transparent;padding:.75pt;" width="40%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">0</span></span></p>
</td>
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#ece9d8;width:41%;border-bottom:#cccccc 1pt inset;background-color:transparent;padding:.75pt;" width="41%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">255</span></span></p>
</td>
</tr>
<tr>
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#cccccc 1pt inset;width:19%;border-bottom:#cccccc 1pt inset;background-color:transparent;padding:.75pt;" width="19%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">bit</span></span></p>
</td>
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#ece9d8;width:40%;border-bottom:#cccccc 1pt inset;background-color:transparent;padding:.75pt;" width="40%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">0</span></span></p>
</td>
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#ece9d8;width:41%;border-bottom:#cccccc 1pt inset;background-color:transparent;padding:.75pt;" width="41%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">1</span></span></p>
</td>
</tr>
<tr>
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#cccccc 1pt inset;width:19%;border-bottom:#cccccc 1pt inset;background-color:transparent;padding:.75pt;" width="19%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">decimal</span></span></p>
</td>
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#ece9d8;width:40%;border-bottom:#cccccc 1pt inset;background-color:transparent;padding:.75pt;" width="40%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">-10^38 +1</span></span></p>
</td>
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#ece9d8;width:41%;border-bottom:#cccccc 1pt inset;background-color:transparent;padding:.75pt;" width="41%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">10^38 –1</span></span></p>
</td>
</tr>
<tr>
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#cccccc 1pt inset;width:19%;border-bottom:#cccccc 1pt inset;background-color:transparent;padding:.75pt;" width="19%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">numeric</span></span></p>
</td>
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#ece9d8;width:40%;border-bottom:#cccccc 1pt inset;background-color:transparent;padding:.75pt;" width="40%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">-10^38 +1</span></span></p>
</td>
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#ece9d8;width:41%;border-bottom:#cccccc 1pt inset;background-color:transparent;padding:.75pt;" width="41%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">10^38 –1</span></span></p>
</td>
</tr>
<tr>
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#cccccc 1pt inset;width:19%;border-bottom:#cccccc 1pt inset;background-color:transparent;padding:.75pt;" width="19%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">money</span></span></p>
</td>
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#ece9d8;width:40%;border-bottom:#cccccc 1pt inset;background-color:transparent;padding:.75pt;" width="40%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">-922,337,203,685,477.5808</span></span></p>
</td>
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#ece9d8;width:41%;border-bottom:#cccccc 1pt inset;background-color:transparent;padding:.75pt;" width="41%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">+922,337,203,685,477.5807</span></span></p>
</td>
</tr>
<tr>
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#cccccc 1pt inset;width:19%;border-bottom:#cccccc 1pt inset;background-color:transparent;padding:.75pt;" width="19%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">smallmoney</span></span></p>
</td>
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#ece9d8;width:40%;border-bottom:#cccccc 1pt inset;background-color:transparent;padding:.75pt;" width="40%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">-214,748.3648</span></span></p>
</td>
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#ece9d8;width:41%;border-bottom:#cccccc 1pt inset;background-color:transparent;padding:.75pt;" width="41%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">+214,748.3647</span></span></p>
</td>
</tr>
</tbody>
</table>
<p><span style="font-family:&quot;"><span style="font-size:small;"><span style="color:#000000;">numeric and decimal are Fixed precision and scale data types and are functionally equivalent. </span></span></span></p>
<h2 style="margin:10pt 0 0;"><span style="font-size:12pt;line-height:115%;font-family:&quot;"><span style="color:#4f81bd;"><span style="color:#000000;">Approximate numerics</span></span></span></h2>
<table class="MsoNormalTable" style="width:100%;border-collapse:collapse;" border="1" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td style="background:silver;width:19%;border:#cccccc 1pt inset;padding:.75pt;" width="19%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-family:Calibri;"><strong><span style="font-size:12pt;color:#333333;line-height:115%;">Type</span></strong></span></p>
</td>
<td style="border-right:#cccccc 1pt inset;border-top:#cccccc 1pt inset;background:silver;border-left:#ece9d8;width:40%;border-bottom:#cccccc 1pt inset;padding:.75pt;" width="40%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-family:Calibri;"><strong><span style="font-size:12pt;color:#333333;line-height:115%;">From</span></strong></span></p>
</td>
<td style="border-right:#cccccc 1pt inset;border-top:#cccccc 1pt inset;background:silver;border-left:#ece9d8;width:41%;border-bottom:#cccccc 1pt inset;padding:.75pt;" width="41%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-family:Calibri;"><strong><span style="font-size:12pt;color:#333333;line-height:115%;">To</span></strong></span></p>
</td>
</tr>
<tr>
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#cccccc 1pt inset;width:19%;border-bottom:#cccccc 1pt inset;background-color:transparent;padding:.75pt;" width="19%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">float</span></span></p>
</td>
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#ece9d8;width:40%;border-bottom:#cccccc 1pt inset;background-color:transparent;padding:.75pt;" width="40%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">-1.79E + 308</span></span></p>
</td>
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#ece9d8;width:41%;border-bottom:#cccccc 1pt inset;background-color:transparent;padding:.75pt;" width="41%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">1.79E + 308</span></span></p>
</td>
</tr>
<tr>
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#cccccc 1pt inset;width:19%;border-bottom:#cccccc 1pt inset;background-color:transparent;padding:.75pt;" width="19%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">real</span></span></p>
</td>
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#ece9d8;width:40%;border-bottom:#cccccc 1pt inset;background-color:transparent;padding:.75pt;" width="40%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">-3.40E + 38 </span></span></p>
</td>
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#ece9d8;width:41%;border-bottom:#cccccc 1pt inset;background-color:transparent;padding:.75pt;" width="41%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">3.40E + 38</span></span></p>
</td>
</tr>
</tbody>
</table>
<p><span style="font-family:&quot;"><span style="font-size:small;"><span style="color:#000000;"> </span></span></span></p>
<h2 style="margin:10pt 0 0;"><span style="font-size:12pt;line-height:115%;font-family:&quot;"><span style="color:#4f81bd;"><span style="color:#000000;">datetime and smalldatetime</span></span></span></h2>
<table class="MsoNormalTable" style="width:100%;border-collapse:collapse;" border="1" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td style="background:silver;width:52%;border:#cccccc 1pt inset;padding:.75pt;" width="52%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-family:Calibri;"><strong><span style="font-size:12pt;color:#333333;line-height:115%;">Type</span></strong></span></p>
</td>
<td style="border-right:#cccccc 1pt inset;border-top:#cccccc 1pt inset;background:silver;border-left:#ece9d8;width:26%;border-bottom:#cccccc 1pt inset;padding:.75pt;" width="26%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-family:Calibri;"><strong><span style="font-size:12pt;color:#333333;line-height:115%;">From</span></strong></span></p>
</td>
<td style="border-right:#cccccc 1pt inset;border-top:#cccccc 1pt inset;background:silver;border-left:#ece9d8;width:22%;border-bottom:#cccccc 1pt inset;padding:.75pt;" width="22%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-family:Calibri;"><strong><span style="font-size:12pt;color:#333333;line-height:115%;">To</span></strong></span></p>
</td>
</tr>
<tr>
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#cccccc 1pt inset;width:52%;border-bottom:#cccccc 1pt inset;background-color:transparent;padding:.75pt;" width="52%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">datetime (3.33 milliseconds accuracy)</span></span></p>
</td>
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#ece9d8;width:26%;border-bottom:#cccccc 1pt inset;background-color:transparent;padding:.75pt;" width="26%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">Jan 1, 1753</span></span></p>
</td>
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#ece9d8;width:22%;border-bottom:#cccccc 1pt inset;background-color:transparent;padding:.75pt;" width="22%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">Dec 31, 9999</span></span></p>
</td>
</tr>
<tr>
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#cccccc 1pt inset;width:52%;border-bottom:#cccccc 1pt inset;background-color:transparent;padding:.75pt;" width="52%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">smalldatetime (1 minute accuracy)</span></span></p>
</td>
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#ece9d8;width:26%;border-bottom:#cccccc 1pt inset;background-color:transparent;padding:.75pt;" width="26%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">Jan 1, 1900</span></span></p>
</td>
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#ece9d8;width:22%;border-bottom:#cccccc 1pt inset;background-color:transparent;padding:.75pt;" width="22%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">Jun 6, 2079</span></span></p>
</td>
</tr>
</tbody>
</table>
<p><span style="font-family:&quot;"><span style="font-size:small;"><span style="color:#000000;">  </span></span></span></p>
<h2 style="margin:10pt 0 0;"><span style="font-size:12pt;line-height:115%;font-family:&quot;"><span style="color:#4f81bd;"><span style="color:#000000;">Character Strings</span></span></span></h2>
<table class="MsoNormalTable" style="width:100%;border-collapse:collapse;" border="1" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr style="height:10.5pt;">
<td style="background:silver;width:8%;height:10.5pt;border:#cccccc 1pt inset;padding:.75pt;" width="8%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-family:Calibri;"><strong><span style="font-size:12pt;color:#333333;line-height:115%;">Type</span></strong></span></p>
</td>
<td style="border-right:#cccccc 1pt inset;border-top:#cccccc 1pt inset;background:silver;border-left:#ece9d8;width:53%;border-bottom:#cccccc 1pt inset;height:10.5pt;padding:.75pt;" width="53%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-family:Calibri;"><strong><span style="font-size:12pt;color:#333333;line-height:115%;">Description</span></strong></span></p>
</td>
</tr>
<tr style="height:9pt;">
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#cccccc 1pt inset;width:8%;border-bottom:#cccccc 1pt inset;height:9pt;background-color:transparent;padding:.75pt;" width="8%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">char</span></span></p>
</td>
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#ece9d8;width:53%;border-bottom:#cccccc 1pt inset;height:9pt;background-color:transparent;padding:.75pt;" width="53%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">Fixed-length non-Unicode character data with a maximum length of 8,000 characters.</span></span></p>
</td>
</tr>
<tr style="height:10.5pt;">
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#cccccc 1pt inset;width:8%;border-bottom:#cccccc 1pt inset;height:10.5pt;background-color:transparent;padding:.75pt;" width="8%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">varchar</span></span></p>
</td>
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#ece9d8;width:53%;border-bottom:#cccccc 1pt inset;height:10.5pt;background-color:transparent;padding:.75pt;" width="53%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">Variable-length non-Unicode data with a maximum of 8,000 characters.</span></span></p>
</td>
</tr>
<tr style="height:10.5pt;">
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#cccccc 1pt inset;width:8%;border-bottom:#cccccc 1pt inset;height:10.5pt;background-color:transparent;padding:.75pt;" width="8%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">varchar(max)</span></span></p>
</td>
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#ece9d8;width:53%;border-bottom:#cccccc 1pt inset;height:10.5pt;background-color:transparent;padding:.75pt;" width="53%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">Variable-length non-Unicode data with a maximum length of 2<sup>31</sup> characters (<strong>SQL Server 2005 only</strong>).</span></span></p>
</td>
</tr>
<tr style="height:10.5pt;">
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#cccccc 1pt inset;width:8%;border-bottom:#cccccc 1pt inset;height:10.5pt;background-color:transparent;padding:.75pt;" width="8%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">text</span></span></p>
</td>
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#ece9d8;width:53%;border-bottom:#cccccc 1pt inset;height:10.5pt;background-color:transparent;padding:.75pt;" width="53%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">Variable-length non-Unicode data with a maximum length of 2,147,483,647 characters.</span></span></p>
</td>
</tr>
</tbody>
</table>
<p><span style="font-family:&quot;"><span style="font-size:small;"><span style="color:#000000;">  </span></span></span></p>
<h2 style="margin:10pt 0 0;"><span style="font-size:12pt;line-height:115%;font-family:&quot;"><span style="color:#4f81bd;"><span style="color:#000000;">Unicode Character Strings</span></span></span></h2>
<table class="MsoNormalTable" style="width:100%;border-collapse:collapse;" border="1" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr style="height:10.5pt;">
<td style="background:silver;width:8%;height:10.5pt;border:#cccccc 1pt inset;padding:.75pt;" width="8%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-family:Calibri;"><strong><span style="font-size:12pt;color:#333333;line-height:115%;">Type</span></strong></span></p>
</td>
<td style="border-right:#cccccc 1pt inset;border-top:#cccccc 1pt inset;background:silver;border-left:#ece9d8;width:51%;border-bottom:#cccccc 1pt inset;height:10.5pt;padding:.75pt;" width="51%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-family:Calibri;"><strong><span style="font-size:12pt;color:#333333;line-height:115%;">Description</span></strong></span></p>
</td>
</tr>
<tr style="height:9pt;">
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#cccccc 1pt inset;width:8%;border-bottom:#cccccc 1pt inset;height:9pt;background-color:transparent;padding:.75pt;" width="8%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">nchar</span></span></p>
</td>
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#ece9d8;width:51%;border-bottom:#cccccc 1pt inset;height:9pt;background-color:transparent;padding:.75pt;" width="51%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">Fixed-length Unicode data with a maximum length of 4,000 characters. </span></span></p>
</td>
</tr>
<tr style="height:10.5pt;">
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#cccccc 1pt inset;width:8%;border-bottom:#cccccc 1pt inset;height:10.5pt;background-color:transparent;padding:.75pt;" width="8%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">nvarchar</span></span></p>
</td>
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#ece9d8;width:51%;border-bottom:#cccccc 1pt inset;height:10.5pt;background-color:transparent;padding:.75pt;" width="51%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">Variable-length Unicode data with a maximum length of 4,000 characters.</span></span></p>
</td>
</tr>
<tr style="height:10.5pt;">
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#cccccc 1pt inset;width:8%;border-bottom:#cccccc 1pt inset;height:10.5pt;background-color:transparent;padding:.75pt;" width="8%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">nvarchar(max)</span></span></p>
</td>
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#ece9d8;width:51%;border-bottom:#cccccc 1pt inset;height:10.5pt;background-color:transparent;padding:.75pt;" width="51%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">Variable-length Unicode data with a maximum length of 2<sup>30</sup> characters (<strong>SQL Server 2005 only</strong>).</span></span></p>
</td>
</tr>
<tr style="height:10.5pt;">
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#cccccc 1pt inset;width:8%;border-bottom:#cccccc 1pt inset;height:10.5pt;background-color:transparent;padding:.75pt;" width="8%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">ntext</span></span></p>
</td>
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#ece9d8;width:51%;border-bottom:#cccccc 1pt inset;height:10.5pt;background-color:transparent;padding:.75pt;" width="51%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">Variable-length Unicode data with a maximum length of 1,073,741,823 characters.</span></span></p>
</td>
</tr>
</tbody>
</table>
<p><span style="font-family:&quot;"><span style="font-size:small;"><span style="color:#000000;">  </span></span></span></p>
<h2 style="margin:10pt 0 0;"><span style="font-size:12pt;line-height:115%;font-family:&quot;"><span style="color:#4f81bd;"><span style="color:#000000;">Binary Strings</span></span></span></h2>
<table class="MsoNormalTable" style="width:100%;border-collapse:collapse;" border="1" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr style="height:10.5pt;">
<td style="background:silver;width:8%;height:10.5pt;border:#cccccc 1pt inset;padding:.75pt;" width="8%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-family:Calibri;"><strong><span style="font-size:12pt;color:#333333;line-height:115%;">Type</span></strong></span></p>
</td>
<td style="border-right:#cccccc 1pt inset;border-top:#cccccc 1pt inset;background:silver;border-left:#ece9d8;width:51%;border-bottom:#cccccc 1pt inset;height:10.5pt;padding:.75pt;" width="51%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-family:Calibri;"><strong><span style="font-size:12pt;color:#333333;line-height:115%;">Description</span></strong></span></p>
</td>
</tr>
<tr style="height:9pt;">
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#cccccc 1pt inset;width:8%;border-bottom:#cccccc 1pt inset;height:9pt;background-color:transparent;padding:.75pt;" width="8%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">binary</span></span></p>
</td>
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#ece9d8;width:51%;border-bottom:#cccccc 1pt inset;height:9pt;background-color:transparent;padding:.75pt;" width="51%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">Fixed-length binary data with a maximum length of 8,000 bytes.</span></span></p>
</td>
</tr>
<tr style="height:10.5pt;">
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#cccccc 1pt inset;width:8%;border-bottom:#cccccc 1pt inset;height:10.5pt;background-color:transparent;padding:.75pt;" width="8%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">varbinary</span></span></p>
</td>
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#ece9d8;width:51%;border-bottom:#cccccc 1pt inset;height:10.5pt;background-color:transparent;padding:.75pt;" width="51%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">Variable-length binary data with a maximum length of 8,000 bytes.</span></span></p>
</td>
</tr>
<tr style="height:10.5pt;">
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#cccccc 1pt inset;width:8%;border-bottom:#cccccc 1pt inset;height:10.5pt;background-color:transparent;padding:.75pt;" width="8%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">varbinary(max)</span></span></p>
</td>
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#ece9d8;width:51%;border-bottom:#cccccc 1pt inset;height:10.5pt;background-color:transparent;padding:.75pt;" width="51%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">Variable-length binary data with a maximum length of 2<sup>31</sup> bytes (<strong>SQL Server 2005 only</strong>).</span></span></p>
</td>
</tr>
<tr style="height:10.5pt;">
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#cccccc 1pt inset;width:8%;border-bottom:#cccccc 1pt inset;height:10.5pt;background-color:transparent;padding:.75pt;" width="8%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">image</span></span></p>
</td>
<td style="border-right:#cccccc 1pt inset;border-top:#ece9d8;border-left:#ece9d8;width:51%;border-bottom:#cccccc 1pt inset;height:10.5pt;background-color:transparent;padding:.75pt;" width="51%">
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;color:#333333;line-height:115%;"><span style="font-family:Calibri;">Variable-length binary data with a maximum length of 2,147,483,647 bytes.</span></span></p>
</td>
</tr>
</tbody>
</table>
<p><span style="font-family:&quot;"><span style="font-size:small;"><span style="color:#000000;">  </span></span></span></p>
<h2 style="margin:10pt 0 0;"><span style="font-size:12pt;line-height:115%;font-family:&quot;"><span style="color:#4f81bd;"><span style="color:#000000;">Other Data Types</span></span></span></h2>
<ul style="margin-top:0;" type="disc">
<li class="MsoNormal"><span style="font-family:Calibri;"><strong><span style="font-size:12pt;">sql_variant</span></strong><span style="font-size:12pt;">: Stores values of various SQL Server-supported data types, except text, ntext, and timestamp. </span></span></li>
<li class="MsoNormal"><span style="font-family:Calibri;"><strong><span style="font-size:12pt;">timestamp</span></strong><span style="font-size:12pt;">: Stores a database-wide unique number that gets updated every time a row gets updated. </span></span></li>
<li class="MsoNormal"><span style="font-family:Calibri;"><strong><span style="font-size:12pt;">uniqueidentifier</span></strong><span style="font-size:12pt;">: Stores a globally unique identifier (GUID). </span></span></li>
<li class="MsoNormal"><span style="font-family:Calibri;"><strong><span style="font-size:12pt;">xml</span></strong><span style="font-size:12pt;">: Stores XML data. You can store xml instances in a column or a variable (<strong>SQL Server 2005 only</strong>). </span></span></li>
<li class="MsoNormal"><span style="font-family:Calibri;"><strong><span style="font-size:12pt;">cursor</span></strong><span style="font-size:12pt;">: A reference to a cursor. </span></span></li>
<li class="MsoNormal"><span style="font-family:Calibri;"><strong><span style="font-size:12pt;">table</span></strong><span style="font-size:12pt;">: Stores a result set for later processing. </span></span></li>
</ul>
<p class="MsoNormal" style="text-align:justify;margin:0 0 10pt;"><span style="font-size:small;color:#000000;font-family:Calibri;"> </span></p>
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;line-height:115%;font-family:&quot;"><span style="color:#000000;">References:-</span></span></p>
<p class="MsoListParagraphCxSpFirst" style="text-indent:-18pt;margin:0 0 0 36pt;"><span><span><span style="color:#000000;"><span style="font-size:small;font-family:Calibri;">1.</span><span style="font:7pt &quot;">       </span></span></span></span><a href="http://www.devarticles.com/c/a/Oracle/Datatypes-Used-in-Oracle-9i/1/" target="_blank"><span style="color:windowtext;"><span style="font-size:small;font-family:Calibri;">http://www.devarticles.com/c/a/Oracle/Datatypes-Used-in-Oracle-9i/1/</span></span></a><span><span><span style="color:#000000;"><span style="font:7pt &quot;"></span></span></span></span></p>
<p class="MsoListParagraphCxSpFirst" style="text-indent:-18pt;text-align:justify;margin:0 0 0 36pt;"><span><span><span style="color:#000000;"><span style="font:7pt &quot;"><span><span><span style="font-size:small;font-family:Calibri;">2.</span><span style="font:7pt &quot;">       </span></span></span><a href="http://www.techonthenet.com/oracle/datatypes.php" target="_blank"><span style="color:windowtext;"><span style="font-size:small;"><span><span><span style="color:#000000;"></span></span></span></span><a href="http://www.techonthenet.com/oracle/datatypes.php"></a></span></a><a href="http://www.techonthenet.com/oracle/datatypes.php" target="_blank"></a></span></span><a href="http://www.techonthenet.com/oracle/datatypes.php"></a></span></span><span></span></p>
<p class="MsoListParagraphCxSpFirst" style="text-indent:-18pt;margin:0 0 0 36pt;"><span><span><span style="color:#000000;"><span style="font-size:small;font-family:Calibri;">3.</span><span style="font:7pt &quot;">       </span></span></span></span><a href="http://pstcc11.pstcc.edu/~rbarber/hpc2800/handouts/datatypes.htm" target="_blank"><span style="color:windowtext;"><span style="font-size:small;font-family:Calibri;">http://pstcc11.pstcc.edu/~rbarber/hpc2800/handouts/datatypes.htm</span></span></a><span style="font-size:small;color:#000000;font-family:Calibri;"> </span></p>
<p class="MsoListParagraphCxSpFirst" style="text-indent:-18pt;margin:0 0 0 36pt;"><span style="color:#000000;"><span><span><span style="font-size:small;font-family:Calibri;">4.</span><span style="font:7pt &quot;">       </span></span></span></span><a href="http://www.teratrax.com/sql_guide/data_types/sql_server_data_types.html" target="_blank"><span style="color:windowtext;"><span style="font-size:small;font-family:Calibri;">http://www.teratrax.com/sql_guide/data_types/sql_server_data_types.html</span></span></a><span style="font-size:small;color:#000000;font-family:Calibri;">    (sql server datatypes)</span></p>
<p class="MsoListParagraphCxSpLast" style="text-indent:-18pt;margin:0 0 0 36pt;"><span><span><span style="color:#000000;"><span style="font-size:small;font-family:Calibri;">5.</span><span style="font:7pt &quot;">       </span></span></span></span><a href="http://msdn.microsoft.com/en-us/library/aa258271.aspx"><span style="color:windowtext;"><span style="font-size:small;font-family:Calibri;">http://msdn.microsoft.com/en-us/library/aa258271.aspx</span></span></a><span style="font-size:small;"><span style="color:#000000;"><span style="font-family:Calibri;">  (sql server)</span></span></span></p>
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:12pt;line-height:115%;font-family:&quot;"><span style="color:#000000;"> </span></span></p>
<p class="MsoNormal" style="text-align:justify;margin:0 0 10pt;"><span style="font-size:small;color:#000000;font-family:Calibri;"> </span></p>
<div><span><span style="font-size:16pt;line-height:115%;font-family:Verdana,sans-serif;"><span style="color:#365f91;"> </span></span></span></div>
<div><span><span style="font-size:16pt;line-height:115%;font-family:Verdana,sans-serif;"><span style="color:#365f91;"> </span></span></span></div>
<p><span><span style="font-size:16pt;line-height:115%;font-family:Verdana,sans-serif;"><span style="color:#365f91;"> </p>
<p></span></span></span></span></span></span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sikanderjeet.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sikanderjeet.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sikanderjeet.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sikanderjeet.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sikanderjeet.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sikanderjeet.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sikanderjeet.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sikanderjeet.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sikanderjeet.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sikanderjeet.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sikanderjeet.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sikanderjeet.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sikanderjeet.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sikanderjeet.wordpress.com/55/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sikanderjeet.wordpress.com&amp;blog=6935670&amp;post=55&amp;subd=sikanderjeet&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sikanderjeet.wordpress.com/2009/03/29/datatypes-of-oracle9i-and-sql-server2005/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f159da882f4f3c5366ab964516c15ec4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sikanderjeet</media:title>
		</media:content>
	</item>
	</channel>
</rss>
