SQL SERVER – SQL Joke, SQL Humor, SQL Laugh – SP

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)
AS
BEGIN
SELECT
Bride
FROM india_ Brides
WHERE
FatherInLaw = 'Millionaire'
AND
CarCount > 2
AND
HouseStatus ='TwoStoreyed'
AND
BrideEduStatus='PG or Above'
AND
HavingBrothers='NO'
AND
HavingSisters ='No'
AND
AllowRelocate ='YES'
SELECT Gold ,Cash,Car,BankBalance
FROM FatherInLaw
UPDATE MyBankAccout SET MyBal = MyBal + FatherinLawBal
UPDATE MyLocker SET MyLockerContents = MyLockerContents + FatherinLawGold
INSERT INTO MyCarShed
VALUES ('BMW')
END
GO

When the girl comes to know about the above code she writes the below given query:
DROP HIM

Reference : Pinal Dave (https://blog.sqlauthority.com) , Email received from friend

, ,
Previous Post
SQL SERVER – Download Feature Pack for Microsoft SQL Server 2005
Next Post
SQLAuthority News – Author Visit – Meeting with Readers – Top Three Features of SQL SERVER 2005

Related Posts

5 Comments. Leave new

Leave a Reply

Menu