Saturday, October 15, 2011

Ousting Differences

God is the Father of all species and forms of life. Besides that, we take this body as a dress. For example, your white shirt is not you. You are different from the white shirt. Similarly, one may have a body, white or black, but he, as spirit soul, is different from the body. Now, we are taking account of the person who is possessing the dress—not the dress but the person. I am talking with you; I am not talking with your shirt. I don’t look to see whether you have put on a white shirt or black shirt. That is not my concern. I am concerned with you as a living being. This is our philosophy. We don’t take account of the outward shirt and coat. This body, this gross body, is just like a coat, and within this gross body there is a subtle body—mind, intelligence and ego. Within that subtle body, the spirit soul is there. And we are trying to deliver the spirit soul from these two kinds of entanglement, subtle and gross. That is our mission. National and religious movements are more or less on the basis of the outward dress. One is Christian because he is born of a Christian father. Is it not? One is American because he is born in the land of America. We say that we are neither Christian nor American, Hindu, Muslim or Indian. We are eternal servants of God. Try to understand this fact and mold your life in this way; then your life will be successful. This is our program. Simple.

A really educated man does not look over the fleshy tabernacle of a living being but he introspects the spirit within the body. A sane man does not see the dress of another man but he sees the man of whom dress is a covering only.
--

Wednesday, October 5, 2011

How to React to Criticism?

Do you make the most of criticism? Or do you overreact, missing out on any opportunity to benefit from the feedback?

There’s no question that, for most of us, receiving criticism is not easy. Even when it’s well-intentioned constructive feedback, listening to someone point out an error that you made or a flaw that you have can be very tough to take.

While learning how to accept criticism graciously, and even thankfully, may not be at the top of your list right now, learning how to deal with negative feedback could make a big difference in your ability to advance rapidly in your life.

Research in Expert Performance psychology reveals that top performers in every field learn to view criticism differently than the rest of us.

They see it as valuable feedback and as an opportunity to improve.

Rather than trying to avoid criticism, expert performers welcome it. They seek out coaches and advisors who can give them constructive, sometimes even painful feedback. They then use this feedback as a guide for steady improvement.

To become a top performer, you’ll need to open yourself up to feedback from those around you.
--

Put the glass down!


A professor began his class by holding up a glass with some water in it. He held it up for all to see and asked the students,' How much do you think this glass weighs?'

'50gms!'.... '100gms!'.....'125gms'...the students answered.

What would happen if I held it up like this for a few minutes?

'Nothing' the students said.

'Ok what would happen if I held it up like this for an hour?' the professor asked.

'Your arm would begin to ache' said one of the students.

You're right, now what would happen if I held it for a day?'

'Your arm could go numb, you might have severe muscle stress and paralysis and have to go to hospital for sure!' ventured another student and all the students laughed.

'Very good. But during all this, did the weight of the glass change?’ asked the professor.

'No'

'Then what caused the arm ache and the muscle stress?'

'Put the glass down!' said one of the students.

'Exactly!' said the professor.' Life's problems are something like this.Hold it for a few minutes in your head and they seem OK. Think of them for a long time & they begin to ache. Hold it even longer and they begin to paralyze you.'

It's important to think of the challenges (problems) in your life, but EVEN more important to 'put them down' at the end of every day before you go to sleep. That way, you are not stressed, you wake up every day fresh and strong & can handle any issue, any challenge that comes your way!

So, when you leave office today, remember to 'PUT THE GLASS DOWN TODAY!'

Tuesday, October 4, 2011

"People you associate with will infect your thinking"

People you associate with will infect your thinking

Once, there was a pristine green field that was alive and lush, amidst the extraordinary bloom of springtime. Next to it happened to sit another field. This one was full of weeds, dirt and rough edged stones. This field was a testament to mediocrity and an acute lack of care.

Through the operation of nature's laws, the seeds of the weeds from the mediocre field were slowly blown over to the lush field. And so, day by day, the once stunningly beautiful one - with once awesome potential - succumbed to the influence of its low-grade next door neighbor.

Before the season was through, there sat two fields. Both completely overcome by weeds.

