﻿<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.howtodothings.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>HowToDoThings.com Oracle</title>
 <link>http://www.howtodothings.com/computers/c1238-oracle.html</link>
 <description>A list of recent articles by category as Teasers.</description>
 <language>en</language>
<item>
 <title>How To Code a Matrix Report in SQL</title>
 <link>http://www.howtodothings.com/computers-internet/how-to-code-a-matrix-report-in-sql</link>
 <description>&lt;p&gt;A matrix report is a grid-like representation of data. It has a row of labels, a column of labels and, in a grid, data related to both row and column. Matrix reports are also called crosstab reports. &lt;/p&gt;
&lt;p&gt;A matrix report has one group of data for rows, one group of data for columns, one group of data cross-product and one group of data as the value for cross-product. The cross-product group represents all possible combinations of row and column groups.&lt;/p&gt;
&lt;p&gt;Let&#039;s take a look at an example. Assume you have a table called Inv_summary. It has three columns: Inv_date, Inv_status and Inv_value. Now, you want to generate a report that shows total value of open and close invoices for each month, for example like below.&lt;/p&gt;
&lt;p&gt;MONTH                          OPEN       CLOSE&lt;/p&gt;
&lt;p&gt;--------                      ------------         ------------&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.howtodothings.com/computers-internet/how-to-code-a-matrix-report-in-sql&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.howtodothings.com/computers-internet/how-to-code-a-matrix-report-in-sql#comments</comments>
 <category domain="http://www.howtodothings.com/computers/c1238-oracle.html">Oracle</category>
 <pubDate>Wed, 12 Mar 2008 15:45:05 -0500</pubDate>
 <dc:creator>ndoshi</dc:creator>
 <guid isPermaLink="false">16737 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>How To Add Day, Hour, Minute, Second to a Date Value in Oracle</title>
 <link>http://www.howtodothings.com/computers-internet/how-to-add-day-hour-minute-second-to-a-date-value-in-oracle-0</link>
 <description>&lt;p class=&quot;MsoNormal&quot;&gt;Date arithmetic is very common in database application. In Oracle, you can add, subtract  and compare DATE columns, but you can not multiply or divide it. Oracle stores century, year, month, day, hour, min and seconds as part of the DATE column.&lt;/p&gt;
&lt;p class=&quot;MsoNormal&quot;&gt;Now let’s take a look at how to add day/hour/minute/second to a date value. Oracle expects a number constant in date arithmetic as number of days. In other words, you need to convert hour, minute and seconds to fraction of a day and then you can add or subtract that value from a date value. Here are some examples: &lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.howtodothings.com/computers-internet/how-to-add-day-hour-minute-second-to-a-date-value-in-oracle-0&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.howtodothings.com/computers-internet/how-to-add-day-hour-minute-second-to-a-date-value-in-oracle-0#comments</comments>
 <category domain="http://www.howtodothings.com/computers/c1238-oracle.html">Oracle</category>
 <pubDate>Mon, 03 Mar 2008 16:46:14 -0600</pubDate>
 <dc:creator>ndoshi</dc:creator>
 <guid isPermaLink="false">16426 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>How To Use Structured Query Language (SQL)</title>
 <link>http://www.howtodothings.com/computers-internet/how-to-use-structured-query-language-sql</link>
 <description>&lt;p&gt;Structured Query Language (SQL) is a computer language for creating database and manipulating data. SQL is an ANSI (American National Standard Institute) standard and is supported by almost all Relational Data Base Management Systems (RDBMS) like Oracle, MySQL, SQLServer, MS Access, PostGreSQL etc. SQL has two parts: &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Data Definition Language (DDL): to create, alter, or drop tables and indexes. &lt;/li&gt;
&lt;li&gt;Data Manipulation Language (DML): to insert, update, retrieve or delete the data in the tables.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Here&#039;s how to use SQL. &lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.howtodothings.com/computers-internet/how-to-use-structured-query-language-sql&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.howtodothings.com/computers-internet/how-to-use-structured-query-language-sql#comments</comments>
 <category domain="http://www.howtodothings.com/computers/c1236-mysql.html">Open Source</category>
 <category domain="http://www.howtodothings.com/computers/c1238-oracle.html">Oracle</category>
 <pubDate>Mon, 25 Feb 2008 13:49:37 -0600</pubDate>
 <dc:creator>kakulz</dc:creator>
 <guid isPermaLink="false">16226 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>How To Get Rid of Duplicate Rows in an Oracle SQL Table</title>
 <link>http://www.howtodothings.com/computers-internet/how-to-get-rid-of-duplicate-rows-in-an-oracle-sql-table</link>
 <description>&lt;p&gt;
