Here is what world searched on Google in 2014.
Wish you a very Happy and prosperous New Year 2015 !!
Now longest Day in Year, 21st June, is also the International Day of Yoga. UN declared 21st June as International Day of Yoga!
Yoga, a 5,000-year-old physical, mental and spiritual practice having its origin in India, aims to transform body and mind.
“The practice of yoga adds dynamism to life.
Yoga harmonises the body, the breath and the mind.” – Sri Sri Ravi Shankar
Below is the talk by Sri Sri on World Yoga Day
Experience the timeless and priceless technique of yoga to keep your mind, body and soul healthy.
I had installed Oracle 12c database on Oracle Enterprise Linux 7 yesterday. I am sharing my steps which I had taken for installation. Hope you find this helpful.
Step 1: Download the OEL7 ISO for 64 bit from Oracle Edelivery (V46135-01.iso and V46138-01.iso)
Step 2: Open Virtual Box and Create New Virtual Machine choosing the OS option as Other Linux -> Oracle 64-bit.
Step 3: Point the CD/DVD to the ISO image downloaded from Edelivery site
Step 4: Change the boot sequence to CD/DVD, Hard Disk
Step 5: Create a shared folder with auto mount and read only option and point it to the setup location on the host machine.
Step 6: Start the Virtual Machine and follow the steps.
Step 7: Install Additional Guest Image – This will enable to access the shared folder on host machine.
Step 8: Install the RPM mentioned in the appendix section of this article.
Step 9: Copy the Oracle 12c database setup from the shared folder on host to the /u01 directory.
Step 10: Refer my previous blog post on installation steps here.
Some Points to remember:
1. Installation Guide by Tim Hall is available here – This contains tips to troubleshoot certain installation errors.
2. Useful article on OTN can be found here.
3. Installation Guide at Oracle Docs which I found useful is here
Download the rpm for oracle-rdbms-server-12cR1-preinstall-1.0-1.el7.x86_64.rpm from here
Download adobe flash player for Firefox browser, this will be required for the Oracle EM Database Express 12c. (flash-plugin-126.96.36.1991-release.x86_64.rpm)
I had the honour of representing Sri Sri University, Cuttack in the recently concluded sports meet (Ignitrix 2K14) hosted by ABIT College, CDA, Cuttack (15th-17th Sep 2014).
I am delighted to share with you all that I was runners-up in the chess, the competition, which was primarily dominated by Sri Sri University. All top four positions in chess competition were taken by Sri Sri University.
Sri Sri University were runners-up in badminton mixed doubles and winner in girls singles badminton. Below is the snap of the winners from the sports meet.
Left to Right: Vijay (Runners-up Chess), Khyati (Winner Girls Singles Badminton), Neetika (Winner Chess), Akshay and Hansa (Runners-up Mixed Doubles Badminton)
Today I am sharing few movies and documentaries on Finance. The videos are mostly relevant to the financial crisis of 2008.
1. Wall Street (1987):
3. Margin Call (2011)
This is one of my favorite movie, it focuses on the days just before the 2008 financial crisis and how the events unfolded which led to the markets to crash.
1. Enron: The Smartest guys in the Room (2005)
2. The Ascent of Money (2008)
This is a very good documentary, which was telecasted on BBC. The documentary shows the evolution of money from beginning till the financial crisis of 2008.
4. Inside Job (2010)
This is again a documentary on the financial crisis of 2008 which analyses the cause and effect of the crisis.
Hope you enjoy the movies and documentaries. Feel free to add more to this list by commenting on this post.
11th July 2014 and 12th July 2014
This was the title of “Rail Bandhu” – The on-board magazine from Indian Railways, on my maiden train journey from New Delhi to Cuttack, Odisha.
In the first half of my journey the adage “Do not judge the book by its cover” felt so true. I did not bother to open the book.
In the second half of the my journey, when the train entered Odisha state. I was awestruck to notice the two extremes of the weather which existed in India. Such is the vastness of India.
I started my journey from a place where people were praying to Lord Indra to show some mercy and my journey ended where monsoon was at its full glory. It appeared that Lord Indra (The Rain God) showed special interest in this part of the world :). There was relentless rainfall occasionally accompanied by thunderstorm and lightening. I had to pray for the rain to stop so that I can carry my luggage comfortable to my to-be home for the next two years. I was on my way to Sri Sri University, Cuttack, Odisha for admission to two years full-time MBA program in General Management.
Finally, I decided to turn the pages of the on-board magazine titled – “Chasing the Monsoon”. It showed glimpses of the natures beauty during the Monsoon in different parts of India. It also showcased the new SMS alert system introduced/proposed by the Indian Railways in Railway budget 2014. This will keep the Indian Railway passengers updated about the ticket status, arrival time and departure time of trains on/from platform.
Below are some snaps I captured on my way from Cuttack station to the University Campus.
At the end of my journey, I concluded that Lord Indra is a smart manager who always keeps himself in demand.
I take this opportunity to wish all my readers a very Happy Holi. I wish that this holi brings all the happiness and joy in your life and your soul is painted with all the beautiful colors.
For those readers who are interested in knowing about Holi here is link to my post from last year.
Comments are text embedded within SQL statements and PL/SQL code which describes the purpose of the code. Comments improve the readability, usability and maintenance of the code. Proper comment and formatting can save lot of hours of unproductive work for developers and teams.
Oracle developers can use two types of comments – In Line and Multiline. Both Inline and Multiline comments can be used in SQL statements and PL/SQL.
In-Line comments starts with — (two hyphens) and is only limited to one line.
Multiline comments start with /* and ends with */ and spans multiple lines.
Oracle uses following comment styles for its standard scripts (scripts under – $oracle_home/rdbms/admin directory) which are shipped with oracle database.
-- -- Copyright (c) Oracle Corporation 1988, 1999. All Rights Reserved. -- -- NAME -- demobld.sql -- -- DESCRIPTION -- This script creates the SQL*Plus demonstration tables in the -- current schema. It should be STARTed by each user wishing to -- access the tables. To remove the tables use the demodrop.sql -- script. -- -- USAGE -- SQL> START demobld.sql -- --
In many oracle shipped sql scripts you will see REM commands (REMARK command). This can also be used to enhance the readability and maintenance of the sql scripts. A sample snippet from the mksample.sql is shown below:
Rem Rem $Header: mksample.sql.sbs 02-apr-2003.14:55:17 $ Rem Rem mksample.sql Rem Rem Copyright (c) 2001, 2003, Oracle Corporation. All rights reserved. Rem Rem NAME Rem mksample.sql - creates all 5 Sample Schemas Rem Rem DESCRIPTION Rem This script rees and creates all Schemas belonging Rem to the Oracle Database 10g Sample Schemas. Rem If you are unsure about the prerequisites for the Sample Schemas, Rem please use the Database Configuration Assistant DBCA to Rem configure the Sample Schemas. Rem Rem NOTES Rem - OUI instantiates this script during install and saves it Rem as mksample.sql. The instantiated scripts matches Rem the directory structure on your system Rem - Tablespace EXAMPLE created with: Rem CREATE TABLESPACE example Rem NOLOGGING Rem DATAFILE '<filename>' SIZE 150M REUSE Rem AUTOEXTEND ON NEXT 640k Rem MAXSIZE UNLIMITED Rem EXTENT MANAGEMENT LOCAL Rem SEGMENT SPACE MANAGEMENT AUTO;
In my PL/SQL programs I use multi-line comment style like below:
/************************************************************************ ** Purpose: Script to demonstrate the top 10 features in Oracle 12c for developers ** Date: 1st Feb 2014, Saturday ** Author: Vijay Mahawar ** Website: http://www.mahawar.net/blog ** Version: 1.0 *************************************************************************/
Oracle allows to store comments even for schema objects like table and views and on columns of table, views and materialized views. These comments provide useful information about the table and columns to other developers.
To insert an explanatory remark on the
notes column of the EMP table, you might issue the following statement:
COMMENT ON COLUMN EMP.EMPNO IS 'Employee Number assigned to Employees';
The comments defined in this way are stored in data dictionary views.
Object comments are stored in USER_TAB_COMMENTS
Column comments are stored in USER_COL_COMMENTS
To drop this comment from the database, issue the following statement:
COMMENT ON COLUMN EMP.EMPNO IS '';
Note: Few minutes spent on proper comments can save hours of efforts in code maintenance and debug.
There has been paradigm shift in the technological and scientific innovations that are happening around us. From First generation Vaccum Tubes to Latest generation of Nanotechnology, From Machine Language to High Level Programming Language, Technological innovation has made the computing devices – cheaper, faster, smaller.
The communication between the devices has seen a phenomenal growth. The volume of data produced by all this is rising exponentially. Today technology touches human lives more than ever before.
With all the technological and scientific progress happening around us we have kept our rich cultural heritage and values intact. We as humans are evolving so is the Oracle Database Product.
Over the years there have been several Oracle Database releases and version upgrades. What has remained mostly same are the best practices.
Here is the list of best practices which you can expect in my next few blog posts.
SQL and PL/SQL:
In my next few blog posts, I shall showcase some of the best practices both for Developers and DBAs with the help of demo scripts.
This list is not complete and is ever evolving. It is outcome of my years of association with Oracle technology and the learnings I had taken from Oracle pundits. Its kind of survival kit for both Developers and DBAs.
After a long break and holiday season, today I tried my hands on some new features in Oracle 12c for developers.
There has been flood of articles, blog posts, seminars, webinars, conference presentations, videos on Oracle 12c since its launch, which is making wave in the cyber world. Over the years I have learnt to overcome this overwhelming phenomenon in my own way. The idea is to create my own list of favorite features in new release of Oracle Database and post it
But all that remained enigma until I tried some of the features today. I have narrowed down my list to 10 features for developers in Oracle 12c.
Did you know that Oracle release version number says a lot about the Oracle Database Product you are working on? There is a one article on understanding Oracle version numbers by Dan Hotka. In case you are interested you can access it on ToadWorld website here.
The presentation content for my Top 10 Features in Oracle 12c for Developers can be found here.
I would like to end this post by sharing a wonderful interactive guide on Oracle 12c. The interactive guide is available on Oracle website here.
Hope you find the content useful and it gives you head start to latest release of Oracle 12c.