Important lesson:

Your influences and environments matter. The content of what you read/watch/listen will affect your thinking, feeling and willing. The people you associate with will infect your thinking.

John F Kennedy said, “You are the same today as you will be in five years except for two things, the people you associate with and the books you read.”

Saturday, June 11, 2011

A little tune can make difference

Most people are stuck right where they are. The reason they’re stuck, however, isn’t usually due to circumstances, incompetence, or lack of opportunity, but a simple unwillingness to change, to try new things.

We can make smaller, inner changes on a day-to-day, moment to moment basis – changes in our attitude, reactions, and expectations. I’m talking about being willing to take new risks, and face old fears.

Over and over again I hear people saying things like “I’ve always done things that way” or “That’s just the type of person I am.” These things are said as if they are carved in stone. It is amazing what you can learn by simply opening your mind and trying new things.

Starting today, tell yourself that you are going to do something, however small, a little differently. Perhaps you can be more friendly to the people you work with. Maybe it’s not too late to overcome your fear of asking others to help you, or for their advice whoever you are, whatever you do, there is always something you can do a little differently.

You may find that you love the tiny changes you make and that you can open exciting new doors by making relatively small adjustments. If you’re okay with the changes, you might want to try some other changes as well.

The Painting on the wall

There was a king who was a great admirer of art. One day an artist came and said to the king, “Oh King! Give me a blank wall in your palace and let me paint a picture on it.”

The artist was given the job. Just then, another young man said, “Oh King! Please allow me to work on the opposite wall. I too am an artist.” The king said, “What would you like to make?” The man said, “My Lord, I shall make exactly what that man will make on the opposite wall. Moreover, I shall do so, without looking at his work. I would even request you to have a thick curtain put up between the two walls so that either of us cannot see the other.”

Everyone in the king’s court, including the king was intrigued. He decided to give the young fellow a chance. The following day a thick curtain was put into place and both the artists got to work. The first artist brought in a regular supply of paint, oil, water etc. The second one worked with some cloth and a bucket of water. After a month the first artist told the king that his work was complete. The king sent for the second artist and asked him, “Young man, when would your work be ready? I am coming to see the first wall this evening.” The man said, “My Lord, my wall is ready too!”

The king went to see the first artist’s wall. He was very, very impressed with the painting and gave a hefty sum as a reward to the artist. He then asked for the curtain to be opened up. Lo and behold! The same painting was to be seen on the opposite wall too! Amazing! But true! Each line, each minor detail was exactly as it was on the first wall. But this man had not been seeing what was going on, on the other side of the curtain. So how had he done it?
The king wanted to know the secret. He gave a double reward to the fellow. Then he said, “Young man, I am indeed very happy with your work. But you must tell me; how did you do it?”
The lad said simply, “It’s very easy! I just polished the wall every day till it shone like a mirror!” It was a wall made of white marble! The reflection of the painting across the room, showed up in it!

That is what it means to polish yourself. World is a reflection of you. Whatever you are, the world will seem to be that too. If you are happy, the world will look to be happy. If you are sad; jealous; angry; restless... that is what the world will seem to be to you!

Sunday, April 3, 2011

What is "Clustered index" and "Non-clustered index" in Sql Server 2005 !!

SQL Server 2005 supports two types of indexes:
********************************************
clustered index and non-clustered index.
********************************************
Here are the main differences between them:

* One table can only have only one clustered index.
* One table can only have many non-clustered index.
* A clustered index requires no separate storage than the table storage.
It forces the rows to be stored sorted on the index key.
* A non-clustered index requires separate storage than the
table storage to store the index information.
* A table with a clustered index is called clustered table.
Its rows are stored in a B-Tree structure sorted.
* A table without any clustered indexes is called non-clustered table.
Its rows are stored in heap structure unsorted.
* The default index created as part of the primary key column is a clustered index.

Wednesday, February 16, 2011

Your self-defeating beliefs_underway

All of us have beliefs that get in our way. For me, it was my belief that “I didn’t have enough time.” Day after day, for most of my adult life, I would remind myself of this limiting concept. Sometimes I would tell myself this many times in a single day.

