<?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"
	>

<channel>
	<title>Technical Interview Questions &#187; Oracle Interview Questions-III</title>
	<atom:link href="http://www.technicalinterview.info/category/oracle-interview-questions-iii/feed" rel="self" type="application/rss+xml" />
	<link>http://www.technicalinterview.info</link>
	<description>Java Interview Questions &#124; IT interview questions &#124; Software Testing Interview questions &#124; .Net Interview Questions &#124; Job Interview Questions &#38; Answers &#124; Tough Interview Questions &#124; Technology Interview Questions &#124; Tech Interview Questions &#124; Testing Interview Questions &#124; SAP Interview Questions &#124; ABAP Interview Questions &#124; Data Warehousing Interview Questions</description>
	<pubDate>Tue, 02 Sep 2008 08:33:19 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Oracle Interview Questions-III</title>
		<link>http://www.technicalinterview.info/oracle-interview-questions-iii/</link>
		<comments>http://www.technicalinterview.info/oracle-interview-questions-iii/#comments</comments>
		<pubDate>Mon, 17 Sep 2007 19:40:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Oracle Interview Questions-III]]></category>

		<guid isPermaLink="false">http://www.technicalinterview.info/oracle-interview-questions-iii/</guid>
		<description><![CDATA[12.To view installed Oracle version information
SQL> select banner from v$version;
13. Display the number value in Words
SQL> select sal, (to_char(to_date(sal,&#8217;j'), &#8216;jsp&#8217;))
from emp;
the output like,
SAL (TO_CHAR(TO_DATE(SAL,&#8217;J'),&#8217;JSP&#8217;))
&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;
800 eight hundred
1600 one thousand six hundred
1250 one thousand two hundred fifty
If you want to add some text like,
Rs. Three Thousand only.
SQL> select sal &#8220;Salary &#8220;,
(&#8217; Rs. &#8216;&#124;&#124; (to_char(to_date(sal,&#8217;j'), &#8216;Jsp&#8217;))&#124;&#124; &#8216; [...]]]></description>
			<content:encoded><![CDATA[<p>12.To view installed Oracle version information</p>
<p>SQL> select banner from v$version;</p>
<p>13. Display the number value in Words</p>
<p>SQL> select sal, (to_char(to_date(sal,&#8217;j'), &#8216;jsp&#8217;))<br />
from emp;<br />
the output like,<br />
SAL (TO_CHAR(TO_DATE(SAL,&#8217;J'),&#8217;JSP&#8217;))<br />
&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
800 eight hundred<br />
1600 one thousand six hundred<br />
1250 one thousand two hundred fifty<br />
If you want to add some text like,<br />
Rs. Three Thousand only.<br />
SQL> select sal &#8220;Salary &#8220;,<br />
(&#8217; Rs. &#8216;|| (to_char(to_date(sal,&#8217;j'), &#8216;Jsp&#8217;))|| &#8216; only.&#8217;))<br />
&#8220;Sal in Words&#8221; from emp<br />
/<br />
Salary Sal in Words<br />
&#8212;&#8212;- &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
800 Rs. Eight Hundred only.<br />
1600 Rs. One Thousand Six Hundred only.<br />
1250 Rs. One Thousand Two Hundred Fifty only.</p>
<p>14. Display Odd/ Even number of records</p>
<p>Odd number of records:<br />
select * from emp where (rowid,1) in (select rowid, mod(rownum,2) from emp);<br />
1<br />
3<br />
5<br />
Even number of records:<br />
select * from emp where (rowid,0) in (select rowid, mod(rownum,2) from emp)<br />
2<br />
4<br />
6</p>
<p>15. Which date function returns number value?</p>
<p>months_between</p>
<p>16. Any three PL/SQL Exceptions?</p>
<p>Too_many_rows, No_Data_Found, Value_Error, Zero_Error, Others</p>
<p>17. What are PL/SQL Cursor Exceptions?</p>
<p>Cursor_Already_Open, Invalid_Cursor<br />
18. Other way to replace query result null value with a text</p>
<p>SQL> Set NULL ‘N/A’to reset SQL> Set NULL ‘’</p>
<p>19. What are the more common pseudo-columns?</p>
<p>SYSDATE, USER , UID, CURVAL, NEXTVAL, ROWID, ROWNUM</p>
<p>20.What is the output of SIGN function?</p>
<p>1 for positive value,0 for Zero,-1 for Negative value.</p>
<p>21.What is the maximum number of triggers, can apply to a single table?</p>
<p>12 triggers.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.technicalinterview.info/oracle-interview-questions-iii/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
