Thursday, January 19, 2006

Puneri Traffic

Pune traffic is the worst I have ever seen in India.

To teach them discipline here are some rules
Read the Marathi Article: " Marathi article ( No offence Punekar's ) "

Wednesday, January 18, 2006

SQL Server Transactions and Error Handling - The Code Project - Database

SQL Server Transactions and Error Handling - The Code Project - Database: "Transactions
Transactions group a set of tasks into a single execution unit. Each transaction begins with a specific task and ends when all the tasks in the group successfully complete. If any of the tasks fails, the transaction fails. Therefore, a transaction has only two results: success or failure. Incomplete steps result in the failure of the transaction.
Users can group two or more Transact-SQL statements into a single transaction using the following statements:

Begin Transaction
Rollback Transaction
Commit Transaction
If anything goes wrong with any of the grouped statements, all changes need to be aborted. The process of reversing changes is called rollback in SQL Server terminology. If everything is in order with all statements within a single transaction, all changes are recorded together in the database. In SQL Server terminology, we say that these changes are committed to the database."


A very nice Article on SQL Server Error Handeling & Transactions with handy examples

Friday, January 13, 2006

TIL GUL GHYA GOD GOD BOLA...!!!!

Wishing you all a very happy and prosparus MAKAR SANKRANTI !

Makar Sankranti marks the commencement of the sun's journey to the Northern Hemisphere

Makar Sankranti is perhaps the only Indian festival whose date always falls on the same day every year i.e. the 14th of January.



On this day women wear a special black saree called chandrakala which is embossed with crescent moons .There is scientific reason behind wearing black clothes as Black color absorbs maximum heat. .


Every region celebrates the festival in different way.

In Bengal, it is known as "GangaSagar Mela", on this day.

In Gujarat, the Kite Festival is celebrated as brightly colored kites dot the skies.

In Punjab, huge bonfires are lit on the eve of Sankranti and which is celebrated as "Lohri".

In Assam, the festival is celebrated as "Bhogali Bihu"

In South India, Sankrant is known by the name of "Pongal".

In Maharashtra, people exchange sweets called Tilache ladoo made from sesame seeds, sugar and jaggery and greet each other saying - " til-gul ghya, god god bola " meaning "accept these tilguls and speak sweet words".

Wednesday, January 04, 2006

Some unknown Laws

Variation Law:
If you change queues, the one you have left will start to move faster
than the one you are in now.

Law of the Telephone:
When you dial a wrong number, you never get an engaged one.

Law of Mechanical Repair:
After your hands become coated with grease, your nose will begin to
itch.

Law of the Workshop:
Any tool, when dropped, will roll to the least accessible corner.

Law of the Alibi:
If you tell the boss you were late for work because you had a flat
tyre,
the next morning you will have a flat tyre.

Bath THEOREM:
When the body is immersed in water, the telephone rings.

LAW OF CLOSE ENCOUNTERS:
The probability of meeting someone you know increases when you are with
someone you don't want to be seen with.

LAW of the RESULT:
When you try to prove to someone that a machine won't work, it will.

LAW OF BIOMECHANICS:
The severity of the itch is inversely proportional to the reach.

THEATRE RULE:
At any event, the people whose seats are furthest from the aisle arrive
last

LAW OF COFFEE:
As soon as you sit down to a cup of hot coffee, your boss will ask you
to do something which will last until the coffee is cold



Its Fun !!! isn't it ?

Monday, January 02, 2006

The World of DOS - Creating Batch Files

Batch Files
What are batch files? Batch files are not programs, pre se, they are lists of command line instructions that are batched together in one file. For the most part, you could manually type in the lines of a batch file and get the same results, but batch files make this work easy. Batch files do not contain "compiled" code like C++ so they can be opened, copied and edited. They are usually used for simple routines and low-level machine instruction, but they can be very powerful. If you look in your C:\, C:\WINDOWS, or C:\WINNT folder you will see a multitude of .BAT, .SYS, .CFG, .INF and other types. These are all kinds of batch files. This may shock you, but while most applications are writen in Basic or C++ they sit on a mountain of batch files. Batch files are the backbone of the Windows operating system, delete them and you've effectively disabled the OS. There is a reason for this. The system batch files on each computer are unique the that computer and change each time a program is loaded. The operating system must have access to these files and be able to add and delete instructions from them.


Nice Article .. Read on ..

Digg it !