Juat for Laughs :) :) :) Marriage invitation in SQL Server Stored Procedure Style  

Posted by Sandesh Segu

Twit This! Share this in Google Reader Share/Save/Bookmark Subscribe

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

SELECT Bride FROM
BridesList
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 ('Ford')

This entry was posted on Monday, January 26, 2009 at Monday, January 26, 2009 . You can follow any responses to this entry through the comments feed .

1 comments

Hi Sandesh,
I am very much impressed with your blog.Cool design,nice features and you have great SQL knowledge.what more its rocking dude.Keep it up.I'll tell all my friends to visit your blog.

Regards
Harsha J

August 20, 2009 9:46 PM

Post a Comment

Place Your Ad Here

To Block this Place for your ad Contact Me @

Contact Me

Visitors