{"id":347,"date":"2006-07-20T13:18:20","date_gmt":"2006-07-20T07:48:20","guid":{"rendered":"http:\/\/chiragmehta.info\/chirag\/2006\/07\/20\/marriage-invitationsql-server-stored-procedure-style\/"},"modified":"2006-07-20T13:18:20","modified_gmt":"2006-07-20T07:48:20","slug":"marriage-invitationsql-server-stored-procedure-style","status":"publish","type":"post","link":"https:\/\/www.chiragmehta.info\/chirag\/2006\/07\/20\/marriage-invitationsql-server-stored-procedure-style\/","title":{"rendered":"Marriage invitation&#8230;&#8230;..(SQL Server Stored Procedure Style)"},"content":{"rendered":"<p><strong>CREATE PROCEDURE MyMarriage<\/strong><br \/>\n@ BrideGroom Char(NotBad),<br \/>\n@Bride Char(Good)<br \/>\nAS <\/p>\n<p><strong>SELECT Bride <\/strong>FROM<br \/>\nDelhi Brides<br \/>\nWHERE<br \/>\n<strong>FatherInLaw = &#8216;Millionaire&#8217;<\/strong> AND<br \/>\nCarCount > 2 AND<br \/>\nHouseStatus =&#8217;TwoStoreyed&#8217; AND<br \/>\nBrideEduStatus=&#8217;PGorAbove&#8217;<br \/>\nHavingBrothers=&#8217;NO&#8217; AND<br \/>\nHavingSisters =&#8217;No&#8217; AND<br \/>\nAllowRelocate =&#8217;YES&#8217; AND <\/p>\n<p><strong>SELECT Gold ,Cash,Car,BankBalance <\/strong>FROM <strong>FatherInLaw <\/strong><\/p>\n<p><strong>UPDATE MyBankAccout<\/strong> SET MyBal = MyBal + <strong>FatherinLawBal <\/strong><br \/>\n<strong>UPDATE MyLocker<\/strong> SET MyLockerContents = MyLockerContents + <strong>FatherinLawGold <\/strong><\/p>\n<p><strong>INSERT INTO MyCarShed<\/strong> VALUES (&#8216;Ford&#8217;)   <\/p>\n","protected":false},"excerpt":{"rendered":"<p>CREATE PROCEDURE MyMarriage @ BrideGroom Char(NotBad), @Bride Char(Good) AS SELECT Bride FROM Delhi Brides WHERE FatherInLaw = &#8216;Millionaire&#8217; AND CarCount > 2 AND HouseStatus =&#8217;TwoStoreyed&#8217; AND BrideEduStatus=&#8217;PGorAbove&#8217; HavingBrothers=&#8217;NO&#8217; AND HavingSisters =&#8217;No&#8217; AND AllowRelocate =&#8217;YES&#8217; AND SELECT Gold ,Cash,Car,BankBalance FROM FatherInLaw UPDATE MyBankAccout SET MyBal = MyBal + FatherinLawBal UPDATE MyLocker SET MyLockerContents = MyLockerContents + [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[166,4],"class_list":["post-347","post","type-post","status-publish","format-standard","hentry","category-forwards","tag-forwards","tag-fun","post-preview"],"_links":{"self":[{"href":"https:\/\/www.chiragmehta.info\/chirag\/wp-json\/wp\/v2\/posts\/347","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.chiragmehta.info\/chirag\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.chiragmehta.info\/chirag\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.chiragmehta.info\/chirag\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.chiragmehta.info\/chirag\/wp-json\/wp\/v2\/comments?post=347"}],"version-history":[{"count":0,"href":"https:\/\/www.chiragmehta.info\/chirag\/wp-json\/wp\/v2\/posts\/347\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.chiragmehta.info\/chirag\/wp-json\/wp\/v2\/media?parent=347"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chiragmehta.info\/chirag\/wp-json\/wp\/v2\/categories?post=347"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chiragmehta.info\/chirag\/wp-json\/wp\/v2\/tags?post=347"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}