What possible value could there be in telling yourself this – or any self-created negative belief? Consider the subtle message that go along with this idea. After all, if I believe that “I don’t have enough time,” I must also believe that “I’ll never get something done on time,” as well as other related, limiting ideas that directly interfere with my success and quality of life. Does this belief help me get things done? Of course not! Does it bring me joy? No. Any effect this belief has is strictly negative.

What’s your most self-defeating belief? Is it that you believe you aren’t good enough? Maybe you believe you don’t deserve success. Perhaps you believe that people are out to get you, or that you are a victim of circumstance. Whatever it is, it’s not worth keeping and certainly not worth defending. But each time you remind yourself – by telling yourself – of your limiting belief, you are reinforcing an idea that directly interferes with your success. It puts a wall between where you are where you want to be.

Each time I slip into my old habit of telling myself that I don’t have enough time, I keep in mind the damage I am inflicting on myself. I remind myself that there is zero value in this, or any, self-defeating belief. You may be surprised, even shocked, at how often you repeat self-defeating statements to yourself and/or to others. The good news is that you’ll be pleasantly surprised at how easily you can rid yourself of their negative effects. Make a commitment to yourself to stop reinforcing this – and all – negative beliefs by discussing them, or even thinking about them. As familiar negatively comes to mind, gently dismiss it. Don’t give it your valuable attention. Save your energy for positive ideas and action.

***********************************************************************************************
===============================================================================================
***********************************************************************************************

Saturday, February 5, 2011

If you find yourself in a hole, stop digging

A great football coach once said,” Just because you’re doing something wrong, doing it more intensely won’t help.”

Yet, how often do we do just that? We are making a mistake, getting ourselves into trouble – and, instead of backing off, reflecting, and doing it differently, we roll up our sleeves and do the very same thing even more intensely!

The same pattern exists in many areas of our lives. Many people have a great deal of conflict to manage. Whenever a potential new conflict arises, or the environment or circumstances seem to be encouraging that development, instead of backing off and looking for new ways to defuse the situation, they charge straight ahead, as always – repeating their identical patterns and responses, taking the adversarial approach – and, once again, find themselves in the middle of another drama or conflict. Then, frustrated and stressed, they assume the world is to blame, or that they need to find more effective and more aggressive ways to deal with things. This is the essence of being in a vicious circle. The same essential problems come up over and over again, unless and until you see your own contribution – and vow to do something differently.

The solution is simple, but not always very easy. The trick is to recognize when your part of the pattern is being repeated; for example, “Here I am, arguing again,” or “I’m upset by the very same things – this sure feels familiar.” Then, rather than clenching your fists, feeling frustrated, filing your mind with stressful thoughts, and trying the same old thing, you instead relax, back off, and empty your mind. Soften and try to see the situation in a whole new way.

Ignorance is no excuse _ Mythological

At present everyone is suffering due to ignorance, just as one contracts a disease out of ignorance. If one does not know hygienic principles, he will not know what will contaminate him. Therefore due to ignorance there is infection, and we suffer from disease. A criminal may say, "I did not know the law," but he will not be excused if he commits a crime. Ignorance is no excuse. Similarly, a child, not knowing that fire will burn, will touch the fire. The fire does not think, "This is a child, and he does not know I will burn." No, there is no excuse. Just as there are state laws, there are also stringent laws of nature, and these laws will act despite our ignorance of them. If we do something wrong out of ignorance, we must suffer. This is the law. Whether the law is a state law or a law of nature, we risk suffering if we break it.

The guru's business is to see that no human being suffers in this material world. No one can claim that he is not suffering. That is not possible. In this material world, there are three kinds of suffering. These are miseries arising from the material body and mind, from other living entities, and from the forces of nature.

The guru sees that suffering is due to ignorance, which is compared to darkness. How can one in darkness be saved? By light. The guru takes the torchlight of knowledge and presents it before the living entity enveloped in darkness. That knowledge relieves him from the sufferings of the darkness of ignorance.

Sunday, January 30, 2011

Database Trigger : A way towards efficient Query Optimization

The need and the usage:

Triggers are commonly used to:
• prevent changes (e.g. prevent an invoice from being changed after it's been mailed out)
• log changes (e.g. keep a copy of the old data)
• audit changes (e.g. keep a log of the users and roles involved in changes)
• enhance changes (e.g. ensure that every change to a record is time-stamped by the server's clock, not the client's)
• enforce business rules (e.g. require that every invoice have at least one line item)
• execute business rules (e.g. notify a manager every time an employee's bank account number changes)
• replicate data (e.g. store a record of every change, to be shipped to another database later)
• enhance performance (e.g. update the account balance after every detail transaction, for faster queries)
Some systems also support non-data triggers, which fire in response to Data Definition Language (DDL) events such as creating tables, or runtime events such as logon, commit, and rollback, and may also be used for auditing purposes.
The major features of database triggers, and their effects, are:
• do not accept parameters or arguments (but may store affected-data in temporary tables)
• cannot perform commit or rollback operations because they are part of the triggering SQL statement (only through autonomous transactions)
• can cancel a requested operation
• can cause mutating table errors, if they are poorly written.

DML Triggers:

There are typically three triggering events that cause data triggers to 'fire':
• INSERT event (as a new record is being inserted into the database).
• UPDATE event (as a record is being changed).
• DELETE event (as a record is being deleted).
Structurally, triggers are either "row triggers" or "statement triggers". Row triggers define an action for every row of a table, while statement triggers occur only once per INSERT, UPDATE, or DELETE statement. DML triggers cannot be used to audit data retrieval via SELECT statements, because SELECT is not a triggering event.
Furthermore, there are "BEFORE triggers" and "AFTER triggers" which run in addition to any changes already being made to the database, and "INSTEAD OF trigger" which fully replace the database's normal activity.
Triggers do not accept parameters, but they do receive information in the form of implicit variables. For row-level triggers, these are generally OLD and NEW variables, each of which have fields corresponding to the columns of the affected table or view; for statement-level triggers, something like SQL Server's Inserted and Deleted tables may be provided so the trigger can see all the changes being made.
For data triggers, the general order of operations will be as follows:
1. a statement requests changes on a row: OLD represents the row as it was before the change (or is all-null for inserted rows), NEW represents the row after the changes (or is all-null for deleted rows)
2. each statement-level BEFORE trigger is fired
3. each row-level BEFORE trigger fires, and can modify NEW (but not OLD); each trigger can see NEW as modified by its predecessor, they are chained together
4. if an INSTEAD OF trigger is defined, it is run using OLD and NEW as available at this point
5. if no INSTEAD OF trigger is defined, the database modifies the row according to its normal logic; for updatable views, this may involve modifying one or more other tables to achieve the desired effect; if a view is not updatable, and no INSTEAD OF trigger is provided, an error is raised
6. each row-level AFTER trigger fires, and is given NEW and OLD, but its changes to NEW are either disallowed or disregarded
7. each statement-level AFTER trigger is fired
8. implied triggers are fired, such as referential actions in support of foreign key constraints: on-update or on-delete CASCADE, SET NULL, and SET DEFAULT rules
In ACID databases, an exception raised in a trigger will cause the entire stack of operations to be rolled back, including the original statement.
**************************************************

Triggers in Oracle:

Schema-level triggers
• After Creation
• Before Alter
• After Alter
• Before Drop
• After Drop
• Before Logoff
• After Logon
The two main types of triggers are:
1. Row Level Trigger
2. Statement Level Trigger
**************************************************

Triggers in Microsoft SQL Server:

DDL Triggers:
• Drop table
• Create table
• Alter table
• Login events
**************************************************

Triggers in Firebird:

• CONNECT (exceptions raised here prevent the connection from completing)
• DISCONNECT
• TRANSACTION START
• TRANSACTION COMMIT (exceptions raised here prevent the transaction from committing, or preparing if a two-phase commit is involved)
• TRANSACTION ROLLBACK
**************************************************

Triggers in MySQL:

• Insert Trigger
• Update Trigger
• Delete Trigger

***************************************************

If you have any suggestion plese make .... :)