Wedding In SQL

sunils

New Member
Messages
2,266
Reaction score
0
Points
0
Wedding Query........ (SQL Server Stored Procedure Style)

CREATE PROCEDURE
YourMarriage
@
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
orAbove' AND
HavingBrothers='NO'
AND
HavingSisters ='No'
AND
AllowRelocate ='YES'


SELECT Gold ,Cash,Car,BankBalan ce FROM
FatherInLaw

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

INSERT INTO MyCarShed
VALUES ('BMW') END
GO

.
.
.

.

.
.
.

.


Then the wife writes the below query:
DROP HUSBAND
Commit;


 

tittat

Active Member
Messages
2,478
Reaction score
1
Points
38
lol thats funny.
"DROP HUSBAND" is awesome hehe....
 
Top