<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Technofunction</title>
	<atom:link href="http://www.technofunction.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.technofunction.com</link>
	<description></description>
	<lastBuildDate>Mon, 26 Sep 2011 06:37:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Configuring a FTP Server on Enterprise Linux</title>
		<link>http://www.technofunction.com/2011/09/configuring-a-ftp-server-on-enterprise-linux-2/</link>
		<comments>http://www.technofunction.com/2011/09/configuring-a-ftp-server-on-enterprise-linux-2/#comments</comments>
		<pubDate>Mon, 26 Sep 2011 06:31:34 +0000</pubDate>
		<dc:creator>Ankit</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.technofunction.com/2011/09/configuring-a-ftp-server-on-enterprise-linux-2/</guid>
		<description><![CDATA[FTP is the most commonly used for transferring of the files between the servers and computer and there are many FTP clients like filezilla which can be used to transfer file via FTP between various computers no matter which operating system is being used on it. You might want to go through my previous post [...]]]></description>
			<content:encoded><![CDATA[<p>FTP is the most commonly used for transferring of the files between the servers and computer and there are many FTP clients like filezilla which can be used to transfer file via FTP between various computers no matter which operating system is being used on it.</p>
<p>You might want to go through my previous post on <a href="http://www.technofunction.com/2011/08/overview-of-ftp-in-linux/">Overview of FTP</a> on Enterprise Linux convering all the basic details which will be used in configuring an FTP in this post.</p>
<p>Ensure that FTP is allowed through the firewall else SELinux is off and iptables are off. Start with installing the FTP package &#8220;vsftpd&#8221; using YUM. For <a href="http://www.technofunction.com/2010/09/creating-publiclocalyum-repository-in-oracle-enterprise-linux/">creating a Yum in Enterprise Linux</a> you may want to go through this post. You need to have root access in to configure an FTP Server.</p>
<p>#yum install vsftpd</p>
<p><span id="more-449"></span></p>
<p><img src="http://technofunction.com/wp-content/uploads/2011/09/092611_0630_Configuring11.png" alt="" /></p>
<p><img src="http://technofunction.com/wp-content/uploads/2011/09/092611_0630_Configuring21.png" alt="" /></p>
<p>Once you install this package the following directory will be created /var/ftp/pub . where you actually have files to be shared on the FTP , although you may give access to your local users to access their home directories as well but this is far to advanced and various constraints of security are needed to be considered before choosing that option. For now let&#8217;s configure the pub directory to be accessed via ftp user.</p>
<p>Next you need to configure the ftp configuration file in order to create an FTP Server. The configuration file for FTP is vsftpd.conf and needs to be edited as follows</p>
<p>#vi /etc/vsftpd/vsftpd.conf</p>
<p><img src="http://technofunction.com/wp-content/uploads/2011/09/092611_0630_Configuring31.png" alt="" /></p>
<p>You can enable or disable much functionality using this configuration file. For this post we will set FTP so that anonymous user may not be able to login, local user are allowed to login, local user are able to write , make directories and able to upload and download files you may further want to change idle time out settings etc which you may do by changing values in this configuration file.</p>
<p>For this in line 12 set anonymous enable to no</p>
<p><img src="http://technofunction.com/wp-content/uploads/2011/09/092611_0630_Configuring41.png" alt="" /></p>
<p>In Line 18 uncomment the write enable=yes</p>
<p><img src="http://technofunction.com/wp-content/uploads/2011/09/092611_0630_Configuring51.png" alt="" /></p>
<p>Uncomment line number 27</p>
<p><img src="http://technofunction.com/wp-content/uploads/2011/09/092611_0630_Configuring61.png" alt="" /></p>
<p>Uncomment line 31</p>
<p><img src="http://technofunction.com/wp-content/uploads/2011/09/092611_0630_Configuring71.png" alt="" /></p>
<p>After this editing save the file and exit.</p>
<p>Now you need to restart the ftp service for the changes to take effect.</p>
<p>#service vsftpd restart</p>
<p>You may login to this ftp server by unix or windows operating system</p>
<p>In Linux simply enter the command like</p>
<p>#ftp &lt;ip-address&gt;</p>
<p>Than supply username and password of the local user, you download and upload files by using get and put command inside the Ftp terminal, when you want to exit use &#8220;bye&#8221;</p>
<p><img src="http://technofunction.com/wp-content/uploads/2011/09/092611_0630_Configuring81.png" alt="" /></p>
<p>Remember users like root are not allowed to login via ftp by default. If you still want to login via root user than you need to perform some additional steps , wait for my next post for this.</p>
<p>In windows operating system, use ftp client software such as filezilla to transfer file via ftp.</p>
<p>Still have some doubt leave it in comment section, we will get back to you.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.technofunction.com/2011/09/configuring-a-ftp-server-on-enterprise-linux-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Overview of FTP in Linux</title>
		<link>http://www.technofunction.com/2011/08/overview-of-ftp-in-linux/</link>
		<comments>http://www.technofunction.com/2011/08/overview-of-ftp-in-linux/#comments</comments>
		<pubDate>Mon, 08 Aug 2011 16:40:16 +0000</pubDate>
		<dc:creator>Ankit</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.technofunction.com/?p=424</guid>
		<description><![CDATA[FTP is a File Transfer Protocol which helps you to download or upload your files to server securely from a remote location. FTP uses a virtual login to server and is security enabled. FTP is shipped in Linux with a package named &#8220;vsftpd&#8221;. You may install the vsftpd package using the yum. you might want [...]]]></description>
			<content:encoded><![CDATA[<p>FTP is a File Transfer Protocol which helps you to download or upload your files to server securely from a remote location.</p>
<p>FTP uses a virtual login to server and is security enabled.</p>
<p>FTP is shipped in Linux with a package named &#8220;vsftpd&#8221;. You may install the vsftpd package using the yum. you might want to check my earlier post on making a <a href="http://www.technofunction.com/2010/09/creating-publiclocalyum-repository-in-oracle-enterprise-linux/" target="_blank">local yum repository or a public yum repository.</a></p>
<p>The DAEMON i.e (Disk and execution Monitor) for FTP is /usr/sbin. Through Daemon you may start or stop the service.</p>
<p>Some other useful information about FTP is</p>
<p><strong>Type</strong>:- system v-managed service (standalone service).</p>
<p><strong>Ports</strong>:- ftp(121) and ftpdata(20)</p>
<p><strong>Package:</strong>- vsftpd</p>
<p><strong>Daemons:-</strong> /usr/sbin/vsftpd .</p>
<p><strong>Document:-</strong> /var/ ftp/ pub</p>
<p><strong>Configuration file:-</strong></p>
<ul>
<li>/etc/vsftpd/vsftpd.conf      (main configuration file)</li>
<li>/etc/vsftpd/user_list           (user list not allowed to login through ftp)</li>
<li>/etc/vsftpd/ftpuser              (Second configuration file with user list)</li>
</ul>
<p>You would need to deselect the user e.g. root , from both the file listed above in order to login through the FTP.</p>
<p>Once FTP configured you may login to Remote Linux server using FTP client like filezilla.</p>
<p>You may login as &#8220;anonymous&#8221; user through FTP but it is not recommended. Always maintain a separate FTP user list in order to authenticate through FTP.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.technofunction.com/2011/08/overview-of-ftp-in-linux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Java Naming and Directory Interface (JNDI)</title>
		<link>http://www.technofunction.com/2011/06/java-naming-and-directory-interface-jndi/</link>
		<comments>http://www.technofunction.com/2011/06/java-naming-and-directory-interface-jndi/#comments</comments>
		<pubDate>Mon, 13 Jun 2011 05:00:26 +0000</pubDate>
		<dc:creator>Ankit</dc:creator>
				<category><![CDATA[Java Concepts]]></category>

		<guid isPermaLink="false">http://www.technofunction.com/?p=413</guid>
		<description><![CDATA[JNDI is an API built in Java technology which provides naming and directory functionality to applications written in the java programming language. It is designed using Java object model and used specifically for the java applications. Using JNDI, applications can store and retrieve named Java objects of any type. It enables applications to access different, [...]]]></description>
			<content:encoded><![CDATA[<p>JNDI is an API built in Java technology which provides naming and directory functionality to applications written in the java programming language. It is designed using Java object model and used specifically for the java applications. Using JNDI, applications can store and retrieve named Java objects of any type.</p>
<p>It enables applications to access different, multiple, naming and directory services using common API which makes it possible for the different naming and directory services providers to be plugged seamlessly behind this common Api. So Java technology based applications to take advantages of information in a variety of existing naming and directory services such as LDAP, NDS, DNS and NIS as well as enabling applications to coexist with legacy software and systems.</p>
<p>Using JNDI as a tool, new powerful and portable applications can be built that not only take advantage of Java&#8217;s object model but are also well-integrated with the environment in which they are deployed.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.technofunction.com/2011/06/java-naming-and-directory-interface-jndi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Overview of Oracle Application Architecture</title>
		<link>http://www.technofunction.com/2011/03/overview-of-oracle-application-architecture/</link>
		<comments>http://www.technofunction.com/2011/03/overview-of-oracle-application-architecture/#comments</comments>
		<pubDate>Thu, 31 Mar 2011 15:41:15 +0000</pubDate>
		<dc:creator>Ankit</dc:creator>
				<category><![CDATA[Oracle applications]]></category>

		<guid isPermaLink="false">http://www.technofunction.com/?p=404</guid>
		<description><![CDATA[Oracle application have a three tier architecture which is a logical grouping of services. The tier are- database tier, application tier and client desktop. Although tier does not mean that each one has to be individually assigned a physical machine but rather all the servers can be started from a single machine. Mostly machines are added to support the scalability and fault tolerance.]]></description>
			<content:encoded><![CDATA[<p>Oracle applications have a <strong>three-tier architecture</strong> which comprises of a<strong> database tier</strong> which manages the oracle database and stores all the data; an <strong>Application Tier</strong> which hosts various servers, manages communication between the desktop and database tier and contains the application file system; and a<strong> client Desktop</strong> through which users access Oracle applications.</p>
<p><span id="more-404"></span></p>
<p><a href="http://technofunction.com/wp-content/uploads/2011/03/oracle-three-tier-architecture.png"><img class="aligncenter size-full wp-image-405" title="oracle three tier architecture" src="http://technofunction.com/wp-content/uploads/2011/03/oracle-three-tier-architecture.png" alt="" width="607" height="287" /></a></p>
<p>Tier does not mean a physical machine but rather is a logical grouping of services normally spread across more than one machine. Oracle applications can be installed on a single machine and all the servers can be start from that machine. Although many physical machines may be used in configuration, scalability is derived from the processing capabilities on three separate levels namely; <strong>the desktop client tier, the application tier, and the database tier.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.technofunction.com/2011/03/overview-of-oracle-application-architecture/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux Shell Scripting Basics</title>
		<link>http://www.technofunction.com/2011/03/linux-shell-scripting-basics/</link>
		<comments>http://www.technofunction.com/2011/03/linux-shell-scripting-basics/#comments</comments>
		<pubDate>Sun, 13 Mar 2011 04:38:52 +0000</pubDate>
		<dc:creator>Ankit</dc:creator>
				<category><![CDATA[Shell script in Linux]]></category>

		<guid isPermaLink="false">http://www.technofunction.com/?p=400</guid>
		<description><![CDATA[Shell scripts are text files containing commands to be executed. Shell scripts are useful for: Automating commonly used commands Performing system administration and troubleshooting Creating simple applications Manipulation of text or files. A shell script is simply a text file containing commands. Scripts are useful for automating processes that you perform repeatedly at the command [...]]]></description>
			<content:encoded><![CDATA[<p>Shell scripts are text files containing commands to be executed.</p>
<p>Shell scripts are useful for:</p>
<ul>
<li>Automating commonly used commands</li>
<li>Performing system administration and troubleshooting</li>
<li>Creating simple applications</li>
<li>Manipulation of text or files.</li>
</ul>
<p>A shell script is simply a text file containing commands. Scripts are useful for automating processes that you perform repeatedly at the command line. <em>For example suppose every morning when you log in, you perform the following operations:</em></p>
<ul>
<li>Check the system dare.</li>
<li>Look at the calendar for thr current month.</li>
<li>Check your email.</li>
<li>Display the list of logged in users.</li>
</ul>
<p>Instead of entering the commands to perform steps 1-4 individually, you could create a shell script containing those commands. Every morning you could enter just one command to perform all these steps. In addition the key benefit of using Linux is using the powerful, yet simple commands. These commands may be put together in a script to perform complex operations or automate procedures such as adding batches of users.</p>
<p>Linux users involved with system administration and troubleshooting often work with shell scripts. Many of these are created during the installation of the operating system. Consider the script /etc/profile. This file is the system- wide user login script which runs whenever a user logs into the system. System administrators and troubleshooters will consider operations performed in this script when troubleshooting user login problems.</p>
<p>Programmers often create simple versions of programs using scripts during the initial phases of a programming project. This is called application prototyping. Once they and the program’s users are happy with the main functionality of the program, the programmer will then create the full-featured program in a programming language such as C.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.technofunction.com/2011/03/linux-shell-scripting-basics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>About CISC &#8216;Complex Instruction Set Computing&#8217; Architecture</title>
		<link>http://www.technofunction.com/2011/01/about-cisc-complex-instruction-set-computing-architecture/</link>
		<comments>http://www.technofunction.com/2011/01/about-cisc-complex-instruction-set-computing-architecture/#comments</comments>
		<pubDate>Fri, 07 Jan 2011 15:58:20 +0000</pubDate>
		<dc:creator>Ankit</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">http://www.technofunction.com/?p=388</guid>
		<description><![CDATA[The CISC Approach: CISC stand for “Complex Instruction Set Computing”. CISC is a CPU design techniques and makes the use of complex instruction architecture for performing the processing and execution of the tasks. The primary goal of the CISC architecture was to reduce the execution of the task in as minimum assembly language programming as [...]]]></description>
			<content:encoded><![CDATA[<p><strong><span style="text-decoration: underline;">The CISC Approach:</span></strong></p>
<p><strong>CISC </strong>stand for “<strong>Complex Instruction Set Computing</strong>”. <strong>CISC</strong> is a CPU design techniques and makes the use of complex instruction architecture for performing the processing and execution of the tasks. The primary goal of the CISC architecture was to reduce the execution of the task in as minimum assembly language programming as possible. In order to achieve this goal the main emphasis was on the computer hardware that can understand and execute a series of the operations. It was capable to execute the several low-level operations (like <strong>memory store, load from memory</strong>) and is also capable of multi- step operations within the single instructions. So for multiplying task the CISC processor would come prepared with a specific instruction in the form of “<strong>MULT</strong>”. When the MULT was executed, the instruction will load the two values into the two separate registers, multiplies the operands, and then store the product in the appropriate register. So for multiplying two numbers the instruction used was:</p>
<p><strong>MULT 4:5, 7:8</strong></p>
<p>MULT is known as “<strong>complex instruction</strong>” which operates directly in memory and doesn’t any loading and storing of the functions.</p>
<p>Examples of the CISC instruction set architectures are <strong>System/360, PDP-11, VAX, Motorola68k and x86.</strong></p>
<p>The advantages include such as that compiler has to do very little work to translate the high level instruction statement into assembly and as the length of the code is small so very little RAM memory is required to store the instructions. The main emphasis of this architecture was to put on the complex instructions directly in the hardware.</p>
<p><span id="more-388"></span></p>
<p>But due to the design limitations and high level of complexity with the design used in CISC architecture, it saw a set back and the manufacturers move on to use the RISC which reduced the complexity to a very minimum rate, more stress was focused on programming and sequencing the code rather than implementing all of them on the hardware by the use of transistors.</p>
<p><strong><span style="text-decoration: underline;">Summing up the CISC architecture:</span></strong></p>
<ul>
<li>The main emphasis was on the hardware rather than software.</li>
</ul>
<ul>
<li>CISC architecture used the ‘multi-clock’ complex instructions.</li>
</ul>
<ul>
<li>Commands like “LOAD” and “STORE” were incorporated in the instructions itself and were allocated from memory-to-memory rather than the registers.</li>
</ul>
<ul>
<li>Although the code size was small but it used high cycles per second.</li>
</ul>
<ul>
<li>Transistors used for storing the complex instructions.</li>
</ul>
<ul>
<li>Great deal of work was on the part of the processor.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.technofunction.com/2011/01/about-cisc-complex-instruction-set-computing-architecture/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing and configuring Skype on Linux</title>
		<link>http://www.technofunction.com/2010/11/installing-and-configuring-skype-on-linux/</link>
		<comments>http://www.technofunction.com/2010/11/installing-and-configuring-skype-on-linux/#comments</comments>
		<pubDate>Sun, 07 Nov 2010 07:36:30 +0000</pubDate>
		<dc:creator>Ankit</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[Linux Softwares]]></category>

		<guid isPermaLink="false">http://www.technofunction.com/?p=378</guid>
		<description><![CDATA[Skype is a voip i.e. voice over internet telephony service which also provides you with the features like chat, video-voice chat, screen sharing, and calling telephone numbers at cheap call rates throughout the world almost in all the countries. The major feature of skype is its online calling service between the PC is absolutely free [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://technofunction.com/wp-content/uploads/2010/11/skype.jpg"><img class="alignleft size-thumbnail wp-image-380" title="skype" src="http://technofunction.com/wp-content/uploads/2010/11/skype-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p>Skype is a <strong>voip</strong> i.e<strong>. voice over internet</strong> telephony service which also provides you with the features like <strong>chat, video-voice chat, screen sharing, and calling telephone numbers</strong> at cheap call rates throughout the world almost in all the countries.</p>
<p><a href="../wp-content/uploads/2010/11/skype1.jpg"><br />
</a></p>
<p>The major feature of skype is its online calling service between the PC is absolutely free and moreover has an excellent sound quality. Moreover the call rates are also very cheap.</p>
<p>You can install the skype on Linux as follows.</p>
<ul>
<li>Download the skype installation software from <a href="http://www.skype.com/go/getskype-linux-static">here</a> .</li>
<li>Change your directory to were you have saved the setup files which in our case is at Desktop of the root user.</li>
</ul>
<p><strong>#cd /root/Desktop</strong></p>
<p><strong><span id="more-378"></span><br />
</strong></p>
<ul>
<li>The downloaded file will be a tar file (<strong><em>skype_static-.tar.bz2) </em></strong>so you can simply install it with the following command.</li>
</ul>
<p>#<strong><em>tar -xvjf skype_static-.tar.bz2</em></strong></p>
<ul>
<li>This will install the software and a directory will be created at the Desktop (<strong><em>skype_static-…..). </em></strong>You need to change your directory to the newly created once</li>
</ul>
<p># cd <strong><em>skype_static-……</em></strong></p>
<ul>
<li>Now you can run the skype by following command.</li>
</ul>
<p><strong><em># ./skype</em></strong></p>
<p>It will show you the license agreement of the skype. Once you accept the license it will take you to the login screen as shown below<strong><em> </em></strong></p>
<p><strong><em><a href="http://technofunction.com/wp-content/uploads/2010/11/skype_login_linux.png"></a><a href="http://technofunction.com/wp-content/uploads/2010/11/skype_login_linux.png"><img class="aligncenter size-full wp-image-382" title="skype_login_linux" src="http://technofunction.com/wp-content/uploads/2010/11/skype_login_linux.png" alt="" width="266" height="513" /></a></em></strong>Here you need to enter your <strong>skype name</strong> and <strong>password</strong> to start using the skype.<strong><em><br />
</em></strong></p>
<ul>
<li>If you want to share the skype amongst all the user you need to share it under the /usr/share , /usr/bin  or you may provide it on the user’s desktops by moving skype to <strong><em>~/Desktop. </em></strong></li>
</ul>
<p><strong><em># </em>cp -rf  /root/Desktop/skype  /usr/share</strong></p>
<p><strong><em>#</em> cp -rf  /root/Desktop/skype  /usr/bin</strong></p>
<p><strong><br />
</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.technofunction.com/2010/11/installing-and-configuring-skype-on-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>All About View in Oracle SQL Database</title>
		<link>http://www.technofunction.com/2010/11/all-about-view-in-oracle-sql-database/</link>
		<comments>http://www.technofunction.com/2010/11/all-about-view-in-oracle-sql-database/#comments</comments>
		<pubDate>Sat, 06 Nov 2010 05:01:10 +0000</pubDate>
		<dc:creator>Ankit</dc:creator>
				<category><![CDATA[Structured Query Language(SQL)]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://www.technofunction.com/?p=371</guid>
		<description><![CDATA[What is a View in Oracle SQL Database? A view is a logical table based on table or another view which is used to present the combinations of data present in the database. A view as itself doesn’t contain any data but it is more like a window through which the data from the tables [...]]]></description>
			<content:encoded><![CDATA[<h1><strong>What is a View in Oracle SQL Database?</strong></h1>
<p>A view is a logical table based on table or another view which is used to present the combinations of data present in the database. A view as itself doesn’t contain any data but it is more like a window through which the data from the tables can be viewed or changed. The table on which view is based is known as the base table and view is stored as a select statement in the data dictionary.</p>
<h1><strong>Advantages of Creating a View:-</strong></h1>
<ul>
<li>It restricts the data access to predefined tables and columns so that a database user can see only information relevant for him.</li>
</ul>
<ul>
<li> It makes the complex queries easy.</li>
</ul>
<ul>
<li> Provides the data independence.</li>
</ul>
<ul>
<li> Can be used to present the different views of the same data.</li>
</ul>
<h1><strong>There are majorly two types of views:-</strong></h1>
<p>1.    <em>Simple Views</em></p>
<p>2.    <em>Complex Views</em></p>
<p>The major difference b/w the two lies in the DML operations.</p>
<p><span id="more-371"></span></p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="319" valign="top"><strong><span style="text-decoration: underline;">Simple View</span></strong></td>
<td width="319" valign="top"><span style="text-decoration: underline;">Complex View</span></td>
</tr>
<tr>
<td width="319" valign="top">Derives the data from only one table.</td>
<td width="319" valign="top">Derives the data from many tables.</td>
</tr>
<tr>
<td width="319" valign="top">Contains no functions or group of data</td>
<td width="319" valign="top">Contains functions or group of data</td>
</tr>
<tr>
<td width="319" valign="top">Can perform the DML operations through the view.</td>
<td width="319" valign="top">Does not always allow the DMLoperations through the view.</td>
</tr>
</tbody>
</table>
<p><strong>Syntax for creating a view:-</strong></p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="638" valign="top">CREATE [ OR REPLACE]   [FORCE|NOFORCE] VIEW view</p>
<p>[(alias[, alias]&#8230;)]</p>
<p>As subquery</p>
<p>[WITH CHECK OPTION [CONSTRAINT   constraint ] ]</p>
<p>[WITH READ ONLY [CONSTRAINT constraint ] ]</td>
</tr>
</tbody>
</table>
<ul>
<li>Force creates the view regardless of whether the base table exists or not.</li>
</ul>
<ul>
<li> OR REPLACE re-creates the view if already exists.</li>
</ul>
<ul>
<li>NOFORCE creates the view only if the base table exist this is by default.</li>
</ul>
<ul>
<li>WITH CHECK OPTION specifies that only rows accessible to the view can be inserted or updated.</li>
</ul>
<ul>
<li>WITH READ ONLY ensures that no DML operations can be performed on this view.</li>
</ul>
<h1><strong>Example:-</strong></h1>
<ul>
<li>Creating a view of employees in department 80</li>
</ul>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="638" valign="top">CREATE VIEW   emp80</p>
<p>AS SELECT   employee_id, last_name, salary</p>
<p>FROM   employees</p>
<p>WHERE department_id = 80;</td>
</tr>
</tbody>
</table>
<ul>
<li>You can add a column alias in the subquery.</li>
</ul>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="638" valign="top">CREATE VIEW   sal80</p>
<p>AS SELECT   employee_id ID_NUMBER, last_name NAME, salary*12 ANN_SALARY</p>
<p>FROM   employees</p>
<p>WHERE department_id = 80;</td>
</tr>
</tbody>
</table>
<h1><strong>RETRIEVING DATA FROM A VIEW:-</strong></h1>
<ul>
<li>It is same as retrieving a data from a table</li>
</ul>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="638" valign="top">
<ul>
<li>SELECT *</li>
<li>FROM sal80;</li>
</ul>
</td>
</tr>
</tbody>
</table>
<p>You can also refer to <em>USER_VIEWS</em> to see the name and definition of a view.</p>
<h1><strong>MODIFYING A VIEW:-</strong></h1>
<p>You can modify a view via CREATE OR REPLACE VIEW clause.</p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="638" valign="top">
<ul>
<li>CREATE OR   REPLACE VIEW emp80(id_number, name, sal, department_id)</li>
<li>AS SELECT   employee_id, first_name || ‘ ‘ || last_name, salary , department_id</li>
<li>FROM   employees</li>
<li>WHERE department_id = 80;</li>
</ul>
</td>
</tr>
</tbody>
</table>
<h1><strong>RULES FOR PERFORMING DML OPERATIONS ON A VIEW:-</strong></h1>
<p>Data may not be added through a view if the view includes:</p>
<ul>
<li>Group functions</li>
</ul>
<ul>
<li>A GROUP BY clause.</li>
</ul>
<ul>
<li> The DISTINCT keyword</li>
</ul>
<ul>
<li>The pseudocolumn ROWNUM keyword</li>
</ul>
<ul>
<li> Columns defined by expressions.</li>
</ul>
<ul>
<li>NOT NULL columns in the base tables that are not selected by the view.</li>
</ul>
<h1><strong>REMOVING A VIEW:-</strong></h1>
<p>You can remove a view without the loss of data because view is based on underlying tables in the database which is not removed by removing a view</p>
<ul>
<li>DROP VIEW view;</li>
</ul>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="638" valign="top">DROP VIEW emp80;</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.technofunction.com/2010/11/all-about-view-in-oracle-sql-database/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Linux Shell Script to Determine whether a file exist or not</title>
		<link>http://www.technofunction.com/2010/11/shell-script-to-determine-whether-a-file-exist-or-not/</link>
		<comments>http://www.technofunction.com/2010/11/shell-script-to-determine-whether-a-file-exist-or-not/#comments</comments>
		<pubDate>Thu, 04 Nov 2010 02:23:10 +0000</pubDate>
		<dc:creator>Ankit</dc:creator>
				<category><![CDATA[Shell script in Linux]]></category>
		<category><![CDATA[shell script]]></category>

		<guid isPermaLink="false">http://www.technofunction.com/?p=367</guid>
		<description><![CDATA[Shell script is a series of command’s written in a plain text file. It is somewhat similar to the batch-file in MS-DOS but have much more power and functionality than MS-DOS batch file. The major advantage is that you don’t need to write the same set of instructions again, since you can execute it via [...]]]></description>
			<content:encoded><![CDATA[<p>Shell script is a series of command’s written in a plain text file. It is somewhat similar to the batch-file in MS-DOS but have much more power and functionality than MS-DOS batch file. The major advantage is that you don’t need to write the same set of instructions again, since you can execute it via your script file.  It is majorly used to automate the tasks of day to day life and moreover can be used to automate the system administration part.</p>
<p>Below is an example of a script file by which you can determine whether a file exists or not. This script is used to tell you only whether file exists or not, but not its location as to where it is located. For that you can use <strong>FIND OR LOCATE command</strong>. We have created a file named existence-of-file.sh you may create a file with some other name. But it is convenient to save the file with ( .sh ) extension so that at later point of time you can recognize that it is a script file. Also in below code whatever is in front of # is a comment.</p>
<p><span id="more-367"></span></p>
<ul>
<li># vi existence-of-file.sh  &lt;filename.sh&gt;</li>
</ul>
<p><strong>#</strong></p>
<p><strong># Determining whether a file exist or not, filename is supplied as an command line argument</strong></p>
<p><strong>#</strong></p>
<p><strong> </strong></p>
<p><strong>if [ $# -ne 1 ]</strong></p>
<p><strong>then</strong></p>
<p><strong>echo &#8220;Usage &#8211; $0  file-name&#8221;</strong></p>
<p><strong>exit 1</strong></p>
<p><strong>fi</strong></p>
<p><strong> </strong></p>
<p><strong>if [ -f $1 ]</strong></p>
<p><strong>then</strong></p>
<p><strong>echo &#8220;$1 file exist&#8221;</strong></p>
<p><strong>else</strong></p>
<p><strong>echo &#8220;Sorry, $1 file does not exist&#8221;</strong></p>
<p><strong>fi</strong></p>
<p><strong>#</strong></p>
<p>Save and exit from vi ( wq! )</p>
<ul>
<li>next you need to make this script file executable which can  be done by following command</li>
</ul>
<p># chmod +x existence-of-file.sh</p>
<p># chmod 755 existence-of-file.sh</p>
<ul>
<li>Now everytime you execute this script provide the filename and in the next line it will determine whether a file exist or not.</li>
</ul>
<p># ./ existence-of-file.sh &lt;filename&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.technofunction.com/2010/11/shell-script-to-determine-whether-a-file-exist-or-not/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing/Configuring Mozilla Thunderbird In Linux</title>
		<link>http://www.technofunction.com/2010/11/installingconfiguring-mozilla-thunderbird-in-linux/</link>
		<comments>http://www.technofunction.com/2010/11/installingconfiguring-mozilla-thunderbird-in-linux/#comments</comments>
		<pubDate>Tue, 02 Nov 2010 17:40:34 +0000</pubDate>
		<dc:creator>Ankit</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[Linux Softwares]]></category>

		<guid isPermaLink="false">http://www.technofunction.com/?p=359</guid>
		<description><![CDATA[Mozilla thunderbird is the one of the most famous free open source, cross-platform e-mail and news client developed by the Mozilla foundation.  You can easily receive mail from different mail providers on your desktop and can even store these mails on your local desktop alone. Further you can also remain updated with latest new around [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://technofunction.com/wp-content/uploads/2010/11/Thunderbird-3.1.2.jpg"><img class="alignleft size-full wp-image-360" title="Thunderbird-3.1.2" src="http://technofunction.com/wp-content/uploads/2010/11/Thunderbird-3.1.2.jpg" alt="" width="212" height="230" /></a></p>
<p>Mozilla thunderbird is the one of the most famous free <strong>open source, cross-platform e-mail and news client</strong> developed by the Mozilla foundation.  You can easily receive mail from different mail providers on your desktop and can even store these mails on your local desktop alone. Further you can also remain updated with latest new around the globe or locally by using it. Mozilla thunderbird is just like <em>Microsoft outlook express</em> with only difference is that it supports both <strong>IMAP and POP3</strong>.  And also unlike outlook express it is open source and can be used equally well on various platforms including Linux. You can simply install thunderbird on Linux by downloading its package from the Mozilla’s site.</p>
<p>Here is a link to Mozilla thunderbird package</p>
<p><strong>http://www.mozillamessaging.com/en-US/thunderbird/</strong></p>
<p><span style="text-decoration: underline;"><strong><br />
</strong></span></p>
<h2><span style="text-decoration: underline;">After downloading the package just follow the steps to install and configure an email client</span></h2>
<ul>
<li>Navigate to the directory were you have downloaded the package (<strong>thunderbird-3.1.6.tar.bz2</strong>). In our case it is on the Desktop</li>
</ul>
<p><strong># cd /root/Desktop</strong></p>
<p><strong>#ls</strong></p>
<p><strong><span id="more-359"></span><br />
</strong></p>
<p>Look out for <strong>“thunderbird-3.1.6.tar.bz2”</strong></p>
<ul>
<li>Next you need to install the package. For this you can use the following command</li>
</ul>
<p><strong># tar –xvf thunderbird-3.1.6.tar.bz2    (where x=extract, v=verbose, f=from and next to it is archive file)</strong></p>
<ul>
<li>This will extract the archive file and create a folder named <strong>“thunderbird”.</strong> You need to navigate to that folder</li>
</ul>
<p><strong># cd thunderbird</strong></p>
<ul>
<li>This folder contains all the files needed for thunderbird. You can run the thunderbird from here by using</li>
</ul>
<p><strong># ./thunderbird</strong></p>
<ul>
<li>This will open the Thunderbird initial screen for you .</li>
</ul>
<p><strong><a href="http://technofunction.com/wp-content/uploads/2010/11/mail1.png"><img class="alignleft size-full wp-image-361" title="mail1" src="http://technofunction.com/wp-content/uploads/2010/11/mail1.png" alt="" width="771" height="667" /></a><br />
</strong></p>
<p>Here you need to enter your <strong>name, email address and password.</strong></p>
<ul>
<li>Next it will ask you to use <strong>IMAP or POP3 protocol</strong>. The major difference is that by using IMAP you have your mails on server also which you can access later for some other place also while pop3 downloads the actual message to your local PC. For most of the users default setting will work.</li>
</ul>
<p><a href="http://technofunction.com/wp-content/uploads/2010/11/mail3.png"><img class="alignleft size-full wp-image-362" title="mail3" src="http://technofunction.com/wp-content/uploads/2010/11/mail3.png" alt="" width="802" height="626" /></a></p>
<p>Just make sure IMAP is selected</p>
<ul>
<li>Next click on the <strong>create account</strong>. If you have entered the <strong>correct email and password</strong> it will download the mails for you.</li>
</ul>
<ul>
<li>If you need to <strong>edit/change</strong> any information to your account on thunderbird you can do it via going to <strong>&#8211;</strong><strong>à</strong><strong>edit tab&#8212;</strong><strong>à</strong><strong>account settings</strong>. Here it stores the information about all your accounts including SMTP (simple mail transfer protocol) which you need to provide in case you using e-mail other than Gmail.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.technofunction.com/2010/11/installingconfiguring-mozilla-thunderbird-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

