SQL Humour – Marriage invitation in SQL Server Stored Procedure Style

Marriage Invitation
CREATE PROCEDURE MyMarriage
@ BrideGroom Char(NotBad),
@Bride Char(Good)
AS

SELECT Bride FROM
AndhraBrides
WHERE
FatherInLaw = ‘Millionaire’ AND
CarCount > 2 AND
HouseStatus =’TwoStoreyed’ AND
BrideEduStatus=’PGorAbove’
HavingBrothers=’NO’ AND
HavingSisters =’No’ AND
AllowRelocate =’YES’ AND

SELECT Gold, Cash, Car, BankBalance FROM FatherInLaw

UPDATE MyBankAccout SET MyBal = MyBal + FatherinLawBal
UPDATE MyLocker SET MyLockerContents = MyLockerContents + FatherinLawGold

INSERT INTO MyCarShed VALUES (‘Ford’)

–Now its your wish to Commit or RollBack

 

Regards

Sarabpreet Anand

Like us on FaceBook Follow us on Twitter | Join the fastest growing SQL Server group on FaceBook

Follow me on Twitter  |  Follow me on FaceBook