One of my Friend send me(in email) following stored procedure. I laughed when I read it. Please enjoy it. It is here for amusement purpose only. Never use on development or production server. This is already dangerous you have been warned.
CREATE PROCEDURE MyMarriage
@ BrideGroom CHAR(NotBad),
@ Bride CHAR(Good)
FROM india_ Brides
FatherInLaw = 'Millionaire'
CarCount > 2
BrideEduStatus='PG or Above'
SELECT Gold ,Cash,Car,BankBalance
UPDATE MyBankAccout SET MyBal = MyBal + FatherinLawBal
UPDATE MyLocker SET MyLockerContents = MyLockerContents + FatherinLawGold
INSERT INTO MyCarShed
When the girl comes to know about the above code she writes the below given query:
Reference : Pinal Dave (http://blog.SQLAuthority.com) , Email received from friend