If you are using Oracle Database, a common problem is duplicate rows in tables. Usually this happens when unique constraints are removed during loading.  Whatever may be the reason, you can remove duplicate records. Duplicate records have identical values for all columns (OR columns that are part of unique key).
&lt;/p&gt;
&lt;p&gt;
There is more than one way to delete duplicate records. Let&#039;s assume Table_A has the following data:
&lt;/p&gt;
&lt;p&gt;
Col1    Col2&lt;br /&gt;
------    -------&lt;br /&gt;
101    201&lt;br /&gt;
102    202&lt;br /&gt;
103    203&lt;br /&gt;
102    202&lt;br /&gt;
104    204&lt;br /&gt;
101    201&lt;/p&gt;
&lt;p&gt;Let&#039;s look at the first method.
&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.howtodothings.com/computers-internet/how-to-get-rid-of-duplicate-rows-in-an-oracle-sql-table&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.howtodothings.com/computers-internet/how-to-get-rid-of-duplicate-rows-in-an-oracle-sql-table#comments</comments>
 <category domain="http://www.howtodothings.com/computers/c1238-oracle.html">Oracle</category>
 <pubDate>Thu, 31 Jan 2008 11:18:09 -0600</pubDate>
 <dc:creator>ndoshi</dc:creator>
 <guid isPermaLink="false">15345 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>How To Use Formatting in Oracle SQL</title>
 <link>http://www.howtodothings.com/computers/how-to-use-formatting-in-oracle-sql</link>
 <description>&lt;p&gt;Once you retrieve your data, you should think about how you would like to view it. You can do a lot of formatting in Oracle SQL, which translates into saved time for you. After all who wants dirty data?&lt;/p&gt;
&lt;p&gt;Formatting is a presentation issue. It allows you to present the data you have gathered so that it looks good. And as someone once said, &amp;quot;Perception is key.&amp;quot; I use the following 8 formatting tricks. There are many more, but the ones below are essential to know.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.howtodothings.com/computers/how-to-use-formatting-in-oracle-sql&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.howtodothings.com/computers/how-to-use-formatting-in-oracle-sql#comments</comments>
 <category domain="http://www.howtodothings.com/computers/c1238-oracle.html">Oracle</category>
 <pubDate>Thu, 25 Oct 2007 14:20:26 -0500</pubDate>
 <dc:creator>miniguru</dc:creator>
 <guid isPermaLink="false">9197 at http://www.howtodothings.com</guid>
</item>
<item>
 <title>How To Use Oracle SQL</title>
 <link>http://www.howtodothings.com/computers/how-to-use-oracle-sql</link>
 <description>&lt;p&gt;SQL is shorthand for Structured Query Language. Oracle SQL is a language and not an application. It is a language that can be used to communicate with databases. Oracle SQL can be used to query databases and analyze data.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;/files/u10023/how-to-use-oracle.jpg&quot; alt=&quot;how to use oracle&quot; hspace=&quot;50&quot; width=&quot;268&quot; height=&quot;200&quot; align=&quot;middle&quot; /&gt;
&lt;p&gt;Before you use Oracle SQL, you need to understand what a database is. What is a database? It’s a collection of data stored in an organized fashion. The data is stored as Tables inside of a database. Data within tables are stored as rows. All data within a database is either a column or a row. Vertical data is called a column, and horizontal data is called a row. &lt;/p&gt;
&lt;p&gt;Oracle SQL is composed of keywords such as SELECT, FROM, WHERE, GROUP BY, HAVING, and ORDER BY. The 6 keywords mentioned above allow you to query a database and analyze its data.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.howtodothings.com/computers/how-to-use-oracle-sql&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.howtodothings.com/computers/how-to-use-oracle-sql#comments</comments>
 <category domain="http://www.howtodothings.com/computers/c1238-oracle.html">Oracle</category>
 <pubDate>Thu, 20 Sep 2007 14:31:33 -0500</pubDate>
 <dc:creator>miniguru</dc:creator>
 <guid isPermaLink="false">7775 at http://www.howtodothings.com</guid>
</item>
</channel>
</rss>
